add command in symfony2 plugin
This commit is contained in:
parent
cf37697920
commit
2e4d76ba1c
@ -20,10 +20,21 @@ compdef _symfony2 sf
|
||||
#Alias
|
||||
alias sf='`_symfony_console`'
|
||||
alias sfcl='sf cache:clear'
|
||||
alias sfai='sf assets:install'
|
||||
alias sfsr='sf server:run -vvv'
|
||||
alias sfsc='sf security:check'
|
||||
alias sfcw='sf cache:warmup'
|
||||
alias sfroute='sf debug:router'
|
||||
alias sfcontainer='sf debug:container'
|
||||
alias sfgb='sf generate:bundle'
|
||||
alias sfgc='sf generate:controller'
|
||||
alias sfdev='sf --env=dev'
|
||||
alias sfprod='sf --env=prod'
|
||||
#Doctrine alias
|
||||
alias sfge='sf doctrine:generate:entity'
|
||||
alias sfdc='sf doctrine:database:create'
|
||||
alias sfdd='sf doctrine:database:drop --force'
|
||||
alias sfsc='sf doctrine:schema:create'
|
||||
alias sfsu='sf doctrine:schema:update'
|
||||
#Need DoctrineFixturesBundle
|
||||
alias sffixtures='sf doctrine:fixtures:load'
|
||||
|
Loading…
Reference in New Issue
Block a user