lib/invoker/parsers/option_parser.rb in invoker-1.0.0 vs lib/invoker/parsers/option_parser.rb in invoker-1.0.1

- old
+ new

@@ -30,9 +30,16 @@ run do |cmd_opts, cmd_args| selected_command = OpenStruct.new(:command => 'setup') end end + command 'uninstall' do + banner "Usage : invoker uninstall \n Removes firewall rules created by setup" + run do |cmd_opts, cmd_args| + selected_command = OpenStruct.new(:command => 'uninstall') + end + end + command 'list' do banner "Usage : invoker list\n List processes managed by invoker" run do |cmd_opts, cmd_args| selected_command = OpenStruct.new(:command => 'list') end