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

don't clober .env.example #1

Open
ofbeaton opened this issue Aug 21, 2020 · 0 comments
Open

don't clober .env.example #1

ofbeaton opened this issue Aug 21, 2020 · 0 comments

Comments

@ofbeaton
Copy link

Please either add a flag to omit generating the .env.example file, or better yet read the current example file and don't change variables that already exist.

For example in my .env.example file I have

DB_TYPE=postgres

but after running gen-env, it contains

DB_TYPE=

and so is no longer an accurate example.

And while this doesn't affect me personally, dotenv and dotenv-save allow you to use a custom .env filename, so you may want to make this configurable in this tool as well (unless -e already does this?)

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

No branches or pull requests

1 participant