Class: Testjour::CLI::HelpCommand
- Inherits:
-
BaseCommand
- Object
- BaseCommand
- Testjour::CLI::HelpCommand
- Defined in:
- lib/testjour/commands/help.rb
Instance Attribute Summary
Attributes inherited from BaseCommand
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from BaseCommand
detailed_help, help, inherited, #initialize, #option_parser, options, #testjour_bin_path
Constructor Details
This class inherits a constructor from Testjour::CLI::BaseCommand
Class Method Details
.command ⇒ Object
7 8 9 |
# File 'lib/testjour/commands/help.rb', line 7 def self.command "help" end |
Instance Method Details
#run ⇒ Object
11 12 13 14 |
# File 'lib/testjour/commands/help.rb', line 11 def run puts @parser.usage exit 1 end |