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