copilot-cli
copilot-cli copied to clipboard
Prompt mode `-p`: Add an option to open copilot with prompt but in interactive mode
Describe the feature or problem you'd like to solve
I prepared a configuration for Neovim that opens copilot in a separate window in terminal mode. I wanted to add a currently opened file in Neovim in the prompt parameter. With this i could just open copilot and it would know already for which file i'm going to write prompt.
Proposed solution
For example add -i parameter to force interactive mode in case -p specified
Example prompts or workflows
copilot -p @src/somefile.cpp -i
Additional context
Currently i'm not able to make copilot open in interactive mode to continue chat:
https://github.com/user-attachments/assets/668675e7-c04d-48ca-81bd-73dc828959d8