Closed percepo closed 1 year ago
To maintain the possibility to also use a config file, configparser in conjunction mit setting the defaults with the read values may help: https://newini.wordpress.com/2021/06/11/how-to-import-config-file-to-argparse-using-configparser/
argparse is commonly used, and there seems to be little reason to stick with the custom implementation. It would also make possible a slightly more dynamic way of approaching the parsing of command line arguments