Method: Supermarket::SupermarketCLI#exec
- Defined in:
- lib/bundles/inspec-supermarket/cli.rb
#exec(*tests) ⇒ Object
31 32 33 34 35 36 37 38 |
# File 'lib/bundles/inspec-supermarket/cli.rb', line 31 def exec(*tests) # iterate over tests and add compliance scheme tests = tests.map { |t| 'supermarket://' + t } # execute profile from inspec exec implementation diagnose run_tests(tests, opts) end |