Skip to main content

Crate litz_cli

Crate litz_cli 

Source
Expand description

The litz command: run a firmware image against a diagram, check the diagram without running anything, or serve a directory over HTTP for a host that loads the wasm build.

The engine — project loading, boot, the run loop, assertions, probes — lives in litz_engine. What stays here is what a command line owns: argument parsing, file output, report formats, the static file server and the project’s build recipe. The re-exports below keep older paths such as litz_cli::runner::Options working for callers of the binary crate.

Modules§

build
litz build: a project’s own build recipe, in TOML.
catalog
litz catalog: the builtin catalog as JSON.
config
litz.toml: which firmware to run and what to assert.
heap
Static memory and heap facts read from a firmware ELF.
image
How a firmware file is laid out in flash.
lock
litz.lock: which catalog entries and firmware bytes produced a result.
report
Machine-readable results.
runner
Loading a project, booting it and deciding pass or fail.
scenario
Automation scenarios (scenario.yaml), as run by litz-cli --scenario.
serve
litz serve: a static file server for a generated site.
toolchain
litz toolchain: which firmware toolchains this machine has, and litz editor --vscode: the editor configuration that points a debugger at the runner’s GDB stub.