Files
larksuite__cli/shortcuts/mail/shortcuts.go
feng zhi hao af2398d636 feat(mail): add email template management + --template-id on compose (#642)
- `mail +template-create` / `mail +template-update` — manage personal
    email templates (name, subject, body, recipients, attachments,
    inline images).
  - `--template-id` on `+send` / `+draft-create` / `+reply` /
    `+reply-all` / `+forward` — apply a saved template when composing.
    Recipients / subject / body / attachments merge into the draft;
    explicit user flags take precedence.
2026-04-28 21:14:01 +08:00

30 lines
544 B
Go

// Copyright (c) 2026 Lark Technologies Pte. Ltd.
// SPDX-License-Identifier: MIT
package mail
import "github.com/larksuite/cli/shortcuts/common"
// Shortcuts returns all mail shortcuts.
func Shortcuts() []common.Shortcut {
return []common.Shortcut{
MailMessage,
MailMessages,
MailThread,
MailTriage,
MailWatch,
MailReply,
MailReplyAll,
MailSend,
MailDraftCreate,
MailDraftEdit,
MailForward,
MailSendReceipt,
MailDeclineReceipt,
MailSignature,
MailShareToChat,
MailTemplateCreate,
MailTemplateUpdate,
}
}