bw2 / ConfigArgParse

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

Knowing the source of every argument? #288

Open Barlerer opened 10 months ago

Barlerer commented 10 months ago

I want to have the option to raise a warning if a user supplied both command-line arguments, and setting the same values in the config file. How can I achieve this?

I could also accomplish this, if I knew the source of every argument (from command-line\config)