Module: SensuCli
- Defined in:
- lib/sensu-cli.rb,
lib/sensu-cli/api.rb,
lib/sensu-cli/cli.rb,
lib/sensu-cli/base.rb,
lib/sensu-cli/path.rb,
lib/sensu-cli/editor.rb,
lib/sensu-cli/filter.rb,
lib/sensu-cli/pretty.rb,
lib/sensu-cli/version.rb,
lib/sensu-cli/settings.rb,
lib/sensu-cli/client/socket.rb
Defined Under Namespace
Modules: Client Classes: Api, Base, Cli, Config, Editor, Filter, PathCreator, Pretty, Settings
Constant Summary collapse
- VERSION =
'0.7.1'
Class Method Summary collapse
Class Method Details
.die(code = 0, msg = nil) ⇒ Object
13 14 15 16 |
# File 'lib/sensu-cli.rb', line 13 def self.die(code = 0, msg = nil) at_exit { puts msg } Kernel.exit(code) end |