Honor help-only input checks before starting features
This commit is contained in:
@@ -401,7 +401,11 @@ An empty suite adds nothing. The flag defaults to false; explicit false and
|
||||
repeated selections use the ordinary Boolean rules. Applications pass
|
||||
`Invocation.Context` into PromptKit and wait for their own work before returning.
|
||||
The observer starts after command input construction and successful `CheckInput`,
|
||||
before `Run`; validation or acquisition inside `Run` is included. Help, version,
|
||||
before `Run`; validation or acquisition inside `Run` is included.
|
||||
`CommandSpec.CheckInput` may return `commandkit.ErrHelpRequested` for a
|
||||
help-only preflight result; core renders help without starting features or
|
||||
requiring execution-only invocation flags. ckconfig uses this for bare
|
||||
`config explain`. Help, version,
|
||||
completion, parse errors, and rejected command inputs do not start observation.
|
||||
|
||||
The requested summary is text on diagnostics after deferred messages and before
|
||||
|
||||
Reference in New Issue
Block a user