-
Notifications
You must be signed in to change notification settings - Fork 211
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
Viper won't override nested config with cli flags #245
Labels
Comments
we have an ugly fix for it, though viper claimed to fix the problem and I saw some more elegant fixes to it on github. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using
viper
we load config from atoml
file. we wan't the default config to be loaded, then overridden by a config file if exists, then overridden by the cli flags.viper
claim this to work after spf13/viper#195couldn't get it working for us so I had to add some patch in #238 .
How to fix ?
viper
methods to load cli flags after configThe text was updated successfully, but these errors were encountered: