feat(mail): add 'ack' alias for mark-read command

Desire path: agents naturally try 'gt mail ack' to acknowledge messages.
Closes #626.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
gastown/crew/jack
2026-01-17 01:33:29 -08:00
committed by beads/crew/emma
parent 4ef93e1d8a
commit 885b5023d3

View File

@@ -194,8 +194,9 @@ Examples:
}
var mailMarkReadCmd = &cobra.Command{
Use: "mark-read <message-id> [message-id...]",
Short: "Mark messages as read without archiving",
Use: "mark-read <message-id> [message-id...]",
Aliases: []string{"ack"},
Short: "Mark messages as read without archiving",
Long: `Mark one or more messages as read without removing them from inbox.
This adds a 'read' label to the message, which is reflected in the inbox display.