lib/simple_deploy/cli.rb in simple_deploy-0.4.1 vs lib/simple_deploy/cli.rb in simple_deploy-0.4.2
- old
+ new
@@ -54,9 +54,11 @@
when 'update'
CLI::Update.new.update
when '-h'
puts "simple_deploy [attributes|create|destroy|environments|events|instances|list|template|outputs|parameters|resources|ssh|status|update] [options]"
puts "Append -h for help on specific subcommand."
+ when '-v'
+ puts SimpleDeploy::VERSION
else
puts "Unknown command: '#{cmd}'."
puts "simple_deploy [attributes|create|destroy|environments|events|instances|list|template|outputs|parameters|resources|ssh|status|update] [options]"
puts "Append -h for help on specific subcommand."
exit 1