copilot-cli
copilot-cli copied to clipboard
Prompt and Starting Copilot Non-Interactive should be separate options.
Describe the feature or problem you'd like to solve
Being able to pass an initial prompt with or without interactive-mode being enabled.
Proposed solution
This would make Copilot-CLI more flexible in the ways that it can be used.
Example prompts or workflows
-
copilot -p "Make a website" --non-interactive- This would launch with the prompt and disable interactive mode. -
copilot -p "Make a website"- This would launch copilot with the initial prompt in interactive mode so the session will stay open after the AI has finished its task.
Additional context
No response
This would be great. My use case is that I have a script that fetches an issue from our internal issue tracker and then pipes it to the tool for processing. This works fine for Claude Code for example that can start interactive mode from the terminal with an included prompt.