Documentation
¶
Overview ¶
Package github provides GitHub API integration via the gh CLI. It supports looking up pull request metadata such as branch names to enable the "gtl review <PR#>" workflow.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PRInfo ¶
type PRInfo struct {
Number int `json:"number"`
Title string `json:"title"`
HeadRefName string `json:"headRefName"`
}
func ListOpenPRs ¶
ListOpenPRs returns open PRs via the gh CLI. Returns nil on any failure (gh not installed, not in a repo, network error) to keep tab completion non-blocking.
Click to show internal directories.
Click to hide internal directories.