dice
dice copied to clipboard
config: use pflag to let viper override cmd flags
This fixes #1094
@JyotinderSingh Take a look at this one too, its quite small one to be merged
I'm not sure if we should be refactoring viper related changes as new config is in work. We can merge this PR for now but most likely be redone in few weeks. @JyotinderSingh/@vinitparekh17 thoughts?
@lucifercr07 Since we agreed to eliminate most of these flags and simplify our implementation to be primarily config file-based, except for a few sub-commands like -help and -version, merging this PR may not make sense at this point. However, until we roll out those discussed changes, you may proceed with merging this PR to acknowledge the author’s efforts.
@vinitparekh17 is this PR still relevant based on the new changes?
@vinitparekh17 is this PR still relevant based on the new changes?
No it is not.