docs: fix inaccurate fast-path claim in CLI basics documentation
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user