feishu-cli-storage

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

飞书云空间

Feishu Cloud Space

加载工作流后,将其中
references/
scripts/
templates/
examples/
相对路径按该
workflow.md
所在目录解析;执行脚本时使用解析后的实际路径,不要依赖当前 shell 目录。
After loading the workflow, resolve the relative paths of
references/
,
scripts/
,
templates/
,
examples/
according to the directory where this
workflow.md
is located; use the resolved actual path when executing scripts, do not rely on the current shell directory.

路由

Routing

意图读取文件
大文件、断点续传、异步导入导出、镜像、Drive 搜索
references/workflows/drive/workflow.md
基础 file CRUD、版本、元数据、素材上传下载
references/workflows/file-media/workflow.md
wiki 空间、节点、成员、递归导出
references/workflows/wiki/workflow.md
评论、回复、解决和取消解决
references/workflows/comment/workflow.md
协作者、公开权限、密码、转移所有权
references/workflows/perm/workflow.md
IntentFile to Read
Large files, resumable upload/download, asynchronous import/export, mirroring, Drive search
references/workflows/drive/workflow.md
Basic file CRUD, versions, metadata, material upload/download
references/workflows/file-media/workflow.md
Wiki spaces, nodes, members, recursive export
references/workflows/wiki/workflow.md
Comments, replies, resolve and unresolve
references/workflows/comment/workflow.md
Collaborators, public permissions, passwords, transfer of ownership
references/workflows/perm/workflow.md

执行规则

Execution Rules

  1. 基础文件操作优先 file/media;需要分块、resume、镜像或异步任务时使用 drive。
  2. 删除、移动、覆盖、转移所有权和删除知识空间属于高风险操作,先确认目标并使用命令提供的确认参数。
  3. 评论常需 User Token;perm 命令组仅 App 身份(无 user-token 参数),
    drive apply-permission
    才需 User Token。以工作流和实际帮助为准。
  4. wiki node token 与普通 document/file token 不可混用。
  1. Prioritize file/media for basic file operations; use drive when chunking, resume, mirroring or asynchronous tasks are required.
  2. 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.
  3. Comments usually require a User Token; the perm command group only uses App identity (no user-token parameter), only
    drive apply-permission
    requires a User Token. Follow the workflow and actual help documentation.
  4. Wiki node tokens cannot be mixed with regular document/file tokens.