venvmod.commands package
Submodules
Module contents
- venvmod.commands.get_parser(description: str, help_arguments: Optional[str] = None, with_appli: bool = False, with_verbose: bool = False, args: Optional[List] = None) argparse.Namespace[source]
Create a parser for entry-points.
- Parameters
description (str) – Description of the command
help_arguments (str, optional) – Help for the arguments, by default None
with_appli (bool, optional) – True to enable ‘–appli’ option, by default False
with_verbose (bool, optional) – True to enable ‘–verbise’ option, by default False
args (List, optional) – list of arguments if not given throug cli, by default None
- Returns
parsed arguments
- Return type