Closed jeremylivingston closed 10 years ago
hi @jeremylivingston, this is achieved via an environment variable rather than the --env
flag (the symfony console supports both).
In this library you can set set :symfony_env = 'dev
for example to change this value.
It was not working for stages however that has been resolved here 5c12145f87bfcad0ccb097c422e261f1d75617a1
Perfect, thanks! It looks like I was still using 0.1. Today's update seems to fix the issue.
All Symfony console commands come with a --env option to control the Symfony environment they will run as. Currently, this option needs to be manually added to the :symfony_console_flags variable in order to work properly.
This pull request appends the --env option to all console commands by default. I have added the functionality to the existing set_symfony_env task, since they share the same purpose.
Please let me know if you would like me to update anything or would rather go about this differently. Thanks!