Method: Inspec::BaseCLI.exec_options

Defined in:
lib/utils/base_cli.rb

.exec_optionsObject



49
50
51
52
53
54
55
56
57
58
# File 'lib/utils/base_cli.rb', line 49

def self.exec_options
  target_options
  profile_options
  option :controls, type: :array,
    desc: 'A list of controls to run. Ignore all other tests.'
  option :format, type: :string,
    desc: 'Which formatter to use: progress, documentation, json'
  option :color, type: :boolean, default: true,
    desc: 'Use colors in output.'
end