Skip to content
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

[std/dotenv] - change .env.example to .env.required #3561

Open
cknight opened this issue Aug 22, 2023 · 0 comments
Open

[std/dotenv] - change .env.example to .env.required #3561

cknight opened this issue Aug 22, 2023 · 0 comments

Comments

@cknight
Copy link
Contributor

cknight commented Aug 22, 2023

The dotenv module has the concept of a .env.example file which dictates a set of environment variables which must be present (either through .env/.env.default files or via the process environment). If any are missing after the dotenv is loaded then an exception is thrown. A secondary use case is that it can be used to document the purpose of these environment variables. I propose renaming .env.example to .env.required to be clearer as to its purpose. 'Example' does not convey that the entries are required to exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant