github / github/copilot-cli

Add launch flag to bypass trust folder prompt

Abierto
#2,866 5 comentarios 1 reacción 0 asignados Ver en GitHub
area:non-interactive area:permissions
Lenguaje dominante
Shell
Estrellas
11.2k
Forks
1.9k
Merge medio
14 h 16 min
PR fusionados (30 d)
6

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
shell
Área
cli
Tipo de issue
Nueva funcionalidad
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
66/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.