class Rails::Command::Base
def desc(usage = nil, description = nil, options = {})
Tries to get the description from a USAGE file one folder above the command
def desc(usage = nil, description = nil, options = {}) if usage super else @desc ||= ERB.new(File.read(usage_path), trim_mode: "-").result(binding) if usage_path end end