docs: fix inaccurate fast-path claim in CLI basics documentation
CI / lint (pull_request) Successful in 1m21s
CI / typecheck (pull_request) Successful in 1m33s
CI / security (pull_request) Successful in 1m33s
CI / benchmark-publish (pull_request) Has been skipped
CI / quality (pull_request) Successful in 1m35s
CI / push-validation (pull_request) Successful in 30s
CI / helm (pull_request) Successful in 35s
CI / build (pull_request) Successful in 46s
CI / benchmark-regression (pull_request) Failing after 1m11s
CI / integration_tests (pull_request) Successful in 4m46s
CI / e2e_tests (pull_request) Failing after 3m20s
CI / unit_tests (pull_request) Successful in 6m11s
CI / docker (pull_request) Successful in 1m30s
CI / coverage (pull_request) Successful in 14m8s
CI / status-check (pull_request) Failing after 5s

The version, info, and diagnostics commands were incorrectly stated as being on the fast-path. Only --help and --version are eager exit options that skip subcommand module loading.

ISSUES CLOSED: #7592
This commit is contained in:
2026-05-09 22:58:33 +00:00
committed by CleverThis
parent fee708e069
commit ec0dded425
@@ -460,9 +460,7 @@ based on code analysis. Exact values depend on your local environment.*
- **`--format`** is a global flag that must come **before** the subcommand.
- **`diagnostics --check`** is CI-friendly: exits non-zero only when there are
actual `ERROR`-level checks (missing API keys are `WARN`, not `ERROR`).
- All three introspection commands (`version`, `info`, `diagnostics`) are
**lightweight** — they're in the fast-path that avoids loading heavy
subcommand modules.
- Both --help and --version use a fast-path eager exit that avoids loading subcommand modules, resulting in instant response times. The version, info, and diagnostics commands are lightweight introspection tools but do not benefit from the fast-path optimization.
## Try It Yourself