Context
The API client already supports editing a comment's text and resolving it, but no CLI command exposes this. Users can comment add, comment list, and comment delete, but cannot edit or resolve comments without dropping down to raw cu api calls.
Evidence
internal/api/client.go:525-526 — Client.UpdateTaskComment(ctx, commentID, text, resolved) exists and handles both text updates and the resolved flag.
internal/cmd/comment.go — no subcommand calls UpdateTaskComment.
Suggested fix
Add two subcommands:
cu comment edit <comment-id> -m "new text" — update comment text.
cu comment resolve <comment-id> — set resolved (consider --undo to unresolve).
Both map directly onto the existing UpdateTaskComment client method.
Context
The API client already supports editing a comment's text and resolving it, but no CLI command exposes this. Users can
comment add,comment list, andcomment delete, but cannot edit or resolve comments without dropping down to rawcu apicalls.Evidence
internal/api/client.go:525-526—Client.UpdateTaskComment(ctx, commentID, text, resolved)exists and handles both text updates and the resolved flag.internal/cmd/comment.go— no subcommand callsUpdateTaskComment.Suggested fix
Add two subcommands:
cu comment edit <comment-id> -m "new text"— update comment text.cu comment resolve <comment-id>— set resolved (consider--undoto unresolve).Both map directly onto the existing
UpdateTaskCommentclient method.