Skip to main content

Module spec

Module spec 

Source
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 --want accepts, in shared::artifacts::Artifact order. A fetch unit 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 --with accepts. A container unit test proves every one of them maps to a Dockerfile build arg.
CONTAINER_RUNTIMES
Container runtimes --runtime accepts. Omitted means auto-detection.

Functions§

cli_spec
Build the whole afhttp CLI registry.