cowbird.cli.utils
Module Contents
Functions
|
Generates both fields with the same description as each parameter is used in different context. |
|
|
|
|
|
|
|
|
|
Attributes
-
cowbird.cli.utils.
subparser_help
(description: str, parent_parser: Optional[argparse.ArgumentParser] = None) → Dict[str, str][source] Generates both fields with the same description as each parameter is used in different context.
Field
help
is printed next to the subparser name when parent parser is called with--help
. Fielddescription
populates the help details under the usage command when calling child parser--help
.