Hopefully a simple question - how does one specify which environment to use when running a console command in Symfony2. I\'ve created a few commands, however I would like to run
There is another variant, not so convenient though, but works also with composer
composer
SYMFONY_ENV=prod app/console cache:clear