module Thor::Base::ClassMethods

def build_option(name, options, scope) #:nodoc:

:nodoc:

options:: Described in both class_option and method_option.
name:: The name of the argument.
==== Parameters

Build an option and adds it to the given scope.
def build_option(name, options, scope) #:nodoc:
  scope[name] = Thor::Option.new(name, options[:desc], options[:required],
                                       options[:type], options[:default], options[:banner],
                                       options[:group], options[:aliases])
end