class Rails::Command::Base

def create_command(meth)

Allow the command method to be called perform.
def create_command(meth)
  if meth == "perform"
    alias_method command_name, meth
  else
    # Prevent exception about command without usage.
    # Some commands define their documentation differently.
    @usage ||= ""
    @desc  ||= ""
    super
  end
end