What problem does it solve?
lark-base solves the problem of reliably managing Feishu Base (multi-dimensional tables) via CLI—covering setup, schema (tables/fields/views), record CRUD, derived fields (formula/lookup), analytics, and higher-level features like workflows, dashboards, forms, and advanced permissions—while preventing common mistakes with tokens, IDs, field types, and unsafe execution paths.
Core Features & Use Cases
- Base + Wiki to Base routing: Parses
/wiki/{token} to the underlying bitable token and routes requests correctly.
- Table/Field/View administration: Create/list/get/update/delete tables, fields (including formula/lookup with mandatory guides), and views (filter/sort/group/card/timebar/visible fields).
- Record operations: Search/list/get, upsert/batch write, attachment download/upload/remove, history queries, and record share-link generation.
- Derived data & analytics: Create/update formula/lookup fields and run
data-query aggregations with strict SOP routing to avoid incorrect global conclusions.
- Automation & visualization: Manage workflows (create/get/update/list/enable/disable) and dashboards (create blocks, update configs, arrange layout).
- Forms & advanced permissions: Manage forms and questions, submit via share token (with attachments rules), and enable/manage advanced permissions (role/advperm).
Quick Start
Ask the AI: "Using the lark-base skill, get a list of records from the Base table '订单表' where '状态' is '进行中' and show the top 20 by '创建时间' descending."