lib/wombat/cli.rb in wombat-cli-0.4.0 vs lib/wombat/cli.rb in wombat-cli-0.4.1
- old
+ new
@@ -87,10 +87,19 @@
opts.banner = "Usage: #{NAME} delete STACK"
opts.on("-c CLOUD", "--cloud CLOUD", "Select cloud") do |opt|
options.cloud = opt
end
+
+ opts.on("--all", "Remove entire Resource Group which includes images (Azure Only)") do |opt|
+ options.remove_all = opt
+ end
+
+ opts.on("--async", "Delete resources asynchronously when not removing all, e.g. do not block command line. (Azure Only)") do |opt|
+ options.azure_async = opt
+ end
+
},
argv: stack_argv_proc
},
deploy: {
class: DeployRunner,
@@ -141,10 +150,14 @@
argv: templates_argv_proc
},
outputs: {
class: OutputRunner,
parser: OptionParser.new { |opts|
- opts.banner = "Usage: #{NAME} outputs [TEMPLATE ...]"
+ opts.banner = "Usage: #{NAME} outputs STACK"
+
+ opts.on("-c CLOUD", "--cloud CLOUD", "Select cloud") do |opt|
+ options.cloud = opt
+ end
},
argv: stack_argv_proc
},
latest: {
class: LatestRunner,