Add VERSION to the CLI

This commit is contained in:
Daniel Molina committed 2012-11-14 12:05:13 +01:00
1 parent 61a445edb3
commit f8da968b42
5 files changed
+5 -1

No files matched your search

+1
View File
@@ -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
View File
@@ -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
+1
View File
@@ -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
+1
View File
@@ -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
+1
View File
@@ -97,6 +97,7 @@ COOKBOOKS={
cmd = CommandParser::CmdParser.new(ARGV) do
usage "`appstage` <command> [<args>] [<options>]"
version OneApps::VERSION_TEXT
set :option, CommandParser::VERSION