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

Use ff for env var configuration #202

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jolheiser
Copy link

@jolheiser jolheiser commented Oct 1, 2022

Partially resolves #196
https://github.com/peterbourgon/ff

If you want, ff can also load from a config file, however I didn't want to assume between JSON, YAML, or TOML.

Let me know if you'd like one of those implemented as well.

ff easily allows any of the flags to be loaded from env prefixed with DUF, so --all could be set via DUF_ALL=1 for example.

Signed-off-by: jolheiser <john.olheiser@gmail.com>
@muesli muesli added the enhancement New feature or request label Oct 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Default configuration options
2 participants