Method: Inspec::InspecCLI#env
- Defined in:
- lib/inspec/cli.rb
#env(shell = nil) ⇒ Object
374 375 376 377 378 379 |
# File 'lib/inspec/cli.rb', line 374 def env(shell = nil) p = Inspec::EnvPrinter.new(self.class, shell) p.print_and_exit! rescue StandardError => e pretty_handle_exception(e) end |