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



545
546
547
# File 'lib/inspec/config.rb', line 545

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