Method: Inspec::InspecCLI#env
- Defined in:
- lib/inspec/cli.rb
#env(shell = nil) ⇒ Object
457 458 459 460 461 462 |
# File 'lib/inspec/cli.rb', line 457 def env(shell = nil) p = Inspec::EnvPrinter.new(self.class, shell) p.print_and_exit! rescue StandardError => e pretty_handle_exception(e) end |