class Thor
def desc(usage, description, options = {})
options
description
usage
==== Parameters
Defines the usage and the description of the next command.
def desc(usage, description, options = {}) if options[:for] command = find_and_refresh_command(options[:for]) command.usage = usage if usage command.description = description if description else @usage = usage @desc = description @hide = options[:hide] || false end end