Class: ListTool::App::HelpCommand
- Inherits:
-
Object
- Object
- ListTool::App::HelpCommand
- Defined in:
- lib/list_tool/app/commands/help_command.rb
Class Method Summary collapse
Class Method Details
.execute(options, lister) ⇒ Object
14 15 16 |
# File 'lib/list_tool/app/commands/help_command.rb', line 14 def self.execute , lister Printer.print_usage end |
.help ⇒ Object
18 19 20 |
# File 'lib/list_tool/app/commands/help_command.rb', line 18 def self.help " -h, --help\t\t\tPrint this message" end |
.match?(arg) ⇒ Boolean
6 7 8 |
# File 'lib/list_tool/app/commands/help_command.rb', line 6 def self.match? arg ['h', '-h', 'help', '--help'].include? arg end |
.parse(argv) ⇒ Object
10 11 12 |
# File 'lib/list_tool/app/commands/help_command.rb', line 10 def self.parse argv {} end |