Method: Inspec::InspecCLI#env
- Defined in:
- lib/inspec/cli.rb
#env(shell = nil) ⇒ Object
217 218 219 220 221 222 |
# File 'lib/inspec/cli.rb', line 217 def env(shell = nil) p = Inspec::EnvPrinter.new(self.class, shell) p.print_and_exit! rescue StandardError => e pretty_handle_exception(e) end |