Feature Request: 支持一个 lark-cli 配置同时管理多个不同飞书机器人
Open
Nobody has claimed this yet.
domain/core
enhancement
- Dominant language
- Go
- Stars
- 17.3k
- Forks
- 1.4k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 105
Description
需求描述
当前 lark-cli 一次只能配置一个飞书机器人应用,希望能够在一个配置文件中同时管理多个不同的飞书机器人。
使用场景
- 在一个设备上同时运行多个不同功能的飞书机器人
- 每个机器人使用不同的 app_id/app_secret
- 通过一个 CLI 工具统一管理和切换
期望的用法
# lark.yml
bots:
- name: bot1
app_id: cli_xxx1
app_secret: xxx1
- name: bot2
app_id: cli_xxx2
app_secret: xxx2
或者类似的多应用配置方式,支持多个 bot 同时存在。
解决的问题
目前每个机器人需要独立的设备或容器部署,希望能在一个 lark-cli 实例中管理多个机器人,降低资源开销和运维成本。
提交者:VIPMason
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests. Start by tracing how lark-cli currently loads its single-bot configuration and routes commands, then identify the entry point for selecting a bot. Done means one lark.yml can define multiple bots with distinct app_id/app_secret values and the CLI can manage and switch among them.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100