class Fission::Command::Start

def execute

def execute
  super
  incorrect_arguments if @args.empty?
  vm = VM.new @args.first
  output "Starting '#{vm.name}'"
  start_args = {}
  start_args[:headless] = true if @options.headless
  response = vm.start start_args
  if response.successful?
    output "VM '#{vm.name}' started"
  else
    output_and_exit "There was a problem starting the VM.  The error was:\n#{response.message}", response.code
  end
end