Class: Kettle::Family::CLI::Bump
- Inherits:
-
BaseCommand
- Object
- CommandKit::Command
- BaseCommand
- Kettle::Family::CLI::Bump
- Includes:
- CommitOptions, ExecutionOptions
- Defined in:
- lib/kettle/family/cli.rb
Direct Known Subclasses
Instance Method Summary collapse
Methods included from CommitOptions
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_version = nil) ⇒ Object
371 372 373 374 375 |
# File 'lib/kettle/family/cli.rb', line 371 def run(target_version = nil) raise Error, "#{workflow_command_name} requires VERSION, major, minor, patch, or pre" unless target_version run_family(workflow_command_name, target_version: target_version, from_version: [:from]) end |