chat-brief

command
v1.0.100 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2026 License: MIT Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command chat-brief is a runnable lark-cli distribution that contributes two business commands to the existing im domain via WithCommandSets:

im +chat-brief   single read: Validate, shared DryRun request, CallJSON
im +chat-brief-list  list read: Page[T] Data auto-installs --page-all/--page-limit/--page-delay

Unlike the test fixture under testdata/wrapper, this example keeps the real distribution shape: plugins, strict mode, and service commands all stay enabled; only the command sets are added.

Build & run:

cd extension/command/examples/chat-brief
go build -o chat-brief-cli .
./chat-brief-cli im +chat-brief --help                     # description + flags from tags
./chat-brief-cli im +chat-brief --chat-id oc_xxx --dry-run # request preview, sends nothing
./chat-brief-cli im +chat-brief --chat-id oc_xxx           # real call (requires auth login)
./chat-brief-cli im +chat-brief-list --page-all --page-limit 2   # framework pagination flags
./chat-brief-cli auth login --domain im                    # aggregates business scopes too
go test ./...                                              # hooks under commandtest, no network

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL