gh pr comment

gh pr comment [<number> | <url> | <branch>] [flags]

创建新的 PR 评论。

在没有参数的情况下,将选择属于当前分支的请求。

使用“–web“,开在 web 浏览器。

Options

-b, --body <string>
提供主体内容。不填,也会提示
-F, --body-file <file>
文件读取主体内容 (用"-" 的话,就从标准输入读取)
-e, --editor
通过 editor 添加主体
-w, --web
用浏览器打开网络链接,添加主体

Options inherited from parent commands

-R, --repo <[HOST/]OWNER/REPO>
使用 [HOST/]OWNER/REPO 格式,选择另一存储库

Examples

$ gh pr comment 22 --body "This looks great, lets get it deployed."

See also