promp file path can be passed by parameter

未關閉 適合新手
#2,863 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

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

研究方向

先找出現有 copilot -p "prompt" 流程的 CLI 引數處理。新增對所提議的 copilot -f /prompt.md 形式的支援,使用檔案內容作為 prompt,並確認大型 prompt 與特殊字元都能正確傳遞。

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

描述

area:non-interactive
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

主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

github/copilot-cli 的其他 Issue

查看 github/copilot-cli 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

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

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