Handle special boolean and list values in config files
masterConfigArgParse supports special syntax in config files and environment variables to represent complex types:
- Booleans: Setting
key = trueis treated as if the flag--keywas passed on the command line. The corresponding argument in your Python code must be defined with an action likeaction='store_true'. - Lists: Setting
key = [value1, value2, ...]is treated as if--key value1 --key value2 ...was passed. The corresponding argument must be defined withaction='append'or similar list-based actions.