Module: OmniCli
- Defined in:
- lib/omnicli.rb,
lib/omnicli/errors.rb,
lib/omnicli/parser.rb,
lib/omnicli/version.rb
Overview
The OmniCli module provides functionality to build Omni commands in Ruby.
Defined Under Namespace
Classes: ArgListMissingError, Error, InvalidBooleanValueError, InvalidFloatValueError, InvalidIntegerValueError, InvalidTypeStringError, InvalidValueError, Parser
Constant Summary collapse
- VERSION =
Read version from VERSION file, or default to 0.0.0-unreleased
if File.exist?(File.("VERSION", __dir__)) File.read(File.("VERSION", __dir__)).strip else "0.0.0-unreleased" end
Class Method Summary collapse
-
.parse! ⇒ OpenStruct
Create a new parser instance and parse arguments.