blob: a23ae44b0bf1c1fcd3d8cdc4dece6ed3a69d03cc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
require "rails/command"
aliases = {
"g" => "generate",
"d" => "destroy",
"t" => "test"
}
command = ARGV.shift
command = aliases[command] || command
Rails::Command.invoke command, ARGV
|