Class: Moonshot::Commands::Delete

Inherits:
Moonshot::Command show all
Includes:
ShowAllEventsOption
Defined in:
lib/moonshot/commands/delete.rb

Instance Method Summary collapse

Methods inherited from Moonshot::Command

inherited

Instance Method Details

#executeObject



18
19
20
# File 'lib/moonshot/commands/delete.rb', line 18

def execute
  controller.delete
end

#parserObject



11
12
13
14
15
16
# File 'lib/moonshot/commands/delete.rb', line 11

def parser
  parser = super
  parser.on('--template-file=FILE', 'Override the path to the CloudFormation template.') do |v|
    Moonshot.config.template_file = v
  end
end