Expand description
Each utz_build_cli subcommand gets one module here, named after it.
Each module exposes Args (clap; the field docs are the --help text)
and run(Args).
Modules§
- gen_
preset - Generates one preset asset, or every preset, from the canonical
recipe table. The command drives
utz_build::Config::from()overutz_build::presets, so the recipes exist in exactly one place andscripts/gen-presets.shcannot drift from the table (the data crates’ build.rs recipe guards verify the result). - generate
- Encodes an asset to disk from explicit knobs. The asset is the input
for
utz_bench_cli, the embedded bench firmware (which embeds an uncompressed asset and borrows it zero-copy from flash viaFinder::from_static()), and any flash-partition/OTA image. Every flag maps to oneutz_build::Configknob.