Module: Moonshot::Commands::InteractiveCommand
Instance Method Summary collapse
Instance Method Details
#parser ⇒ Object
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 |