From 0ff97fd2134da4238de788dbb3cfaedf3cfda239 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=84=B1?= <1877685089@qq.com> Date: Mon, 8 Jun 2026 19:58:57 +0800 Subject: [PATCH] =?UTF-8?q?docs(attachment):=20=E5=AD=90=E5=91=BD=E4=BB=A4?= =?UTF-8?q?=E6=8F=8F=E8=BF=B0=E5=92=8C=E6=B3=A8=E9=87=8A=E4=B8=AD=E6=96=87?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shortcuts/attachment/attachment.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/shortcuts/attachment/attachment.go b/shortcuts/attachment/attachment.go index bd8f262..eecac68 100644 --- a/shortcuts/attachment/attachment.go +++ b/shortcuts/attachment/attachment.go @@ -8,9 +8,10 @@ import ( func Shortcuts() []*common.Shortcut { return []*common.Shortcut{ + // +upload:上传文件附件 { Name: "upload", - Description: "Upload a file attachment", + Description: "上传文件附件", Flags: []common.Flag{ {Name: "file", Short: "f", Usage: "Path to the file to upload", Required: true}, }, @@ -29,9 +30,10 @@ func Shortcuts() []*common.Shortcut { return ctx.Output(env) }, }, + // +delete:根据 UUID 删除文件附件 { Name: "delete", - Description: "Delete a file attachment by UUID", + Description: "根据 UUID 删除文件附件", Flags: []common.Flag{ {Name: "uuid", Short: "u", Usage: "Attachment UUID to delete", Required: true}, },