blob: 7bbd9ef744b5fa0bcdfbfa5def788e5c3a99e879 (
plain) (
tree)
|
|
require 'rails/engine/commands_tasks'
ARGV << '--help' if ARGV.empty?
aliases = {
"g" => "generate",
"d" => "destroy",
"t" => "test"
}
command = ARGV.shift
command = aliases[command] || command
Rails::Engine::CommandsTasks.new(ARGV).run_command!(command)
|