1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

10 commits

Author SHA1 Message Date
yuuji.yaginuma
54ee15a203 Show correct commands in help
Currently rails' help shows only namespace. However, the secrets command
needs to specify command. Therefore, I fixed the command to display in help.
2017-03-03 08:18:51 +09:00
Kasper Timm Hansen
fbee4e3ce3 Revert "Revert "Add encrypted secrets"" 2017-02-23 18:15:28 +01:00
David Heinemeier Hansson
039380e3ee Revert "Add encrypted secrets" (#28127) 2017-02-23 15:55:15 +01:00
Kasper Timm Hansen
1166094569 Add encrypted secrets (#28038) 2017-02-23 15:01:02 +01:00
yuuji.yaginuma
073f4ecb14 allow to pass describe option to rake
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.
2017-01-17 14:14:59 +09:00
Kasper Timm Hansen
1e3d6482cc Match Thor's desc signature.
It can also take an options hash.
2016-12-31 19:25:18 +01:00
Kasper Timm Hansen
46da4b143f Prevent command name being printed twice.
Thor would inadvertantly duplicate the command usage because
of the help method in a command class.

Fixes #26664.

[ Yuji Yaginuma & Kasper Timm Hansen ]
2016-12-31 19:25:18 +01:00
Kasper Timm Hansen
993c0696e6 Simplify auxiliary command files directory finding.
Still vulnerable to different file structures. We likely want something
more robust when we tackle in app commands.
2016-09-25 21:31:35 +02:00
Kasper Timm Hansen
d5bd4b259f Run engine commands through command infrastructure. 2016-09-25 21:31:35 +02:00
Kasper Timm Hansen
6813edc7d9 Initial command structure. 2016-09-25 21:31:35 +02:00