feishu-cli-data

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

飞书表格与多维表格

Feishu Sheets and Bitable/Base

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

路由

Routes

意图读取文件
Sheet 创建、读写、样式、筛选视图、下拉、图片、导入导出
references/workflows/sheet/workflow.md
Bitable/Base 表、字段、记录、视图、权限、表单、工作流
references/workflows/bitable/workflow.md
IntentFile to Read
Sheet creation, read/write, styling, filter views, drop-downs, images, import/export
references/workflows/sheet/workflow.md
Bitable/Base tables, fields, records, views, permissions, forms, workflows
references/workflows/bitable/workflow.md

执行规则

Execution Rules

  1. 先识别 URL:
    /sheets/
    是 Sheet,
    /base/
    是 Bitable。
  2. Sheet 使用 spreadsheet token + sheet ID;Bitable 统一使用
    --base-token
    ,身份通过
    --as bot|user|auto
    控制。
  3. 写操作先用
    --dry-run
    (命令支持时),批量操作先用少量记录验证字段类型。
  4. 不要把 Bitable field create 的 body 额外包进
    field
    对象;直接使用命令帮助要求的字段 JSON。
  1. First identify the URL:
    /sheets/
    corresponds to Sheet,
    /base/
    corresponds to Bitable.
  2. Sheet uses spreadsheet token + sheet ID; Bitable uniformly uses
    --base-token
    , and identity is controlled via
    --as bot|user|auto
    .
  3. Use
    --dry-run
    for write operations (when supported by the command), and verify field types with a small number of records first for batch operations.
  4. Do not wrap the body of Bitable field create in an additional
    field
    object; directly use the field JSON required by the command help.