module Mixlib::CLI::ClassMethods

def option(name, args)

Returns:
  • (Hash) - :: the config hash for the created option
def option(name, args)
  @options ||= {}
  raise(ArgumentError, "Option name must be a symbol") unless name.kind_of?(Symbol)
  @options[name.to_sym] = args
end