Options (2)
-b, --bodybooleanComment on the pull request of the current branch
Example:
gh pr comment {{[-b|--body]}} "{{LGTM}}"-F, --body-filebooleanComment from a file
Example:
gh pr comment {{123}} {{[-F|--body-file]}} {{path/to/file.txt}}Examples (4)
Comment on the pull request of the current branch
gh pr comment [-b|--body] "LGTM"Comment on a specific pull request
gh pr comment 123 [-b|--body] "Thanks!"Comment from a file
gh pr comment 123 [-F|--body-file] path/to/file.txtOpen the editor to write a multi-line comment
gh pr comment 123made by @shridhargupta | data from tldr-pages