module Thor::Base::ClassMethods
def start(given_args=ARGV, config={})
Default way to start generators from the command line.
def start(given_args=ARGV, config={}) config[:shell] ||= Thor::Base.shell.new yield rescue Thor::Error => e if given_args.include?("--debug") raise e else config[:shell].error e.message end end