Documentation
¶
Overview ¶
Package gh wraps the GitHub CLI (gh) for repository operations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAvailable ¶
func IsAvailable() bool
IsAvailable checks whether the gh CLI is installed and accessible.
Types ¶
type RepoDetails ¶
type RepoDetails struct {
ID int `json:"id"`
Name string `json:"name"`
FullName string `json:"full_name"`
HTMLURL string `json:"html_url"`
CloneURL string `json:"clone_url"`
}
RepoDetails holds information about a GitHub repository.
func GetRepoDetails ¶
func GetRepoDetails(fullName string) (*RepoDetails, error)
GetRepoDetails fetches details for a single repo via gh api.