.nh .TH "GH-ISSUE-COMMENT" "1" "Oct 2022" "" "GitHub CLI manual" .SH NAME .PP gh-issue-comment - Add a comment to an issue .SH SYNOPSIS .PP \fB\fCgh issue comment { | } [flags]\fR .SH DESCRIPTION .PP Add a comment to a GitHub issue. .PP Without the body text supplied through flags, the command will interactively prompt for the comment text. .SH OPTIONS .TP \fB\fC-b\fR, \fB\fC--body\fR \fB\fC\fR The comment body text .TP \fB\fC-F\fR, \fB\fC--body-file\fR \fB\fC\fR Read body text from file (use "-" to read from standard input) .TP \fB\fC--edit-last\fR Edit the last comment of the same author .TP \fB\fC-e\fR, \fB\fC--editor\fR Skip prompts and open the text editor to write the body in .TP \fB\fC-w\fR, \fB\fC--web\fR Open the web browser to write the comment .SH OPTIONS INHERITED FROM PARENT COMMANDS .TP \fB\fC-R\fR, \fB\fC--repo\fR \fB\fC<[HOST/]OWNER/REPO>\fR Select another repository using the [HOST/]OWNER/REPO format .SH EXAMPLE .PP .RS .nf $ gh issue comment 12 --body "Hi from GitHub CLI" .fi .RE .SH SEE ALSO .PP \fB\fCgh-issue(1)\fR