feature request: add `.env` files
See original GitHub issueThis is a feature request to add .env
files to identify
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Developers - Feature Request: Generating .env.example file from a ...
Hi,. Sometimes we can not share .env file. However it would be useful if we could generate a .env.example from it which contains...
Read more >Environment Variables: What They Are and How To Use Them
Let's begin with the most basic way of adding environment variables — env files. In your project root, create a new file called...
Read more >Add env_file option to CMake Command Mode - Development
Feature Request : Add env_file option to CMake Command Mode ... Hello! I propose adding a new option to cmake -E that takes...
Read more >Environment variables in Compose | Docker Documentation
If you have multiple environment variables, you can substitute them by adding them to a default environment variable file named .env or by...
Read more >Feature Request: Expose environment variables to JS/TS
env.NODE_ENV . In Hugo I can do something similar with getenv "SOME_API_KEY" . But this is not exposed to JavaScript/TypeScript files compiled ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I guess we can close this issue because 2.5.3 is published to pypi 😃 Thanks Anthony and Thanks Wes.
12 factors app is a great methodology, but that doesn’t mean every project which deals with dotenv files has to follow it perfectly. But that doesn’t change the fact that there’s a dotenv file format that’s being widely used, and it should be recognized by this library.
In my case, I’m writing a hook to check SOPS encrypted files, and one of the formats SOPS support is dotenv files (sharing pre-filled .example.env files for development environment setups is something I saw multiple times). Another case might be forbidding dotenv files to be committed via pre-commit hooks. And the last thing that comes to my mind is a linter for dotenv files, (https://github.com/dotenv-linter/dotenv-linter)
So there is indeed a dotenv file format, and there are legitimate use cases for those in the context of pre-commit hooks.
🙏