forked from APACGAMONDE/Gift-Card-Trade-in
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgh-pr-review.1
78 lines (53 loc) · 1.24 KB
/
gh-pr-review.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
.nh
.TH "gh" "1" "Jun 2021" "" ""
.SH NAME
.PP
gh\-pr\-review \- Add a review to a pull request
.SH SYNOPSIS
.PP
\fBgh pr review [ | | ] [flags]\fP
.SH DESCRIPTION
.PP
Add a review to a pull request.
.PP
Without an argument, the pull request that belongs to the current branch is reviewed.
.SH OPTIONS
.PP
\fB\-a\fP, \fB\-\-approve\fP[=false]
Approve pull request
.PP
\fB\-b\fP, \fB\-\-body\fP=""
Specify the body of a review
.PP
\fB\-F\fP, \fB\-\-body\-file\fP=""
Read body text from \fB\fCfile\fR
.PP
\fB\-c\fP, \fB\-\-comment\fP[=false]
Comment on a pull request
.PP
\fB\-r\fP, \fB\-\-request\-changes\fP[=false]
Request changes on a pull request
.SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-\-help\fP[=false]
Show help for command
.PP
\fB\-R\fP, \fB\-\-repo\fP=""
Select another repository using the \fB\fC[HOST/]OWNER/REPO\fR format
.SH EXAMPLE
.PP
.RS
.nf
# approve the pull request of the current branch
$ gh pr review \-\-approve
# leave a review comment for the current branch
$ gh pr review \-\-comment \-b "interesting"
# add a review for a specific pull request
$ gh pr review 123
# request changes on a specific pull request
$ gh pr review 123 \-r \-b "needs more ASCII art"
.fi
.RE
.SH SEE ALSO
.PP
\fBgh\-pr(1)\fP