Class: OpsBuild::Runner

Inherits:
Thor
  • Object
show all
Defined in:
lib/ops_build/runner.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*args, &block) ⇒ Runner

Adjust global options



11
12
13
14
# File 'lib/ops_build/runner.rb', line 11

def initialize(*args, &block)
  super(*args, &block)
  OpsBuild.logger.level = Logger::DEBUG if options[:verbose]
end

Class Method Details

.exit_on_failure?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/ops_build/runner.rb', line 5

def self.exit_on_failure?
  true
end