Expand description
Command-line interface for clankeRS.
Install the clankers binary with cargo install clankers-cli, then scaffold
projects, replay MCAP logs, validate ONNX models, and run bundled demos.
§Commands
| Command | Purpose |
|---|---|
new | Scaffold from basic-node, perception-node, ml-inference-node, or replay-test-node |
run | Run the current project’s node |
test | Run replay tests and cargo test |
inspect | Summarize an MCAP file |
replay | Replay a log (optionally through a node) |
latency | Latency stats from a replay |
compare | Diff two MCAP files |
validate-model | ONNX vs PyTorch reference outputs |
bench | Benchmark inference latency and copy/allocation stats |
import-pytorch | Export a checkpoint to ONNX |
add-model | Register a model in clankeRS.toml |
visualize | MCAP summary for Foxglove / Rerun |
demo | Run bundled demos (camera-perception) |
record | Run the node with MCAP recording enabled |
See the crate README for install steps and examples.
Structs§
- Cli
clankersCLI parsed fromstd::env::args.
Enums§
- Commands
- Subcommands for the
clankersbinary.
Functions§
- print_
banner - Print a branded status line to stdout.
- run
- Parse CLI arguments and dispatch the selected subcommand.