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

Allow environment variables in default values #46

Open
roman opened this issue Jul 5, 2018 · 0 comments
Open

Allow environment variables in default values #46

roman opened this issue Jul 5, 2018 · 0 comments

Comments

@roman
Copy link
Owner

roman commented Jul 5, 2018

Is not uncommon to require some default configuration values to expand from environment variables (e.g. $HOME)

Implementation Suggestions:

  • Add a new function resolveDefaultEnv that makes use of the environment variables
  • Interpolates the default values; the API detects that a ${VAL} is being used in value and it interpolates it with the correct value
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

1 participant