Documentation
¶
Index ¶
Constants ¶
View Source
const CLIInstallationInstructions = "https://cli.github.com"
View Source
const UsernameConfigKey = "github.username"
Variables ¶
This section is empty.
Functions ¶
func OpenPR ¶
OpenPR opens the PR for the given branch. Reference: https://cli.github.com/manual/gh_pr_view
Types ¶
type PullRequest ¶
type PullRequest struct {
Reviewers string
Base string
Body string
Title string
Template string
Draft bool
}
PullRequest contains GitHub Pull Request data.
func (*PullRequest) Create ¶
func (p *PullRequest) Create() error
Create a Pull Request on GitHub. Reference: https://cli.github.com/manual/gh_pr_create
Click to show internal directories.
Click to hide internal directories.