Skip to content

promp file path can be passed by parameter #2863

Closed as duplicate
Closed as duplicate

Description

@crgarcia12

Describe the feature or problem you'd like to solve

No response

Proposed solution

Currently, you are allow to do copilot -p "prompt"
If prompts are large, or contain quotes or other special characters, it would be better to have the prompt in a file and pass it to the cli (ex copilot -f /prompt.md) instead of having to use cat or other commands.

Example prompts or workflows

No response

Additional context

No response

Activity

  1. added
    area:non-interactiveNon-interactive mode (-p), CI/CD, ACP protocol, and headless automation
    on Apr 21, 2026
  2. patniko commented on Oct 26, 2026

    @patniko
    Collaborator

    Thanks for the report! This is the same issue as #3398, so I'm closing this one as a duplicate. Please follow that issue for updates and add any extra details there.

    Triaged as part of a Copilot SDK backlog review, with help from GitHub Copilot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:non-interactiveNon-interactive mode (-p), CI/CD, ACP protocol, and headless automation

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions