Class: Runbook::CLI
Instance Method Summary collapse
Methods included from CLIBase
Instance Method Details
#__print_version ⇒ Object
86 87 88 |
# File 'lib/runbook/cli.rb', line 86 def __print_version puts "Runbook v#{Runbook::VERSION}" end |
#exec(runbook) ⇒ Object
57 58 59 60 61 62 63 64 65 66 |
# File 'lib/runbook/cli.rb', line 57 def exec(runbook) runbook = _retrieve_runbook(runbook, :exec) Runbook::Runner.new(runbook).run( run: [:run], noop: [:noop], auto: [:auto], paranoid: [:"no-paranoid"] == nil, start_at: [:start_at], ) end |
#init ⇒ Object
81 82 83 |
# File 'lib/runbook/cli.rb', line 81 def init invoke(Runbook::Initializer) end |