Currently, config values are loaded before CLI arguments (argv), which is correct. Except that CLI arguments also include default values. Which means that default values are superseding config values.
The order I'd like (later values winning):
- default values
- config values
- CLI arguments
But this implies that we need to know which of the docopt values are default and which happen to have the same value as the default.
Currently, config values are loaded before CLI arguments (
argv), which is correct. Except that CLI arguments also include default values. Which means that default values are superseding config values.The order I'd like (later values winning):
But this implies that we need to know which of the
docoptvalues are default and which happen to have the same value as the default.