CLI reference / host / build

stado host build

Invocation

stado host build [OPTIONS] --manifest-path <MANIFEST_PATH> --bin <BINARY> <TARGET>

Purpose

Build one declared Cargo binary inside a delivered managed run tree. The command is fixed to `cargo build --locked --release`; only the manifest and binary name vary. The manifest must resolve below the selected account's `$HOME/.stado/work/runs`.

Required inputs and options

Input or optionContract
<TARGET>Positional input; required or optional as shown in the invocation.
--manifest-path <MANIFEST_PATH>Absolute Cargo.toml path inside a delivered managed run
--bin <BINARY>Declared Cargo binary target to build
--jsonCapture Cargo's stdout, stderr, and exit status in one JSON receipt

Output and state effect

It performs the operation described above and emits its operator result on standard output or standard error. Any state change is limited to the resources and records named by the purpose and options on this page.

Refusals

  • Before dispatch, Stado refuses a missing required token shown in the invocation, an unknown option, or a value outside a listed value set; argument-usage failures exit with code 2.