feat(agentic): add plan/read CLI alias
Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
parent
19172194e2
commit
73243f2d6b
3 changed files with 6 additions and 0 deletions
|
|
@ -13,6 +13,8 @@ func (s *PrepSubsystem) registerPlanCommands() {
|
|||
c.Command("plan/create", core.Command{Description: "Create an implementation plan or create one from a template", Action: s.cmdPlanCreate})
|
||||
c.Command("plan/from-issue", core.Command{Description: "Create an implementation plan from a tracked issue", Action: s.cmdPlanFromIssue})
|
||||
c.Command("plan/list", core.Command{Description: "List implementation plans", Action: s.cmdPlanList})
|
||||
c.Command("agentic:plan/read", core.Command{Description: "Read an implementation plan", Action: s.cmdPlanShow})
|
||||
c.Command("plan/read", core.Command{Description: "Read an implementation plan", Action: s.cmdPlanShow})
|
||||
c.Command("plan/show", core.Command{Description: "Show an implementation plan", Action: s.cmdPlanShow})
|
||||
c.Command("plan/status", core.Command{Description: "Read or update an implementation plan status", Action: s.cmdPlanStatus})
|
||||
c.Command("plan/check", core.Command{Description: "Check whether a plan or phase is complete", Action: s.cmdPlanCheck})
|
||||
|
|
|
|||
|
|
@ -134,4 +134,7 @@ func TestCommandsPlan_RegisterPlanCommands_Good_SpecAliasRegistered(t *testing.T
|
|||
|
||||
assert.Contains(t, c.Commands(), "agentic:plan")
|
||||
assert.Contains(t, c.Commands(), "plan")
|
||||
assert.Contains(t, c.Commands(), "agentic:plan/read")
|
||||
assert.Contains(t, c.Commands(), "plan/read")
|
||||
assert.Contains(t, c.Commands(), "plan/show")
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1389,6 +1389,7 @@ func TestCommands_RegisterCommands_Good_AllRegistered(t *testing.T) {
|
|||
assert.Contains(t, cmds, "plan")
|
||||
assert.Contains(t, cmds, "plan/create")
|
||||
assert.Contains(t, cmds, "plan/list")
|
||||
assert.Contains(t, cmds, "plan/read")
|
||||
assert.Contains(t, cmds, "plan/show")
|
||||
assert.Contains(t, cmds, "plan/status")
|
||||
assert.Contains(t, cmds, "plan/check")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue