Class: Kettle::Family::CLI::Reset
- Inherits:
-
WorkflowCommand
- Object
- CommandKit::Command
- BaseCommand
- WorkflowCommand
- Kettle::Family::CLI::Reset
- Defined in:
- lib/kettle/family/cli.rb
Instance Method Summary collapse
Methods included from CommitOptions
Methods included from WorkflowOptions
Methods included from ExecutionOptions
Methods inherited from BaseCommand
Methods included from SelectionOptions
Methods included from SharedOptions
Methods included from ReturningMain
Constructor Details
This class inherits a constructor from Kettle::Family::CLI::BaseCommand
Instance Method Details
#run(target = nil) ⇒ Object
353 354 355 356 357 |
# File 'lib/kettle/family/cli.rb', line 353 def run(target = nil) raise Error, "reset requires TARGET" if target.to_s.empty? run_family("reset", reset_target: target) end |