Problem: the "namespace" term is ambiguous in the context of argparse / argh.
The argparse.Namespace class represents the result of parsing (returned by ArgumentParser.parse()). It could have been a dictionary of attributes and their values; could have been named ParsingResult.
The namespace argument in add_commands() is a str, the name of the, well, namespace for commands in a subparser; a subparser label. The run in prog.py web run.
Problem: the "namespace" term is ambiguous in the context of argparse / argh.
ArgumentParser.parse()
). It could have been a dictionary of attributes and their values; could have been namedParsingResult
.namespace
argument inadd_commands()
is astr
, the name of the, well, namespace for commands in a subparser; a subparser label. Therun
inprog.py web run
.Options:
Tasks: