MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / parse_arguments

Function parse_arguments

scripts/ci/verify-release-selection.py:88–99  ·  view source on GitHub ↗
(argv: Sequence[str])

Source from the content-addressed store, hash-verified

86
87
88def parse_arguments(argv: Sequence[str]) -> argparse.Namespace:
89 parser = argparse.ArgumentParser(
90 description="Bind all fourteen canonical release containers to release-selection.tsv."
91 )
92 parser.add_argument("--selection", required=True, type=pathlib.Path)
93 parser.add_argument("--archive-dir", required=True, type=pathlib.Path)
94 parser.add_argument(
95 "--require-policy",
96 choices=("virustotal-v2", "unscanned-dry-run"),
97 help="reject a selection produced under any other policy",
98 )
99 return parser.parse_args(argv[1:])
100
101
102def regular_status(path: pathlib.Path, *, ceiling: int, label: str) -> os.stat_result:

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected