Documentation
¶
Overview ¶
Package cli provides the command-line interface for GitHubby
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "dev" Commit = "unknown" BuildDate = "unknown" )
Version information (set via ldflags)
Functions ¶
func GetToken ¶
func GetToken() string
GetToken returns the configured token, checking multiple sources Priority: CLI flag > environment variable > stored token (keychain/config)
func GetTokenWithAuth ¶
GetTokenWithAuth returns the token using the auth package's resolution logic This checks CLI flag, environment variable, and stored tokens
func SetVersionInfo ¶
func SetVersionInfo(version, commit, buildDate string)
SetVersionInfo sets the version information (called from main)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.