Add comment and worklog CLI commands
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user