feat:移除了弹窗,服务器添加sls

This commit is contained in:
2026-09-08 22:39:45 +08:00
commit 6a295f9a7a
4082 changed files with 1322534 additions and 0 deletions

View File

@ -0,0 +1,35 @@
# drive +version-revert
> **前置条件:** 先阅读 [`../lark-shared/SKILL.md`](../../lark-shared/SKILL.md) 了解认证、全局参数和安全规则。
将文件回滚到指定历史版本。该 shortcut 同时支持 `--as user``--as bot`;自动化场景推荐使用 `--as bot`
## 命令
```bash
lark-cli drive +version-revert \
--file-token boxcnxxxxxxxx \
--version 7633658129540910621 \
--as bot
lark-cli drive +version-revert \
--file-token boxcnxxxxxxxx \
--version 7633658129540910621 \
--as user
```
## 参数
| 参数 | 必填 | 说明 |
|------|------|------|
| `--file-token` | 是 | 目标文件 token |
| `--version` | 是 | `drive +version-history` 返回的长数字 `version` 字段,不是 `tag` |
## 返回值
无额外业务字段,以命令成功 / 失败为准。
## 参考
- [lark-drive](../SKILL.md) -- 云空间(云盘/云存储)全部命令
- [lark-shared](../../lark-shared/SKILL.md) -- 认证和全局参数