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

Default value for ENV vars #8

Open
mblaschke opened this issue Feb 10, 2018 · 1 comment
Open

Default value for ENV vars #8

mblaschke opened this issue Feb 10, 2018 · 1 comment

Comments

@mblaschke
Copy link

Eg. allow ${FOOBAR:barfoo}

${FOOBAR:barfoo} -> if env FOOBAR is not set, use barfoo as value
${FOOBAR::barfoo} -> if env FOOBAR is not set or set and empty, use barfoo as value

@notzippy
Copy link

Good idea, can you make a PR for 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

2 participants