Symfony Flex come with a different structure logic and then some tasks and vars are not needed anymore:
symfony:create_cache_dir => The cache directory is automatically created on cache:warmup comand
symfony:clear_controllers => The only controller is now index.php for all envs.
:app_path => There is no app path anymore
:app_config_path => Well, now it's config, not app/config. And what is the usage of this var?
:sensio_distribution_version => Sensio distribution is not needed anymore for Flex structure.
Regarding this analyse, nothing seems to be needed except the symfony_console which we may put some default flag like --no-interaction. BTW, the --no-debug flag is not useful as the debug is determined by the choosen env from .env file IMO.
But we have to keep BC with the old structure.
What would you suggest? Maybe simply create a capistrano-symfony-console for flex user and import it on this plugin? Maybe create a plugin just for a console command with default flag is also overkill, I don't know yet.
Symfony Flex come with a different structure logic and then some tasks and vars are not needed anymore:
symfony:create_cache_dir
=> The cache directory is automatically created oncache:warmup
comandsymfony:clear_controllers
=> The only controller is nowindex.php
for all envs.:app_path
=> There is no app path anymore:app_config_path
=> Well, now it'sconfig
, notapp/config
. And what is the usage of this var?:sensio_distribution_version
=> Sensio distribution is not needed anymore for Flex structure.Regarding this analyse, nothing seems to be needed except the
symfony_console
which we may put some default flag like--no-interaction
. BTW, the--no-debug
flag is not useful as the debug is determined by the choosen env from.env
file IMO.But we have to keep BC with the old structure.
What would you suggest? Maybe simply create a
capistrano-symfony-console
for flex user and import it on this plugin? Maybe create a plugin just for a console command with default flag is also overkill, I don't know yet.