Add Generate Controller alias

This commit is contained in:
Erwan ROUSSEL 2018-10-25 09:27:22 +02:00
parent e35605a9a6
commit 5e805efe5d
2 changed files with 5 additions and 3 deletions

View file

@ -19,9 +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:command | Generate a command | | `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 | `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,8 @@ 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:command' 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 sfdc='sf doctrine:database:create'