From 2e4d76ba1c0f829e7ef6a5accfc644c884a4ee7a Mon Sep 17 00:00:00 2001 From: Diez Gabriel Date: Wed, 2 Nov 2016 17:21:23 +0100 Subject: [PATCH] add command in symfony2 plugin --- plugins/symfony2/symfony2.plugin.zsh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/plugins/symfony2/symfony2.plugin.zsh b/plugins/symfony2/symfony2.plugin.zsh index c2a1affa..9347dbd2 100644 --- a/plugins/symfony2/symfony2.plugin.zsh +++ b/plugins/symfony2/symfony2.plugin.zsh @@ -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'