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

貢獻指南

開啟貢獻指南

研究方向

Start by locating the CLI option-parsing entry point and the existing code behind the /agent command. Add a --available-agents path that prints the available agents to stdout without opening an interactive session, then verify the output in a CLI session or command test.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
shell
領域
cli
Issue 類型
功能
難度
2/5
預估耗時
1-3 小時
活躍度
冷清
描述清晰度
基本清楚
新手友好度
68/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。