Class: InspecDelta::Command

Inherits:
Thor
  • Object
show all
Defined in:
lib/inspec_delta/command.rb

Overview

Public: Various commands issued for the user to interact with. These will be shown when they run inspec_delta.

Class Method Summary collapse

Class Method Details

.exit_on_failure?Boolean

This will cause the return value of inspec_delta to be non-zero when an execution failure occurs. It is necessary to define this to suprress warning messages from Thor. They plan on making the 2.0 release of Thor remove the need to define this. GitHub Issue: github.com/erikhuda/thor/issues/244

Returns:

  • (Boolean)


13
14
15
# File 'lib/inspec_delta/command.rb', line 13

def self.exit_on_failure?
  true
end