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

Also parse environment variables #173

Open
PhoneixS opened this issue Feb 7, 2020 · 0 comments
Open

Also parse environment variables #173

PhoneixS opened this issue Feb 7, 2020 · 0 comments

Comments

@PhoneixS
Copy link

PhoneixS commented Feb 7, 2020

Could it be a good addition to be able to also parse environment variables?

For example, you could have a program in which you could specify the host to connect to with a --host 127.0.0.1 or with an environment variable "HOST" with the value "127.0.0.1". This could help when it used in places where they commonly use environment variables like in Helm / Kubernetes.

Nowadays, if you want this behavior you should implement both separately so you can have a problem of not synchronizing it when they change and duplicate validation code, etc.

Could it be a good idea?

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