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

Function parser

scripts/lint_note.py:212–218  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

210
211
212def parser() -> argparse.ArgumentParser:
213 p = argparse.ArgumentParser(description=__doc__ or "lint note")
214 p.add_argument("--input", required=True, help="Markdown note path.")
215 p.add_argument("--plan-file", default="", help="Optional note_plan JSON path. Defaults to sibling <note>.plan.json.")
216 p.add_argument("--output", default="", help="Output JSON path.")
217 p.add_argument("--paper-id", default="", help="Canonical paper id.")
218 return p
219
220
221def resolve_note_plan_path(note_path: Path, plan_file: str) -> Path:

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected