module Bundler::Thor::Base::ClassMethods
def class_option(name, options = {})
:hide:: -- If you want to hide this option from the help.
:banner:: -- String to show on usage notes.
:type:: -- The type of the argument, can be :string, :hash, :array, :numeric or :boolean.
:aliases:: -- Aliases for this option. Note: Bundler::Thor follows a convention of one-dash-one-letter options. Thus aliases like "-something" wouldn't be parsed; use either "\--something" or "-s" instead.
:group:: -- The group for this options. Use by class options to output options in different levels.
:default:: -- Default value for this argument.
:required:: -- If the argument is required or not.
:desc:: -- Description for the argument.
==== Options
options
name
==== Parameters
Adds an option to the set of class options
def class_option(name, options = {}) build_option(name, options, class_options) end