class Thor::Task

def formatted_arguments(klass)


Injects the class arguments into the task usage.
def formatted_arguments(klass)
  if klass && !klass.arguments.empty?
    usage.to_s.gsub(/^#{name}/) do |match|
      match << " " << klass.arguments.map{ |a| a.usage }.join(' ')
    end
  else
    usage.to_s
  end
end