Module: Moonshot::Commands::ShowAllEventsOption

Included in:
Create, Delete, Update
Defined in:
lib/moonshot/commands/show_all_events_option.rb

Instance Method Summary collapse

Instance Method Details

#parserObject



6
7
8
9
10
11
12
# File 'lib/moonshot/commands/show_all_events_option.rb', line 6

def parser
  parser = super

  parser.on('--[no-]show-all-events', TrueClass, 'Show all stack events during update') do |v|
    Moonshot.config.show_all_stack_events = v
  end
end