Class: GitCompound::Command::Procedure::Tasks
- Inherits:
-
GitCompound::Command::Procedure
- Object
- GitCompound::Command::Procedure
- GitCompound::Command::Procedure::Tasks
- Includes:
- Element::Manifest, Element::Option
- Defined in:
- lib/git_compound/command/procedure/tasks.rb
Overview
Check command procedure class
Instance Method Summary collapse
-
#execute ⇒ Object
add_parameter :list, type: Argument::StringBoolean.
Methods included from Element::Option
Methods included from Element::Manifest
Instance Method Details
#execute ⇒ Object
add_parameter :list, type: Argument::StringBoolean
13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/git_compound/command/procedure/tasks.rb', line 13 def execute Logger.info 'Running tasks ...' if @opts[:allow_nested_subtasks] @manifest.process(Worker::TaskRunner.new) else @manifest.tasks.each_value do |task| Worker::TaskRunner.new.visit_task(task) end end end |