Add instance command registry and composition
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Initial CommandKit implementation plan
|
||||
|
||||
Status: implementation underway; Stage 1 complete and Stages 2-14 pending.
|
||||
Status: implementation underway; Stages 1-2 complete and Stages 3-14 pending.
|
||||
|
||||
Date: 2026-10-07.
|
||||
|
||||
@@ -169,7 +169,7 @@ Verified with `go test ./...`, `go mod verify`, and
|
||||
|
||||
## Stage 2: implement the instance registry and command declarations
|
||||
|
||||
**Status:** pending. **Prerequisite:** Stage 1.
|
||||
**Status:** complete. **Prerequisite:** Stage 1.
|
||||
|
||||
Implement `App`, opaque `Command`, metadata, group composition, and registration
|
||||
in root files such as `app.go`, `command.go`, and `registry.go`.
|
||||
@@ -234,6 +234,9 @@ package or exported bridge methods.
|
||||
registries; duplicate nested paths; runnable-parent composition; registration errors
|
||||
leave the previous inventory intact. Execution remains Stage 5 work.
|
||||
|
||||
**Completion:** added typed command declarations, group composition, root help and
|
||||
version reservations, and atomic per-App registration. Verified with `go test ./...`.
|
||||
|
||||
## Stage 3: implement typed bindings and input assembly
|
||||
|
||||
**Status:** pending. **Prerequisite:** Stage 2.
|
||||
|
||||
Reference in New Issue
Block a user