Skip to main content

Crate clankers_cli

Crate clankers_cli 

Source
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

CommandPurpose
newScaffold from basic-node, perception-node, ml-inference-node, or replay-test-node
runRun the current project’s node
testRun replay tests and cargo test
inspectSummarize an MCAP file
replayReplay a log (optionally through a node)
latencyLatency stats from a replay
compareDiff two MCAP files
validate-modelONNX vs PyTorch reference outputs
benchBenchmark inference latency and copy/allocation stats
import-pytorchExport a checkpoint to ONNX
add-modelRegister a model in clankeRS.toml
visualizeMCAP summary for Foxglove / Rerun
demoRun bundled demos (camera-perception)
recordRun the node with MCAP recording enabled

See the crate README for install steps and examples.

Structs§

Cli
clankers CLI parsed from std::env::args.

Enums§

Commands
Subcommands for the clankers binary.

Functions§

print_banner
Print a branded status line to stdout.
run
Parse CLI arguments and dispatch the selected subcommand.