def get_parser():
    parser = configargparse.ArgumentParser(description='generate RST from argparse options', config_file_parser_class=configargparse.YAMLConfigFileParser, formatter_class=configargparse.ArgumentDefaultsHelpFormatter)
    parser.add_argument('src', type=str, nargs='+', help='source python files that contain get_parser() func')
    return parser
def get_parser():
    parser = configargparse.ArgumentParser(description='generate RST from argparse options', config_file_parser_class=configargparse.YAMLConfigFileParser, formatter_class=configargparse.ArgumentDefaultsHelpFormatter)
    parser.add_argument('src', type=str, nargs='+', help='source python files that contain get_parser() func')
    return parser