bw2 / ConfigArgParse

A drop-in replacement for argparse that allows options to also be set via config files and/or environment variables.
MIT License
722 stars 121 forks source link

Change priority order #236

Open wabiloo opened 3 years ago

wabiloo commented 3 years ago

Is there any easy (configurable) way to configure the priority order? In my own projects, I tend to have command line > config files > env vars > defaults instead of command line > env vars > config files > defaults

bw2 commented 3 years ago

There isn't currently a way to do this.