mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-21 04:12:37 +09:00
Add VERSION to the CLI
This commit is contained in:
1 parent
61a445edb3
commit
f8da968b42
5 files changed
+5
-1
No files matched your search
@@ -148,6 +148,7 @@ end
|
||||
|
||||
cmd=CommandParser::CmdParser.new(ARGV) do
|
||||
usage "`appflow-template` <command> [<args>] [<options>]"
|
||||
version OneApps::VERSION_TEXT
|
||||
|
||||
set :option, Service::DEFAULT_OPTIONS
|
||||
set :option, CommandParser::VERSION
|
||||
|
||||
+1
-1
@@ -36,7 +36,7 @@ DIRS="oneapps stage flow market"
|
||||
export DESTDIR=$PWD/tmp
|
||||
|
||||
if [ "$(id -u)" = "0" ]; then
|
||||
OWNER_FLAGS='-u dmolina -g dmolina'
|
||||
OWNER_FLAGS='-u oneadmin -g oneadmin'
|
||||
fi
|
||||
|
||||
rm -rf $DESTDIR
|
||||
|
||||
@@ -99,6 +99,7 @@ end
|
||||
|
||||
cmd=CommandParser::CmdParser.new(ARGV) do
|
||||
usage "`appmarket` <command> [<args>] [<options>]"
|
||||
version OneApps::VERSION_TEXT
|
||||
|
||||
set :option, DEFAULT_OPTIONS
|
||||
set :option, CommandParser::VERSION
|
||||
|
||||
@@ -95,6 +95,7 @@ end
|
||||
|
||||
cmd=CommandParser::CmdParser.new(ARGV) do
|
||||
usage "`appmarket-user` <command> [<args>] [<options>]"
|
||||
version OneApps::VERSION_TEXT
|
||||
|
||||
set :option, DEFAULT_OPTIONS
|
||||
set :option, CommandParser::VERSION
|
||||
|
||||
@@ -97,6 +97,7 @@ COOKBOOKS={
|
||||
|
||||
cmd = CommandParser::CmdParser.new(ARGV) do
|
||||
usage "`appstage` <command> [<args>] [<options>]"
|
||||
version OneApps::VERSION_TEXT
|
||||
|
||||
set :option, CommandParser::VERSION
|
||||
|
||||
|
||||
Reference in new issue
Block a user