Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Authenticate ¶
func Authenticate(method, sourceHost, targetHost, sourceToken, targetToken string) (string, string, error)
Authenticate resolves tokens for source and target GitHub hosts. It supports three modes: "auto" (try gh CLI first, fallback to PAT), "gh" (gh CLI only), and "pat" (PAT only).
func AuthenticateTarget ¶
AuthenticateTarget resolves only the target token (for public source repos).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.