CLI command design

svg

Runs schematic SVG generation, PCB SVG generation, or both based on the input type.

Usage

altium-cruncher svg schematic.SchDoc
altium-cruncher svg board.PcbDoc
altium-cruncher svg project.PrjPcb -o output/svg

Arguments

file accepts .SchDoc, .SchLib, .PcbDoc, or .PrjPcb. PCB-specific options pass through to pcb-svg. -o becomes the root for sch-svg and pcb-svg subfolders.

Output

When both modes run, output is split into sch-svg and pcb-svg subdirectories. With no -o, each subcommand uses its own default output folder.

Tests

L0 verifies that help describes combined behavior. Planned L3 coverage should run svg project.PrjPcb and assert both schematic and PCB SVG artifacts are produced.