Documentation
¶
Overview ¶
Copyright (c) 2026 Lark Technologies Pte. Ltd. SPDX-License-Identifier: MIT
lark-cli — Feishu/Lark CLI tool (Go implementation).
Directories
¶
| Path | Synopsis |
|---|---|
|
Package events wires domain EventKey definitions into the global registry.
|
Package events wires domain EventKey definitions into the global registry. |
|
im
Package im registers IM-domain EventKeys.
|
Package im registers IM-domain EventKeys. |
|
extension
|
|
|
internal
|
|
|
appmeta
Package appmeta exposes read-only views of a Feishu app's published version, subscribed event types, and scopes.
|
Package appmeta exposes read-only views of a Feishu app's published version, subscribed event types, and scopes. |
|
charcheck
Package charcheck provides character-level security checks shared across path validation (localfileio) and input validation (validate) packages.
|
Package charcheck provides character-level security checks shared across path validation (localfileio) and input validation (validate) packages. |
|
event
Package event owns the EventKey registry, RawEvent, APIClient, and dedup filter.
|
Package event owns the EventKey registry, RawEvent, APIClient, and dedup filter. |
|
event/bus
Package bus implements the per-AppID event-bus daemon; lifecycle is driven by consumer presence (idle timeout) and explicit shutdown.
|
Package bus implements the per-AppID event-bus daemon; lifecycle is driven by consumer presence (idle timeout) and explicit shutdown. |
|
event/busctl
Package busctl is the wire-level control client for the event bus daemon.
|
Package busctl is the wire-level control client for the event bus daemon. |
|
event/busdiscover
Package busdiscover enumerates live bus daemons via per-AppID PID files protected by a process-lifetime advisory lock.
|
Package busdiscover enumerates live bus daemons via per-AppID PID files protected by a process-lifetime advisory lock. |
|
event/consume
Package consume drives the consume-side half of the events pipeline.
|
Package consume drives the consume-side half of the events pipeline. |
|
event/protocol
Package protocol defines the newline-delimited JSON wire format used over IPC.
|
Package protocol defines the newline-delimited JSON wire format used over IPC. |
|
event/schemas
Package schemas derives JSON Schema fragments from Go types via reflection.
|
Package schemas derives JSON Schema fragments from Go types via reflection. |
|
event/source
Package source is a pluggable event source abstraction (separate package to keep business registrations free of SDK transitive deps).
|
Package source is a pluggable event source abstraction (separate package to keep business registrations free of SDK transitive deps). |
|
event/testutil
Package testutil holds test-only helpers shared across event subsystem tests.
|
Package testutil holds test-only helpers shared across event subsystem tests. |
|
event/transport
Package transport: Unix sockets on POSIX, named pipes on Windows.
|
Package transport: Unix sockets on POSIX, named pipes on Windows. |
|
keychain
Package keychain provides cross-platform secure storage for secrets.
|
Package keychain provides cross-platform secure storage for secrets. |
|
selfupdate
Package selfupdate handles installation detection, npm-based updates, skills updates, and platform-specific binary replacement for the CLI self-update flow.
|
Package selfupdate handles installation detection, npm-based updates, skills updates, and platform-specific binary replacement for the CLI self-update flow. |
|
mail/emlbuilder
Package emlbuilder provides a Lark-API-compatible RFC 2822 EML message builder.
|
Package emlbuilder provides a Lark-API-compatible RFC 2822 EML message builder. |
|
mail/filecheck
Package filecheck provides mail attachment file validation utilities shared by the emlbuilder and draft packages.
|
Package filecheck provides mail attachment file validation utilities shared by the emlbuilder and draft packages. |
|
Package sidecar defines the wire protocol shared between the CLI client (running inside a sandbox) and the auth sidecar proxy (running in a trusted environment).
|
Package sidecar defines the wire protocol shared between the CLI client (running inside a sandbox) and the auth sidecar proxy (running in a trusted environment). |
|
tests
|
|
|
cli_e2e
Package clie2e contains end-to-end tests for lark-cli.
|
Package clie2e contains end-to-end tests for lark-cli. |
Click to show internal directories.
Click to hide internal directories.