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

Change the order of priority #58

Open
MrSquaare opened this issue Oct 1, 2019 · 0 comments
Open

Change the order of priority #58

MrSquaare opened this issue Oct 1, 2019 · 0 comments

Comments

@MrSquaare
Copy link

Hello,

Currently having three sources to retrieve values (file, env, flag), I am looking for a way to get the following order of priority (from the lowest to the highest):
default (flag) - file - env - flag

Indeed, since the default values are defined in the FlagSet, they are in priority on file and env sources (so currently the priority order is as follows: file - env - default (flag) - flag)

Is it possible to achieve the expected result?

Thank you.

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