Discover Packages
github.com/larksuite/cli
extension
platform
examples
directory
Version:
v1.0.42
Opens a new window with list of versions in this module.
Published: May 27, 2026
License: MIT
Opens a new window with license information.
README
README
¶
lark-cli plugin examples
Runnable fork-and-blank-import examples that demonstrate the Plugin
SDK in production-shape. Each subdirectory is a complete main
package: go build . produces a working CLI.
Example
What it shows
audit-observer
Simplest possible plugin: one Observer matching every command, logs to stderr.
readonly-policy
Policy plugin: Restrict() with MaxRisk=read, demonstrates the FailClosed + Restricts=true auto-pairing.
All examples are built by CI (make examples-build) so they cannot
silently drift from the SDK.
Expand ▾
Collapse ▴
Directories
¶
Command audit-observer is a runnable fork of lark-cli that logs every dispatched command to stderr.
Command audit-observer is a runnable fork of lark-cli that logs every dispatched command to stderr.
Command readonly-policy is a runnable fork of lark-cli that installs a Rule permitting only docs/* and im/* read commands.
Command readonly-policy is a runnable fork of lark-cli that installs a Rule permitting only docs/* and im/* read commands.
Click to show internal directories.
Click to hide internal directories.