@classmethod<EOL><INDENT>def add_path_argument(cls, group, argname, dest=None, help_=None):<DEDENT>
prefixed = '<STR_LIT>' % (cls.argument_prefix, argname)<EOL>if dest is None:<EOL><INDENT>dest = prefixed.replace('<STR_LIT:->', '<STR_LIT:_>')<EOL>final_dest = dest[len(cls.argument_prefix) + <NUM_LIT:1>:]<EOL><DEDENT>else:<EOL><INDENT>final_dest = dest<EOL>dest = '<STR_LIT>' % (cls.argument_prefix, dest)<EOL><DEDENT>group.add_argument('<STR_LIT>' % prefixed, action='<STR_LIT:store>',<EOL>dest=dest, help=help_)<EOL>cls.path_arguments[dest] = final_dest<EOL>
Subclasses may call this to expose a path argument.

Args:
    group: arparse.ArgumentGroup, the extension argument group
    argname: str, the name of the argument, will be namespaced.
    dest: str, similar to the `dest` argument of
        `argparse.ArgumentParser.add_argument`, will be namespaced.
    help_: str, similar to the `help` argument of
        `argparse.ArgumentParser.add_argument`.