add alias for rails:console (fixes #36)
This commit is contained in:
parent
9d3ade7840
commit
11b0448c02
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
||||
|
|
|
@ -40,5 +40,6 @@ namespace :rails do
|
|||
end
|
||||
end
|
||||
|
||||
task c: :console
|
||||
task db: :dbconsole
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue