Sha256: 24de564f011d2e6340de3f7f9c46b5a592cc9ab9cb052e0ab20f8a08732d6a9d

Contents?: true

Size: 328 Bytes

Versions: 96

Compression:

Stored size: 328 Bytes

Contents

ARGV << '--help' if ARGV.empty?

aliases = {
  "g"  => "generate",
  "d"  => "destroy",
  "c"  => "console",
  "s"  => "server",
  "db" => "dbconsole",
  "r"  => "runner"
}

command = ARGV.shift
command = aliases[command] || command

require 'rails/commands/commands_tasks'

Rails::CommandsTasks.new(ARGV).run_command!(command)

Version data entries

96 entries across 92 versions & 9 rubygems

Version Path
railties-4.2.11.3 lib/rails/commands.rb
railties-4.2.11.2 lib/rails/commands.rb
railties-4.2.11.1 lib/rails/commands.rb
railties-4.2.11 lib/rails/commands.rb
railties-4.2.10 lib/rails/commands.rb
railties-4.2.10.rc1 lib/rails/commands.rb
railties-4.2.9 lib/rails/commands.rb
railties-4.2.9.rc2 lib/rails/commands.rb
railties-4.2.9.rc1 lib/rails/commands.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/railties-4.2.8/lib/rails/commands.rb
railties-4.2.8 lib/rails/commands.rb
railties-4.2.8.rc1 lib/rails/commands.rb
railties-4.2.7.1 lib/rails/commands.rb
railties-4.2.7 lib/rails/commands.rb
railties-4.1.16 lib/rails/commands.rb
railties-4.1.16.rc1 lib/rails/commands.rb
railties-4.2.7.rc1 lib/rails/commands.rb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/commands.rb
railties-4.1.15 lib/rails/commands.rb
railties-4.2.6 lib/rails/commands.rb