Module: Moonshot::Commands::InteractiveCommand

Included in:
Build, Deploy
Defined in:
lib/moonshot/commands/interactive_command.rb

Instance Method Summary collapse

Instance Method Details

#parserObject



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

def parser
  parser = super

  parser.on('--[no-]interactive', TrueClass, 'Use interactive prompts.') do |v|
    Moonshot.config.interactive = v
  end
end