Expand description
The closed-world cli-spec-v1 registry for afhttp.
One registry is the single source for argv parsing, typed invocation values,
which argument mixes are legal, output contracts, --help, and docs/cli.md
(rendered by --docs). Anything the parser can decide is expressed here as a
shape rather than re-checked by a handler.
Constants§
- ARTIFACTS
- Artifact tokens
fetch --wantaccepts, inshared::artifacts::Artifactorder. Afetchunit test proves every one of them maps to an artifact. - BROWSERS
- Browser backends the inline client and the host can launch.
- CONTAINER_
COMPONENTS - Optional image components
container install --withaccepts. Acontainerunit test proves every one of them maps to a Dockerfile build arg. - CONTAINER_
RUNTIMES - Container runtimes
--runtimeaccepts. Omitted means auto-detection.
Functions§
- cli_
spec - Build the whole
afhttpCLI registry.