Class: Inspec::Config::Defaults

Inherits:
Object
  • Object
show all
Defined in:
lib/inspec/config.rb

Constant Summary collapse

DEFAULTS =
{
  exec: {
    'reporter' => ['cli'],
    'show_progress' => false,
    'color' => true,
    'create_lockfile' => true,
    'backend_cache' => true,
  },
  shell: {
    'reporter' => ['cli'],
  },
}.freeze

Class Method Summary collapse

Class Method Details

.for_command(command_name) ⇒ Object



436
437
438
# File 'lib/inspec/config.rb', line 436

def self.for_command(command_name)
  DEFAULTS[command_name] || {}
end