LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

gh-pr-comment

Add comments to pull requests

TLDR

Add comment to PR
$ gh pr comment [number] -b "[comment]"
copy
Comment interactively
$ gh pr comment [number]
copy
Comment from file
$ gh pr comment [number] -F [comment.md]
copy
Edit last comment
$ gh pr comment [number] --edit-last -b "[new text]"
copy

SYNOPSIS

gh pr comment [number] [options]

DESCRIPTION

gh pr comment adds comments to pull requests from the command line. It provides flexible options for composing comments, including inline text, file input, and interactive editing.When called without the --body flag, the command opens your default editor for composing the comment. Comments support full GitHub-flavored Markdown including code blocks, tables, task lists, and @ mentions. The --edit-last option allows modifying your most recent comment on a pull request.

PARAMETERS

-b, --body text

Comment body.
-F, --body-file file
Read body from file.
--edit-last
Edit last comment.
-R, --repo owner/repo
Repository.

INSTALL

sudo apt install gh
copy
sudo dnf install gh
copy
sudo pacman -S github-cli
copy
sudo apk add github-cli
copy
sudo zypper install gh
copy
brew install gh
copy
nix profile install nixpkgs#gh
copy

SEE ALSO

gh-pr(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid