Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterRepos ¶
func FilterRepos(repos []model.RepoInfo, cfg *config.Config) (included []model.RepoInfo, excluded []string)
FilterRepos applies visibility, archived, and exclusion filters to the repo list.
func ResolveToken ¶
func ResolveToken() string
ResolveToken finds a GitHub token from environment variables or gh CLI. Priority: GITHUB_TOKEN > GH_TOKEN > gh auth token
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client wraps GitHub API access.
func NewClient ¶
NewClient creates a new GitHub API client. It resolves a token from GITHUB_TOKEN, GH_TOKEN env vars, or gh CLI auth.
func (*Client) ListOrgRepos ¶
ListOrgRepos lists all repositories for the given organisation.
Click to show internal directories.
Click to hide internal directories.