Class: Clin::HelpOptions
- Inherits:
-
GeneralOption
- Object
- CommandOptionsMixin
- GeneralOption
- Clin::HelpOptions
- Defined in:
- lib/clin/common/help_options.rb
Overview
Then running you command with -h or –help will show the help menu
Instance Method Summary collapse
- #execute(options) ⇒ Object
-
#initialize(raise: true) ⇒ HelpOptions
constructor
A new instance of HelpOptions.
Methods inherited from CommandOptionsMixin
add_option, execute_general_options, flag_option, general_option, list_flag_option, list_option, opt_option, option, register_options, remove_general_option
Constructor Details
#initialize(raise: true) ⇒ HelpOptions
Returns a new instance of HelpOptions.
16 17 18 |
# File 'lib/clin/common/help_options.rb', line 16 def initialize(raise: true) @raise = raise end |