MCPcopy Create free account
hub / github.com/917Dhj/DeepPaperNote / parser

Function parser

scripts/build_synthesis_bundle.py:20–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18
19
20def parser() -> argparse.ArgumentParser:
21 p = argparse.ArgumentParser(description=__doc__ or "build synthesis bundle")
22 p.add_argument("--metadata", required=True, help="Metadata JSON path or string.")
23 p.add_argument("--evidence", required=True, help="Evidence JSON path or string.")
24 p.add_argument("--figures", default="", help="Figure plan JSON path or string.")
25 p.add_argument("--assets", default="", help="PDF assets JSON path or string.")
26 p.add_argument("--source-manifest", required=True, help="Source manifest JSON path or string.")
27 p.add_argument(
28 "--figure-decisions",
29 required=True,
30 help="Figure/table decision JSON path or string.",
31 )
32 p.add_argument("--output", default="", help="Output JSON path.")
33 return p
34
35
36def load_record(value: str) -> dict:

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected