MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / parse_args

Function parse_args

scripts/developer-guide/vale_report_to_html.py:59–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57
58
59def parse_args() -> argparse.Namespace:
60 parser = argparse.ArgumentParser(description=__doc__)
61 parser.add_argument("--input", type=Path, required=True, help="Path to the Vale JSON report.")
62 parser.add_argument("--output", type=Path, required=True, help="Destination path for the HTML report.")
63 return parser.parse_args()
64
65
66def load_alerts(report: Path) -> list[dict[str, object]]:

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected