aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/command
Commit message (Collapse)AuthorAgeFilesLines
* Share the common implementation between apps and engines.Kasper Timm Hansen2017-02-181-12/+7
|
* allow to pass describe option to rakeyuuji.yaginuma2017-01-171-1/+1
| | | | | | Since `Thor::HELP_MAPPINGS` contains `-D`, so `bin/rails -D` show rails's help. But, in Rails 5.0.1, `bin/rails -D` show the description of rake task. I think that it is better to have the same behavior.
* make all rails commands work in engineyuuji.yaginuma2017-01-091-0/+5
| | | | | | | | Currently, all rails commands can be executed in engine, but `server`, `console`, `dbconsole` and `runner` do not work. This make all rails commands work in engine. Related to #22588
* Match Thor's `desc` signature.Kasper Timm Hansen2016-12-311-1/+1
| | | | It can also take an options hash.
* Prevent command name being printed twice.Kasper Timm Hansen2016-12-311-0/+8
| | | | | | | | | Thor would inadvertantly duplicate the command usage because of the help method in a command class. Fixes #26664. [ Yuji Yaginuma & Kasper Timm Hansen ]
* Privatize unneededly protected methods in RailtiesAkira Matsuda2016-12-251-6/+6
|
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-2/+2
|
* Apply Rafaels review fixes.Kasper Timm Hansen2016-09-251-1/+1
|
* Fix console tests.Kasper Timm Hansen2016-09-251-0/+2
|
* Per Dr. Eileen's orders :)Kasper Timm Hansen2016-09-251-1/+1
| | | | Prescribed some review fixes for myself!
* Simplify auxiliary command files directory finding.Kasper Timm Hansen2016-09-251-1/+1
| | | | | Still vulnerable to different file structures. We likely want something more robust when we tackle in app commands.
* Run engine commands through command infrastructure.Kasper Timm Hansen2016-09-252-6/+35
|
* Initial command structure.Kasper Timm Hansen2016-09-254-0/+303