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

Add option for specifying the path to the .example file #5

Open
venikman opened this issue Jul 9, 2020 · 0 comments
Open

Add option for specifying the path to the .example file #5

venikman opened this issue Jul 9, 2020 · 0 comments

Comments

@venikman
Copy link

venikman commented Jul 9, 2020

I need to support multiple environments for my server. Also different environments have different variables. But there is not a clean/simple way to do it.
Right now to support 2 envs you will have to create .env.prod and .env.prod.example pairs for each env.

Ideally I would like to have max to files but maybe when you call:

    const env = envy({yourEnv});

and inside .env.example and .env you can have few functions???

@sholladay sholladay changed the title Feature request: support(example) for multiple environments. Support multiple environments with single .example file Jul 20, 2020
@sholladay sholladay changed the title Support multiple environments with single .example file Add option for specifying the path to the .example file Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants