github / github/copilot-cli

Agents list print

未关闭 适合新手
#3,109 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:agents area:non-interactive
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

### Describe the feature or problem you'd like to solve

List available agents in stdout

### Proposed solution

Right now, if I want to know the list of available agents in a specific CLI session I need to open it and call /agent.

What if I have some pre-step - like I do - in which I'd love to programmatically start a session choosing between available agents?

A `copilot --available-agents`outputting the list would solve the issue.

### Example prompts or workflows

_No response_

### Additional context

I'd love to implement this myself and propose a PR

贡献指南

打开贡献指南

调研方向

首先定位 CLI 选项解析的入口点以及 /agent 命令背后的现有代码。添加一个 --available-agents 路径,将可用的 agent 输出到 stdout,而不打开交互式会话,然后在 CLI 会话或命令测试中验证输出。

由索引模型根据 Issue 内容生成。

评估

技术栈
shell
领域
cli
Issue 类型
功能
难度
2/5
预计耗时
1-3 小时
活跃度
冷清
描述清晰度
基本清楚
新手友好度
68/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。