| name | lark-cli |
| description | Operate Feishu/Lark via the lark CLI (IM, Drive, Docs, Sheets, Mail, Calendar, Wiki, Bitable, Tasks, and more). |
Lark CLI
This skill uses the lark CLI to operate Feishu/Lark products (IM, Drive, Docs, Sheets, Mail, Calendar, Wiki, Bitable, Tasks, and more), with the shortest-path examples and reference links.
What this repo provides
lark CLI: a single binary to access Feishu/Lark products (IM, Drive, Docs, Sheets, Mail, Calendar, Wiki, Bitable, Tasks).
- Two output modes: human tables by default, JSON with
--json for automation.
- SDK-first implementation via the official
oapi-sdk-go.
Quickstart (minimal)
- Install the CLI (see
references/INSTALL.md).
- Authenticate:
- Tenant token (app-only, bot/app identity):
lark auth tenant
- User token (user-scoped, on behalf of a user):
lark auth user login
See references/AUTH.md for details and scopes.
- Run a command:
lark whoami
lark chats list --limit 10
lark users search "Ada" --json
Core concepts (tl;dr)
- Feishu = Lark (global brand). Same API surface, different API endpoints.
- Most commands follow:
lark <product> <action> [args] [flags].
- Required IDs are positional args (no required
--id flags).
- Many commands accept a Lark/Feishu web URL in place of IDs.
--json prints machine-readable output to stdout; logs/errors go to stderr.