Add a command line option.
The name of the option to add
A hash of arguments for the option, specifying how it should be parsed.
Always returns true.
# File lib/mixlib/cli.rb, line 31 def option(name, args) @options ||= {} raise(ArgumentError, "Option name must be a symbol") unless name.kind_of?(Symbol) @options[name.to_sym] = args end