github / github/copilot-cli

Agents list print

Đang mở Phù hợp với người mới
#3,109 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
area:agents area:non-interactive
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

### 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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
shell
Lĩnh vực
cli
Loại issue
Tính năng
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
68/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.