gh pr comment

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

Create a new pr comment.

Without an argument, the pull request that belongs to the current branch is selected.

With '--web', comment on the pull request in a web browser instead.

Options

-b, --body <string>
Supply a body. Will prompt for one otherwise.
-F, --body-file <file>
Read body text from file (use "-" to read from standard input)
-e, --editor
Add body using editor
-w, --web
Add body in browser

Options inherited from parent commands

-R, --repo <[HOST/]OWNER/REPO>
Select another repository using the [HOST/]OWNER/REPO format

Examples

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

See also