Add generated help and version commands
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Initial CommandKit implementation plan
|
||||
|
||||
Status: implementation underway; Stages 1-5 complete and Stages 6-14 pending.
|
||||
Status: implementation underway; Stages 1-6 complete and Stages 7-14 pending.
|
||||
|
||||
Date: 2026-10-07.
|
||||
|
||||
@@ -401,7 +401,7 @@ will set `ReportIncomplete` when introduced with the standard reports.
|
||||
|
||||
## Stage 6: complete help and version
|
||||
|
||||
**Status:** pending. **Prerequisite:** Stage 5.
|
||||
**Status:** complete. **Prerequisite:** Stage 5.
|
||||
|
||||
1. Complete automatically installed `help` and `version`. Root bare invocation,
|
||||
`help [COMMAND…]`, root/selected `--help`/`-h`, and non-runnable groups render
|
||||
@@ -439,6 +439,13 @@ help stream failure is operational; default version contains only app identity;
|
||||
controlled build info covers tagged/development/replacement component selection.
|
||||
Create/update the substantive help/version portion of `docs/cli.md` now.
|
||||
|
||||
**Completion evidence:** external tests cover root, group, runnable-parent, and
|
||||
exact-path help; help without required inputs; version text/YAML and invalid
|
||||
selectors; and checked report-write failures. Pure build-info tests cover main,
|
||||
dependency, tagged replacement, local replacement, development, and missing
|
||||
module cases. `go test ./...` passes; README and CLI reference describe the
|
||||
implemented boundary.
|
||||
|
||||
## Stage 7: implement configuration suites, scopes, and selector preflight
|
||||
|
||||
**Status:** pending. **Prerequisite:** Stage 6.
|
||||
|
||||
Reference in New Issue
Block a user