Class: Testjour::CLI::HelpCommand

Inherits:
BaseCommand show all
Defined in:
lib/testjour/commands/help.rb

Instance Attribute Summary

Attributes inherited from BaseCommand

#non_options, #options

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

.commandObject



7
8
9
# File 'lib/testjour/commands/help.rb', line 7

def self.command
  "help"
end

Instance Method Details

#runObject



11
12
13
14
# File 'lib/testjour/commands/help.rb', line 11

def run
  puts @parser.usage
  exit 1
end