Add launch flag to bypass trust folder prompt
未關閉
area:non-interactive
area:permissions
- 主要語言
- Shell
- 星號
- 11.2k
- 分支
- 1.9k
- 平均合併
- 14 小時 16 分鐘
- 30 天內合併 PR
- 6
描述
When automating `copilot` CLI from scripts it would be very helpful to have a way to opt-in to trusting the folder via a launch flag so that the folder doesn't first have to be trusted via an interactive session and answering the prompt manually, or by directly editing the `~\.copilot\config.json` file.
I'm imagining something like:
```
$ copilot --trust-folder --allow-all-tools
```
Related #1121
貢獻指南
研究方向
從 copilot CLI 的啟動引數處理開始,並閱讀相關 issue #1121 以了解現有的上下文。新增一個啟動旗標,讓目前的資料夾無需互動式提示即可受信任,包括與 --allow-all-tools 結合使用時。完成標準是:透過指令碼啟動時,無需編輯 config.json 或手動回應提示即可信任該資料夾。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- shell
- 領域
- cli
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 66/100