1GH-ISSUE-COMMENT(1)            GitHub CLI manual           GH-ISSUE-COMMENT(1)
2
3
4

NAME

6       gh-issue-comment - Add a comment to an issue
7
8
9

SYNOPSIS

11       gh issue comment {<number> | <url>} [flags]
12
13
14

DESCRIPTION

16       Add a comment to a GitHub issue.
17
18
19       Without the body text supplied through flags, the command will interacā€
20       tively prompt for the comment text.
21
22
23

OPTIONS

25       -b, --body <text>
26              The comment body text
27
28
29       -F, --body-file <file>
30              Read body text from file (use "-" to read from standard input)
31
32
33       -e, --editor
34              Skip prompts and open the text editor to write the body in
35
36
37       -w, --web
38              Open the web browser to write the comment
39
40
41

OPTIONS INHERITED FROM PARENT COMMANDS

43       -R, --repo <[HOST/]OWNER/REPO>
44              Select another repository using the [HOST/]OWNER/REPO format
45
46
47

EXAMPLE

49              $ gh issue comment 12 --body "Hi from GitHub CLI"
50
51
52
53
54

SEE ALSO

56       gh-issue(1)
57
58
59
60                                   Jun 2022                GH-ISSUE-COMMENT(1)
Impressum