New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add --replace flag to run command #302
Comments
I’m sorry. Dotenv doesn’t work this way. It doesn’t eval the full command in a sub-shell, like some other similar tools. So in this case it looks for a program named PORT instead of a program named env. In hindsight, this could be an interesting way to solve this problem (as opposed to introducing a new flag). Another idea might be to allow to inline “set” variables, like |
I use python-dotenv in Makefile and sometimes wants to change Environment like:
|
As a developer i need usually quick change environment, without changing .env file. That's why I need replace some parameters by fly.What should i do:
Without -r flag:
With -r flag:
The text was updated successfully, but these errors were encountered: