Argparse allows you to use --to specify the end of optional arguments and begin parsing positional arguments. This is handy if you have an optional argument that takes a list of values. ConfigArgParse ...
#! /usr/bin/env python3 import configargparse def main(): parser = configargparse.ArgumentParser() parser.add_argument('-c', '--config', is_config_file=True) parser ...