github / github/copilot-cli

Add launch flag to bypass trust folder prompt

Aberta
#2,866 5 comentários 1 reação 0 responsáveis Ver no GitHub
area:non-interactive area:permissions
Linguagem predominante
Shell
Estrelas
11.2k
Forks
1.9k
Merge médio
14h 16min
PRs com merge (30d)
6

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
shell
Domínio
cli
Tipo de issue
Funcionalidade
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Pouca atividade
Clareza
Razoavelmente clara
Facilidade para iniciantes
66/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.