github / github/copilot-cli

Allow to specify cmds that are approved

未關閉
#2,298 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area:permissions
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### Describe the bug

Currently there is only all or nothing for allowing the cmds. Its infuriating that everytime the copilot asks permission to run even dotnet cmds. While I dont want to give consent to destructive cmds, the current state is pretty bad

### Affected version

GitHub Copilot CLI 1.0.11

### Steps to reproduce the behavior

_No response_

### Expected behavior

_No response_

### Additional context

_No response_

貢獻指南

開啟貢獻指南

研究方向

The issue names no files, tests, or entry points. Start by locating the CLI's command-approval flow and determine how approval decisions are stored and matched. Done means users can configure specific safe commands, while destructive commands still require consent.

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

評估

技術堆疊
shell
領域
cli, security
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
冷清
描述清晰度
需要釐清
新手友好度
45/100

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

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