and long argument names (-v or --version) - description for CLI help - required arguments - argument types (default string, supports integer, boolean) - a proc to run on the argument (commonly used to call .to_f) ! Documentation ! https://github.com/opscode/mixlib-cli
with option! • def run()! • Access options with options[]! • Set exit status and message with ok(msg), warning(msg), critical(msg) or unknown(msg). Ends the execution immediately.! • Optional: use message(msg) instead, then ok(), warning(), etc.
http://sensuapp.org/ • Community plugins: https://github.com/sensu/sensu-community-plugins • option documentation: https://github.com/opscode/mixlib-cli ! • I can be reached at @webmat or rocksolidops.com