class Thor::Runner
def help(meth = nil)
Override Thor#help so it can give information about any class and any method.
def help(meth = nil) if meth && !respond_to?(meth) initialize_thorfiles(meth) klass, command = Thor::Util.find_class_and_command_by_namespace(meth) self.class.handle_no_command_error(command, false) if klass.nil? klass.start(["-h", command].compact, shell: shell) else super end end