github / github/copilot-cli

promp file path can be passed by parameter

未關閉 適合新手
#2,863 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area:non-interactive
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### 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_

貢獻指南

開啟貢獻指南

研究方向

Start by locating the CLI argument handling for the existing `copilot -p "prompt"` flow. Add support for the proposed `copilot -f /prompt.md` form, using the file contents as the prompt, and verify that large prompts and special characters are passed correctly.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
shell
領域
cli
Issue 類型
功能
難度
2/5
預估耗時
1-3 小時
活躍度
冷清
描述清晰度
基本清楚
新手友好度
68/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。