//! Process-wide CLI output mode (FG1), set once in `main` after parsing so
//! deep call sites can pick human vs JSON rendering without threading a flag
//! through every command signature.
use OnceLock;
static JSON_OUTPUT: = new;
/// Records the `--json` flag; called exactly once from `main`.
/// True when `--json` was passed: read commands must emit machine-readable
/// JSON on stdout instead of tables/boxes. Defaults to human output.