MCPcopy Index your code
hub / github.com/SLiCAP/SLiCAP_python / cmd_pdf

Function cmd_pdf

SLiCAP/schematic/cli.py:116–123  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

114
115
116def cmd_pdf(args):
117 _qt_app()
118 from .export import export_pdf
119 input_path = Path(args.input)
120 scene, data = _load_scene(input_path)
121 output_path = Path(args.output) if args.output else _default_output(input_path, "img", ".pdf")
122 export_pdf(scene, output_path)
123 print(f"PDF → {output_path}")
124
125
126# ── entry point ───────────────────────────────────────────────────────────────

Callers

nothing calls this directly

Calls 4

_qt_appFunction · 0.85
_load_sceneFunction · 0.85
_default_outputFunction · 0.85
export_pdfFunction · 0.85

Tested by

no test coverage detected