Skip to content

Add launch flag to bypass trust folder prompt #2866

@DamianEdwards

Description

@DamianEdwards

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:non-interactiveNon-interactive mode (-p), CI/CD, ACP protocol, and headless automationarea:permissionsTool approval, security boundaries, sandbox mode, and directory restrictions
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions