feishu-cli-storage
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese飞书云空间
Feishu Cloud Space
加载工作流后,将其中 、、、 相对路径按该
所在目录解析;执行脚本时使用解析后的实际路径,不要依赖当前 shell 目录。
references/scripts/templates/examples/workflow.mdAfter loading the workflow, resolve the relative paths of , , , according to the directory where this is located; use the resolved actual path when executing scripts, do not rely on the current shell directory.
references/scripts/templates/examples/workflow.md路由
Routing
| 意图 | 读取文件 |
|---|---|
| 大文件、断点续传、异步导入导出、镜像、Drive 搜索 | |
| 基础 file CRUD、版本、元数据、素材上传下载 | |
| wiki 空间、节点、成员、递归导出 | |
| 评论、回复、解决和取消解决 | |
| 协作者、公开权限、密码、转移所有权 | |
| Intent | File to Read |
|---|---|
| Large files, resumable upload/download, asynchronous import/export, mirroring, Drive search | |
| Basic file CRUD, versions, metadata, material upload/download | |
| Wiki spaces, nodes, members, recursive export | |
| Comments, replies, resolve and unresolve | |
| Collaborators, public permissions, passwords, transfer of ownership | |
执行规则
Execution Rules
- 基础文件操作优先 file/media;需要分块、resume、镜像或异步任务时使用 drive。
- 删除、移动、覆盖、转移所有权和删除知识空间属于高风险操作,先确认目标并使用命令提供的确认参数。
- 评论常需 User Token;perm 命令组仅 App 身份(无 user-token 参数),才需 User Token。以工作流和实际帮助为准。
drive apply-permission - wiki node token 与普通 document/file token 不可混用。
- Prioritize file/media for basic file operations; use drive when chunking, resume, mirroring or asynchronous tasks are required.
- High-risk operations such as deletion, movement, overwriting, transfer of ownership and deletion of knowledge spaces require confirming the target first and using the confirmation parameters provided by the command.
- Comments usually require a User Token; the perm command group only uses App identity (no user-token parameter), only requires a User Token. Follow the workflow and actual help documentation.
drive apply-permission - Wiki node tokens cannot be mixed with regular document/file tokens.