Add comment and worklog CLI commands

This commit is contained in:
zhi
2026-03-21 17:11:20 +00:00
parent 1e8437d0b1
commit 9b3edc0ede
6 changed files with 414 additions and 1 deletions

View File

@@ -138,6 +138,22 @@ func CommandSurface() []Group {
{Name: "reopen", Description: "Reopen a proposal", Permitted: has(perms, "propose.reopen")},
},
},
{
Name: "comment",
Description: "Manage task comments",
SubCommands: []Command{
{Name: "add", Description: "Add a comment to a task", Permitted: has(perms, "task.read")},
{Name: "list", Description: "List comments for a task", Permitted: has(perms, "task.read")},
},
},
{
Name: "worklog",
Description: "Manage work logs",
SubCommands: []Command{
{Name: "add", Description: "Add a work log entry", Permitted: has(perms, "task.read")},
{Name: "list", Description: "List work logs by task or user", Permitted: has(perms, "task.read")},
},
},
{
Name: "monitor",
Description: "Monitor servers and API keys",