Documentation
¶
Overview ¶
Package review implements the pr review command
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ReviewOptions ¶
type ReviewOptions struct {
IO *iostreams.IOStreams
HttpClient func() (*http.Client, error)
ReviewPR func(*api.Client, string, string, int, *api.ReviewPROptions) error
CreatePRComment func(*api.Client, string, string, int, *api.CreatePRCommentOptions) (*api.PRComment, error)
// Arguments
Repository string
Number int
// Flags
Approve bool
Request bool
Comment string
Force bool // Force approval (admin only)
}
Source Files
¶
- review.go
Click to show internal directories.
Click to hide internal directories.