1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-25 15:20:08 +00:00

Add symfony2 aliases (#7338)

* Documentation for Npm plugin added

* Fix style and add alias descriptions

* Add Generate Command alias

* Add Create Database alias

* Add Generate Controller alias
This commit is contained in:
Erwan ROUSSEL 2018-10-28 19:28:15 +01:00 committed by Robby Russell
parent fa2dc41c23
commit dc3a605ec1
2 changed files with 6 additions and 0 deletions

View file

@ -19,7 +19,10 @@ plugins=(... symfony2)
| `sfroute` | sf debug:router | Show the different routes | | `sfroute` | sf debug:router | Show the different routes |
| `sfcontainer` | sf debug:contaner | List the different services | | `sfcontainer` | sf debug:contaner | List the different services |
| `sfgb` | sf generate:bundle | Generate a bundle | | `sfgb` | sf generate:bundle | Generate a bundle |
| `sfgc` | sf generate:controller | Generate a controller |
| `sfgcom` | sf generate:command | Generate a command |
| `sfge` | sf doctrine:generate:entity | Generate an entity | | `sfge` | sf doctrine:generate:entity | Generate an entity |
| `sfsu` | sf doctrine:schema:update | Update the schema in Database | | `sfsu` | sf doctrine:schema:update | Update the schema in Database |
| `sfdc` | sf doctrine:database:create | Create the Database |
| `sfdev` | sf --env=dev | Update environment to `dev` | | `sfdev` | sf --env=dev | Update environment to `dev` |
| `sfprod` | sf --env=prod | Update environment to `prod` | | `sfprod` | sf --env=prod | Update environment to `prod` |

View file

@ -25,7 +25,10 @@ alias sfcw='sf cache:warmup'
alias sfroute='sf debug:router' alias sfroute='sf debug:router'
alias sfcontainer='sf debug:container' alias sfcontainer='sf debug:container'
alias sfgb='sf generate:bundle' alias sfgb='sf generate:bundle'
alias sfgc='sf generate:controller'
alias sfgcom='sf generate:command'
alias sfge='sf doctrine:generate:entity' alias sfge='sf doctrine:generate:entity'
alias sfsu='sf doctrine:schema:update' alias sfsu='sf doctrine:schema:update'
alias sfdc='sf doctrine:database:create'
alias sfdev='sf --env=dev' alias sfdev='sf --env=dev'
alias sfprod='sf --env=prod' alias sfprod='sf --env=prod'