Cli2gui Index / Cli2gui / Application / Application2args
Auto-generated documentation for cli2gui.application.application2args module.
Show source in application2args.py:89
Format the args for the desired parser.
values (dict[str, Any]): values from simple gui
argumentParser
str - argument parser to use
Any
- args
def argFormat(values: dict[str, Any], argumentParser: str | ParserType) -> Any: ...
Show source in application2args.py:44
Format args for argparse.
def argparseFormat(values: dict[str, Any]) -> argparse.Namespace: ...
Show source in application2args.py:78
Format args for click.
def clickFormat(values: dict[str, Any]) -> list[Any]: ...
Show source in application2args.py:67
Format args for docopt.
def docoptFormat(values: dict[str, Any]) -> dict[str, Any]: ...
Show source in application2args.py:62
Format args for getopt.
def getoptFormat(values: dict[str, Any]) -> tuple[list[Any], list[Any]]: ...
Show source in application2args.py:53
Format args for optparse.
def optparseFormat(values: dict[str, Any]) -> tuple[optparse.Values, list[str]]: ...
Show source in application2args.py:13
def processValue(key: str, value: str) -> tuple[str, Any]: ...