Class: Rails::Command::ApplicationCommand

Inherits:
Base
  • Object
show all
Defined in:
lib/rails/commands/application/application_command.rb

Overview

:nodoc:

Instance Method Summary collapse

Methods inherited from Base

banner, base_name, command_name, default_command_root, desc, engine?, executable, hide_command!, inherited, namespace, perform, printing_commands, usage_path

Methods included from Actions

#load_generators, #load_tasks, #require_application_and_environment!, #set_application_directory!

Instance Method Details

#helpObject



19
20
21
# File 'lib/rails/commands/application/application_command.rb', line 19

def help
  perform # Punt help output to the generator.
end

#perform(*args) ⇒ Object



23
24
25
26
# File 'lib/rails/commands/application/application_command.rb', line 23

def perform(*args)
  Rails::Generators::AppGenerator.start \
    Rails::Generators::ARGVScrubber.new(args).prepare!
end