Class Thor::Task
In: lib/thor/task.rb
Parent: Struct.new(:name, :description, :usage, :options)

Methods

Classes and Modules

Class Thor::Task::Dynamic

Public Class methods

Public Instance methods

Injects the class arguments into the task usage.

Returns the options usage for this task.

Returns the formatted usage. If a class is given, the class arguments are injected in the usage.

By default, a task invokes a method in the thor class. You can change this implementation to create custom tasks.

[Validate]