github / github/copilot-cli

Add launch flag to bypass trust folder prompt

オープン
#2,866 コメント 5 件 リアクション 1 件 担当者 0 名 GitHub で見る
area:non-interactive area:permissions
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start at the copilot CLI's launch argument handling and read related issue #1121 for existing context. Add a launch flag that opts the current folder into trust without an interactive prompt, including when combined with --allow-all-tools. Done means scripted launches can trust the folder without editing config.json or answering prompts manually.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
shell
領域
cli
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
66/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。