class Rails::Command::DestroyCommand

:nodoc:

def help

def help
  require_application_and_environment!
  load_generators
  Rails::Generators.help self.class.command_name
end

def perform(*)

def perform(*)
  generator = args.shift
  return help unless generator
  require_application_and_environment!
  load_generators
  Rails::Generators.invoke generator, args, behavior: :revoke, destination_root: Rails::Command.root
end