mirror of
https://github.com/larksuite/cli.git
synced 2026-09-14 18:42:53 +08:00
af2398d636
- `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.
30 lines
544 B
Go
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,
|
|
}
|
|
}
|