class Thor
def task_help(shell, task_name)
task_name
shell
==== Parameters
Prints help information for the given task.
def task_help(shell, task_name) meth = normalize_task_name(task_name) task = all_tasks[meth] handle_no_task_error(meth) unless task shell.say "Usage:" shell.say " #{banner(task)}" shell.say class_options_help(shell, nil => task.options.map { |_, o| o }) shell.say task.description end