Class: Laser::Cutter::CLI::Help
- Defined in:
- lib/laser/cutter/cli/help.rb
Overview
The help command: help for the program, or for one command.
Constant Summary
Constants inherited from Command
Instance Method Summary collapse
-
#call(command: nil) ⇒ void
Asks dry-cli for the help it prints on --help, which exits by itself.
Methods inherited from Command
finalize!, inherited, #progress, #ui
Instance Method Details
#call(command: nil) ⇒ void
This method returns an undefined value.
Asks dry-cli for the help it prints on --help, which exits by itself.
18 19 20 |
# File 'lib/laser/cutter/cli/help.rb', line 18 def call(command: nil, **) Dry::CLI.new(CLI).call(arguments: [command, '--help'].compact, out: out, err: err) end |