Documentation
¶
Overview ¶
Package edit implements the pr edit command
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EditOptions ¶
type EditOptions struct {
IO *iostreams.IOStreams
HttpClient func() (*http.Client, error)
BaseRepo func() (string, error)
// Arguments
Repository string
Number int
// Flags
Title string
Body string
BodyFile string
Base string
Draft string // "true", "false", or "" (not specified)
Labels []string
AddLabels []string
RemoveLabels []string
ReplaceLabels []string
LabelsSet bool
AddLabelsSet bool
RemoveLabelsSet bool
ReplaceLabelsSet bool
Milestone int
CloseRelatedIssue string // "true", "false", or "" (not specified)
Yes bool
JSON bool
// Assignee/Reviewer/Tester flags
AddAssignees []string
RemoveAssignees []string
AddReviewers []string
RemoveReviewers []string
AddTesters []string
RemoveTesters []string
}
Source Files
¶
- edit.go
Click to show internal directories.
Click to hide internal directories.