Class: MicroManager::CLI::ShowHelp
- Inherits:
-
Object
- Object
- MicroManager::CLI::ShowHelp
- Defined in:
- lib/cli/show_help.rb
Instance Method Summary collapse
-
#initialize(parser) ⇒ ShowHelp
constructor
A new instance of ShowHelp.
- #run(schedule:) ⇒ Object
Constructor Details
#initialize(parser) ⇒ ShowHelp
Returns a new instance of ShowHelp.
6 7 8 |
# File 'lib/cli/show_help.rb', line 6 def initialize(parser) @parser = parser end |
Instance Method Details
#run(schedule:) ⇒ Object
10 11 12 13 14 |
# File 'lib/cli/show_help.rb', line 10 def run(schedule:) parser. = "Usage: just [task-description] [options]" parser.help end |