Class: Omnitest::CLI::CrosstaskCLI

Inherits:
BaseCLI
  • Object
show all
Defined in:
lib/omnitest/cli.rb

Direct Known Subclasses

OmnitestCLI

Constant Summary

Constants inherited from BaseCLI

BaseCLI::MAX_CONCURRENCY

Instance Method Summary collapse

Methods inherited from BaseCLI

#initialize

Constructor Details

This class inherits a constructor from Omnitest::CLI::BaseCLI

Instance Method Details

#clone(*args) ⇒ Object



99
100
101
102
# File 'lib/omnitest/cli.rb', line 99

def clone(*args)
  update_config!
  Omnitest.clone(*args)
end

#workflow(name, project_regex = 'all') ⇒ Object



121
122
123
124
125
# File 'lib/omnitest/cli.rb', line 121

def workflow(name, project_regex = 'all')
  abort 'A workflow name is required' if args.empty?
  update_config!
  Omnitest.workflow(project_regex, name)
end