add alias for rails:console (fixes #36)

This commit is contained in:
Florian Schwab 2018-05-24 11:16:56 +02:00
parent 9d3ade7840
commit 11b0448c02
3 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,7 @@
- remove rails 5.2 deprecation: _Passing the environment's name as a regular argument is deprecated and will be removed in the next Rails version. Please, use the -e option instead._
- allow to set capistrano role to select server for remote console (#33)
- allow to set shell used on server (#31)
- [add rails:c alias to rails:console](https://github.com/ydkn/capistrano-rails-console/issues/36)
## 2.2.1 (2017-09-04)
### Feature

View File

@ -40,6 +40,7 @@ require 'capistrano/rails/console'
Run a remote rails console with:
$ cap production rails:console
$ cap production rails:c
You can also start a sandbox session:

View File

@ -40,5 +40,6 @@ namespace :rails do
end
end
task c: :console
task db: :dbconsole
end