Class: Inspec::Config::Defaults

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

Constant Summary collapse

DEFAULTS =
{
  exec: {
    "show_progress" => false,
    "color" => true,
    "create_lockfile" => true,
    "backend_cache" => true,
  },
  shell: {},
}.freeze

Class Method Summary collapse

Class Method Details

.for_command(command_name) ⇒ Object



606
607
608
# File 'lib/inspec/config.rb', line 606

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