lib/easy_app_helper/core/base.rb
# Builds common used command line options
Builds common used command line options
Builds common used command line options
def build_command_line_options
    add_command_line_section('Generic options') do |slop|
      slop.on :auto, 'Auto mode. Bypasses questions to user.', :argument => false
      slop.on :simulate, 'Do not perform the actual underlying actions.', :argument => false
      slop.on :v, :verbose, 'Enable verbose mode.', :argument => false
      slop.on :h, :help, 'Displays this help.', :argument => false
    end
  end
def build_command_line_options add_command_line_section ( 'Generic options' ) do | slop | slop . on :auto , 'Auto mode. Bypasses questions to user.' , :argument => false slop . on :simulate , 'Do not perform the actual underlying actions.' , :argument => false slop . on :v , :verbose , 'Enable verbose mode.' , :argument => false slop . on :h , :help , 'Displays this help.' , :argument => false end end
Builds common used command line options
Builds common used command line options