gh pr comment

Create a new pr comment

Synopsis

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.

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

Examples

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

Options

  -b, --body string      Supply a body. Will prompt for one otherwise.
  -F, --body-file file   Read body text from file
  -e, --editor           Add body using editor
  -w, --web              Add body in browser

Options inherited from parent commands

      --help                     Show help for command
  -R, --repo [HOST/]OWNER/REPO   Select another repository using the [HOST/]OWNER/REPO format