The flux binary is the developer CLI for the Flux UI language: it scaffolds
projects, runs the hot-reload dev server, codegens native apps, and inspects
the stdlib and environment. The surface below is generated from the CLI’s
command definitions in crates/flux-cli.
Hosts authenticate with the token read from FLUX_DEV_TOKEN or
[dev] token in flux.toml. Without --token, localhost keeps an open dev
loop. See the dev server guide for the operational
details.
Exit non-zero on advisory findings so the command can gate a pre-commit hook
Checks toolchain state, stdlib parse health, wire protocol version, and
(best-effort) connected devices and simulators, plus the local structural
checks: approved-dependency drift and house-rule violations.