Top Level Namespace
Defined Under Namespace
Modules: Decko, Wagn
Classes: WagnGenerator
Constant Summary
collapse
- RAILS_COMMANDS =
%w( generate destroy plugin benchmarker profiler console
server dbconsole application runner ).freeze
- WAGN_COMMANDS =
%w(new cucumber rspec jasmine).freeze
- WAGN_DB_COMMANDS =
%w(seed reseed load update).freeze
- ALIAS =
{
"rs" => "rspec",
"cc" => "cucumber",
"jm" => "jasmine",
"g" => "generate",
"d" => "destroy",
"c" => "console",
"s" => "server",
"db" => "dbconsole",
"r" => "runner"
}.freeze
Instance Method Summary
collapse
Instance Method Details
#load_rake_tasks ⇒ Object
4
5
6
7
8
|
# File 'lib/wagn/commands.rb', line 4
def load_rake_tasks
require "./config/environment"
require "rake"
Wagn::Application.load_tasks
end
|
#supported_rails_command?(arg) ⇒ Boolean