()
| 4 | |
| 5 | |
| 6 | def parse_args(): |
| 7 | parser = argparse.ArgumentParser(description='Print the whole config') |
| 8 | parser.add_argument('config', help='config file path') |
| 9 | parser.add_argument( |
| 10 | '--options', nargs='+', action=DictAction, help='arguments in dict') |
| 11 | args = parser.parse_args() |
| 12 | |
| 13 | return args |
| 14 | |
| 15 | |
| 16 | def main(): |