aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/commands/runner/runner_command.rb
Commit message (Collapse)AuthorAgeFilesLines
* Correctly reset ARGV for "rails runner `CODE' arg arg arg..."Robert Thau2017-03-221-2/+3
| | | | | | The code itself should not be in the ARGV vector. Fixes #28515
* Show correct commands in helpyuuji.yaginuma2017-03-031-3/+5
| | | | | Currently rails' help shows only namespace. However, the secrets command needs to specify command. Therefore, I fixed the command to display in help.
* Pass `rails runner` args onto file again.Kasper Timm Hansen2016-11-201-1/+2
| | | | | | | | | When making the new command insfrastructure I had missed that `bin/rails runner some_file.rb some args` would pass the extra args onto the file in `ARGV`. Now fixed by allowing the command to take extra args again, and make sure to remove the file name from `ARGV`.
* Hide commands from API site.Kasper Timm Hansen2016-10-281-1/+1
| | | | | They're just barren on the site and confure more than guide, instead rely on the built in --help to guide users.
* Initial command structure.Kasper Timm Hansen2016-09-251-0/+45