Class: Wakame::Cli::Subcommand::ShutdownCluster

Inherits:
Object
  • Object
show all
Includes:
Wakame::Cli::Subcommand
Defined in:
lib/wakame/runner/administrator_command.rb

Instance Method Summary collapse

Methods included from Wakame::Cli::Subcommand

#create_parser, included, #print_result

Instance Method Details

#parse(args) ⇒ Object



260
261
262
263
264
265
266
# File 'lib/wakame/runner/administrator_command.rb', line 260

def parse(args)
  create_parser(args) {|opts|
    opts.banner = "Usage: shutdown_cluster"
    opts.separator ""
    opts.separator "options:"
  }
end

#run(requester) ⇒ Object



268
269
270
# File 'lib/wakame/runner/administrator_command.rb', line 268

def run(requester)
  requester.request()
end