Appearance
CLI
Generated from actual CLI help output.
Command: cargo run -q -p dry-cli -- --help
Root help
text
Dry — toolpath compiler CLI
Usage: dry <COMMAND>
Commands:
inspect Parse + simulate a Dry IR file and print a concise summary
simulate Simulate a Dry IR file and print its metrics
emit Emit motion g-code for a Dry IR file
pack Encode a Dry IR (JSON) file to the chunked streaming binary form
unpack Decode a `.dry` binary back to Dry IR JSON (lossless)
import-printer-cfg Import a Klipper printer.cfg into a dry machine/material profile (kinematics, retraction, build volume)
import-gcode Import slicer G-code into Dry IR JSON for review, simulation, verification and optimisation
review-gcode Review slicer G-code directly, reporting metrics and contract findings with source line numbers
trace-gcode Summarize slicer G-code as fixed-window motion/time-series JSON
forensics-gcode Forensics: infer slicer behavior from G-code (slicer, features, layers, hotspots) with confidence tags
explain Assemble an offline LLM-explanation bundle (trace + forensics + verify + a curated prompt)
compare Diff two analysed g-code files: settings, time/flow, and safety findings (A → B)
rewrite-gcode Re-emit imported motion while preserving non-motion source G-code lines in place
optimize Optimise a Dry IR file (merge collinear, fit arcs) and report the before/after
upload Verify a g-code file and upload it to a Moonraker host (accept/warn/reject gate)
verify Check a Dry IR file against machine-safety contracts; exits 1 if any errors are found. Flags: `--bounds`, `--max-flow`, `--speed-range`, `--monotonic-z`, `--min-temp`, `--max-retraction-distance`, `--max-retraction-speed`, `--max-travel-without-retract`, `--first-layer-height-range`, `--first-layer-speed-range`, `--max-accel`, `--junction-velocity`, `--json`
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print versionCommands
| Command | Sample | Summary |
|---|---|---|
inspect | Simulate | Parse + simulate a Dry IR file and print a concise summary |
simulate | Simulate | Simulate a Dry IR file and print its metrics |
emit | Author a path | Emit motion g-code for a Dry IR file |
pack | Lower to the Dry IR | Encode a Dry IR (JSON) file to the chunked streaming binary form |
unpack | Lower to the Dry IR | Decode a .dry binary back to Dry IR JSON (lossless) |
import-printer-cfg | Lower to the Dry IR | Import a Klipper printer.cfg into a dry machine/material profile (kinematics, retraction, build volume) |
import-gcode | Lower to the Dry IR | Import slicer G-code into Dry IR JSON for review, simulation, verification and optimisation |
review-gcode | Verify | Review slicer G-code directly, reporting metrics and contract findings with source line numbers |
trace-gcode | Simulate | Summarize slicer G-code as fixed-window motion/time-series JSON |
forensics-gcode | Verify | Forensics: infer slicer behavior from G-code (slicer, features, layers, hotspots) with confidence tags |
explain | Verify | Assemble an offline LLM-explanation bundle (trace + forensics + verify + a curated prompt) |
compare | Verify | Diff two analysed g-code files: settings, time/flow, and safety findings (A → B) |
rewrite-gcode | Optimize | Re-emit imported motion while preserving non-motion source G-code lines in place |
optimize | Optimize | Optimise a Dry IR file (merge collinear, fit arcs) and report the before/after |
upload | Verify | Verify a g-code file and upload it to a Moonraker host (accept/warn/reject gate) |
verify | Verify | Check a Dry IR file against machine-safety contracts; exits 1 if any errors are found. Flags: --bounds, --max-flow, --speed-range, --monotonic-z, --min-temp, --max-retraction-distance, --max-retraction-speed, --max-travel-without-retract, --first-layer-height-range, --first-layer-speed-range, --max-accel, --junction-velocity, --json |