Class: Wakame::Cli::Subcommand::LaunchVm

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



668
669
670
671
672
673
674
675
# File 'lib/wakame/runner/administrator_command.rb', line 668

def parse(args)
  @params={}
  cmd = create_parser(args) {|opts|
    opts.banner = "Usage: launch_vm"
    opts.separator ""
    opts.separator "options:"
  }
end

#run(requester) ⇒ Object



677
678
679
# File 'lib/wakame/runner/administrator_command.rb', line 677

def run(requester)
  requester.request(@params)
end