# larksuite/cli

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/larksuite-cli).**

14,291 stars · 983 forks · Go · MIT

## Links

- GitHub: https://github.com/larksuite/cli
- awesome-repositories: https://awesome-repositories.com/repository/larksuite-cli.md

## Description

Lark CLI is a terminal-based tool designed for automating tasks and managing resources across the Lark and Feishu productivity ecosystem. It functions as a cloud workspace automator and REST API client, providing a command line interface to programmatically manage organizational documents, calendars, emails, and tasks.

The project distinguishes itself through an AI agent skill framework that allows for the integration and deployment of both bundled and custom skills. It features an identity-aware execution context that enables switching between user and bot identities, and employs a sidecar-based credential isolation model to prevent token leakage during API requests.

The tool covers a wide range of business productivity capabilities, including the orchestration of multidimensional tables, spreadsheets, and wiki nodes. It provides utilities for messaging management, calendar scheduling, and the processing of HR workflows such as attendance tracking and approval instances. Additionally, it includes developer tools for API schema inspection, paginated request automation, and multi-format data serialization.

The CLI manages the full OAuth authentication lifecycle, including interactive login and access scope verification.

## Tags

### Business & Productivity Software

- [Workspace Command Line Interfaces](https://awesome-repositories.com/f/business-productivity-software/workspace-command-line-interfaces.md) — Functions as a specialized CLI for the administration and automation of cloud productivity suites.
- [Collaborative Automation Workspaces](https://awesome-repositories.com/f/business-productivity-software/collaborative-automation-workspaces.md) — Provides a collaborative automation environment for managing organizational documents, calendars, emails, and tasks.
- [Business Process Automation Tools](https://awesome-repositories.com/f/business-productivity-software/task-workflow-automation/business-process-automation-tools.md) — Executes administrative and operational tasks across organizational domains including calendars, mail, contacts, and documents. ([source](https://github.com/larksuite/cli/blob/main/skills))
- [Approval Workflow Management](https://awesome-repositories.com/f/business-productivity-software/approval-workflow-management.md) — Processes approval tasks including rejecting or transferring instances and queries personal attendance records. ([source](https://github.com/larksuite/cli#readme))
- [Attendance Tracking](https://awesome-repositories.com/f/business-productivity-software/attendance-tracking.md) — Provides utilities to query individual employee clock-in and attendance records. ([source](https://github.com/larksuite/cli/blob/main/README.zh.md))
- [Instant Messaging Management](https://awesome-repositories.com/f/business-productivity-software/instant-messaging-management.md) — Provides tools to send and reply to messages, manage group chats, and search chat history. ([source](https://github.com/larksuite/cli#readme))
- [OKR Tracking](https://awesome-repositories.com/f/business-productivity-software/okr-tracking.md) — Implements tools to create, manage, and search for objective and key result progress records. ([source](https://github.com/larksuite/cli/blob/main/CHANGELOG.md))
- [Platform Application Managements](https://awesome-repositories.com/f/business-productivity-software/platform-application-managements.md) — Enables the deployment of applications and static sites while managing OAuth authentication scopes within the platform.
- [Spreadsheet Automation](https://awesome-repositories.com/f/business-productivity-software/spreadsheet-automation.md) — Manages spreadsheet cells, dimensions, data validation dropdowns, and filter views. ([source](https://github.com/larksuite/cli/blob/main/CHANGELOG.md))
- [Calendar Event Management](https://awesome-repositories.com/f/business-productivity-software/task-workflow-automation/calendar-automation/calendar-event-management.md) — Provides capabilities to programmatically create, update, and search for calendar events and meeting rooms. ([source](https://github.com/larksuite/cli/blob/main/CHANGELOG.md))
- [Email Management](https://awesome-repositories.com/f/business-productivity-software/task-workflow-automation/email-automation/email-management.md) — Allows for browsing, searching, sending, and forwarding emails, as well as managing drafts and monitoring new messages. ([source](https://github.com/larksuite/cli/blob/main/README.md))
- [Productivity and Task Management](https://awesome-repositories.com/f/business-productivity-software/task-workflow-automation/productivity-task-management.md) — Enables the creation, querying, and completion of tasks, including checklists, sub-tasks, and reminders. ([source](https://github.com/larksuite/cli/blob/main/README.zh.md))

### Artificial Intelligence & ML

- [Agent Skill Frameworks](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/agent-capabilities-skills-tooling/agent-skill-frameworks.md) — Provides a framework for defining and deploying both bundled and custom skills to extend AI agent capabilities within the workspace. ([source](https://github.com/larksuite/cli/blob/main/CHANGELOG.md))

### Part of an Awesome List

- [Cloud Document Orchestrations](https://awesome-repositories.com/f/awesome-lists/data/spreadsheets-and-documents/cloud-document-orchestrations.md) — Provides programmatic orchestration for creating and editing cloud-based spreadsheets, wiki nodes, and multidimensional tables.
- [API Integration](https://awesome-repositories.com/f/awesome-lists/devtools/api-integration.md) — Provides a command line interface for interacting with the Lark and Feishu platform APIs.
- [Developer Tools](https://awesome-repositories.com/f/awesome-lists/devtools/developer-tools.md) — Official command-line interface for Feishu application development.

### Development Tools & Productivity

- [API Development Platforms](https://awesome-repositories.com/f/development-tools-productivity/api-development-tools/api-lifecycle-management/api-development-platforms.md) — Provides a command-line interface for interacting with REST and real-time APIs to manage host environment resources. ([source](https://github.com/larksuite/cli/blob/main/README.zh.md))
- [Command Line Interfaces](https://awesome-repositories.com/f/development-tools-productivity/command-line-interfaces.md) — Ships as a ready-to-run command line application for managing resources across the productivity ecosystem.
- [API Inspection Tools](https://awesome-repositories.com/f/development-tools-productivity/api-inspection-tools.md) — Allows developers to retrieve parameter requirements and response structures for API methods to ensure correct request formatting. ([source](https://github.com/larksuite/cli#readme))
- [Approval Workflows](https://awesome-repositories.com/f/development-tools-productivity/approval-workflows.md) — Implements systems for querying, approving, rejecting, and transferring organizational approval workflow instances. ([source](https://github.com/larksuite/cli/blob/main/README.zh.md))
- [Declarative Event Routing](https://awesome-repositories.com/f/development-tools-productivity/event-triggers/declarative-event-routing.md) — Maps WebSocket event sources to automation responses using regular expression patterns for real-time routing.
- [Meeting Management](https://awesome-repositories.com/f/development-tools-productivity/meeting-management.md) — Manages the creation and update of events, attendee invitations, and meeting room availability. ([source](https://github.com/larksuite/cli#readme))

### Security & Cryptography

- [Credential Security and Utilities](https://awesome-repositories.com/f/security-cryptography/identity-access-management/authentication-strategies/session-and-credential-handling/credential-security-utilities.md) — Uses a secure sidecar process for handling authentication and providing credentials for API access. ([source](https://github.com/larksuite/cli/blob/main/main_authsidecar.go))
- [Identity Switching](https://awesome-repositories.com/f/security-cryptography/identity-switching.md) — Enables switching between user and bot identities to control the authorization scope of executed API requests.
- [OAuth Authentication](https://awesome-repositories.com/f/security-cryptography/oauth-authentication.md) — Manages the full OAuth lifecycle including interactive login, logout, token status, and access scope verification. ([source](https://github.com/larksuite/cli#readme))
- [Process-Isolated Credential Handling](https://awesome-repositories.com/f/security-cryptography/security/cryptography-and-secrets/secrets-credential-management/credential-leak-prevention/process-isolated-credential-handling.md) — Employs a sidecar-based credential isolation model to prevent token leakage during API requests.
- [User Profile Management](https://awesome-repositories.com/f/security-cryptography/identity-access-management/identity-management/user-management/user-profile-management.md) — Searches for users and departments using filters and profile fields to retrieve detailed organizational information. ([source](https://github.com/larksuite/cli/blob/main/CHANGELOG.md))
- [Credential Leak Prevention](https://awesome-repositories.com/f/security-cryptography/security/cryptography-and-secrets/secrets-credential-management/credential-leak-prevention.md) — Prevents the accidental exposure of credentials by requiring specific build configurations when proxies are detected. ([source](https://github.com/larksuite/cli/blob/main/main_noauthsidecar.go))

### Content Management & Publishing

- [Enterprise Wikis](https://awesome-repositories.com/f/content-management-publishing/enterprise-wikis.md) — Creates, reads, updates, and searches organizational documents, knowledge spaces, and wiki nodes. ([source](https://github.com/larksuite/cli/blob/main/CHANGELOG.md))

### Data & Databases

- [Cloud File Management](https://awesome-repositories.com/f/data-databases/cloud-file-management.md) — Handles file uploads, downloads, permissions, and comments across cloud drives and wikis. ([source](https://github.com/larksuite/cli#readme))
- [Table Management APIs](https://awesome-repositories.com/f/data-databases/data-access-querying/database-apis/table-management-apis.md) — Manages records, fields, views, dashboards, and data analytics for base tables. ([source](https://github.com/larksuite/cli/blob/main/README.zh.md))
- [Multidimensional Table Management](https://awesome-repositories.com/f/data-databases/database-management-systems/database-systems-management/database-management/schema-designers/table-schemas/multidimensional-table-management.md) — Configures table schemas, handles batch record operations, and arranges dashboard blocks. ([source](https://github.com/larksuite/cli/blob/main/CHANGELOG.md))
- [Automated Fetching](https://awesome-repositories.com/f/data-databases/query-result-fetching/pagination/automated-fetching.md) — Automatically iterates through multi-page API responses by managing limits and delays to retrieve complete datasets. ([source](https://github.com/larksuite/cli/blob/main/README.md))
- [Spreadsheet Connectors](https://awesome-repositories.com/f/data-databases/spreadsheet-connectors.md) — Creates, reads, writes, appends, and exports data from electronic spreadsheets. ([source](https://github.com/larksuite/cli/blob/main/README.zh.md))

### Networking & Communication

- [Regex-Routed Event Listeners](https://awesome-repositories.com/f/networking-communication/real-time-event-streams/regex-routed-event-listeners.md) — Listens for system events via WebSocket using regular expression routing to automate responses in real time. ([source](https://github.com/larksuite/cli/blob/main/README.zh.md))

### Software Engineering & Architecture

- [Data Serialization Formats](https://awesome-repositories.com/f/software-engineering-architecture/data-serialization-formats.md) — Transforms internal data structures into JSON, CSV, or table formats for interoperability with other terminal tools.
- [CLI Command Generators](https://awesome-repositories.com/f/software-engineering-architecture/schema-driven-generators/cli-command-generators.md) — Automatically derives commands from API definitions to ensure parameters and response structures align with requirements.

### User Interface & Experience

- [Resource Callback Subscriptions](https://awesome-repositories.com/f/user-interface-experience/form-and-input-management/interaction-and-event-handling/event-handling-architectures/event-handling/declarative-event-managers/api-subscription-managers/resource-callback-subscriptions.md) — Manages callback listeners for specific resources to trigger automated actions when state changes occur. ([source](https://github.com/larksuite/cli/blob/main/CHANGELOG.md))

### Web Development

- [RESTful API Clients](https://awesome-repositories.com/f/web-development/restful-api-clients.md) — Implements a REST API client for executing authenticated requests and inspecting API schemas.
