blob: 1aea1e1a96d583090758ff868293e540bcce32f8 (
plain) (
tree)
|
|
# frozen_string_literal: true
require_relative "command"
aliases = {
"g" => "generate",
"d" => "destroy",
"c" => "console",
"s" => "server",
"db" => "dbconsole",
"r" => "runner",
"t" => "test"
}
command = ARGV.shift
command = aliases[command] || command
Rails::Command.invoke command, ARGV
|