Skip to content

Latest commit

 

History

History
119 lines (66 loc) · 2.38 KB

application2args.md

File metadata and controls

119 lines (66 loc) · 2.38 KB

Application2args

Cli2gui Index / Cli2gui / Application / Application2args

Auto-generated documentation for cli2gui.application.application2args module.

argFormat

Show source in application2args.py:89

Format the args for the desired parser.

Arguments


values (dict[str, Any]): values from simple gui

  • argumentParser str - argument parser to use

Returns


  • Any - args

Signature

def argFormat(values: dict[str, Any], argumentParser: str | ParserType) -> Any: ...

argparseFormat

Show source in application2args.py:44

Format args for argparse.

Signature

def argparseFormat(values: dict[str, Any]) -> argparse.Namespace: ...

clickFormat

Show source in application2args.py:78

Format args for click.

Signature

def clickFormat(values: dict[str, Any]) -> list[Any]: ...

docoptFormat

Show source in application2args.py:67

Format args for docopt.

Signature

def docoptFormat(values: dict[str, Any]) -> dict[str, Any]: ...

getoptFormat

Show source in application2args.py:62

Format args for getopt.

Signature

def getoptFormat(values: dict[str, Any]) -> tuple[list[Any], list[Any]]: ...

optparseFormat

Show source in application2args.py:53

Format args for optparse.

Signature

def optparseFormat(values: dict[str, Any]) -> tuple[optparse.Values, list[str]]: ...

processValue

Show source in application2args.py:13

Signature

def processValue(key: str, value: str) -> tuple[str, Any]: ...