github / github/copilot-cli

promp file path can be passed by parameter

オープン 初心者向け
#2,863 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
area:non-interactive
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
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_

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、既存の `copilot -p "prompt"` フローの CLI 引数処理を見つけます。提案されている `copilot -f /prompt.md` 形式をサポートし、ファイルの内容をプロンプトとして使用するようにして、大きなプロンプトや特殊文字が正しく渡されることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
shell
領域
cli
issue の種類
機能追加
難易度
2/5
見積もり時間
1〜3時間
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
68/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。