Align shared debug help and completion

This commit is contained in:
2026-11-08 15:08:50 +00:00
parent a54ff03aef
commit d914295ced
5 changed files with 99 additions and 3 deletions

View File

@@ -223,6 +223,11 @@ capture, selection, application and rename, with visibility still independent.
## Stage 5 — Present one debug option in help and completion
**Complete.** Completion uses the same effective declarations as parsing and
help. Canonical and alias help and usage failures expose the combined option;
focused tests cover local shorts, requiredness, application defaults, choices,
file and directory hints, boolean validation, and idle application callbacks.
Primary files: [completion_flags.go](../../completion_flags.go),
[internal/cobra/parse.go](../../internal/cobra/parse.go),
[internal/commandmeta](../../internal/commandmeta/metadata.go).