Skip to main content

resolve_token

Function resolve_token 

Source
pub fn resolve_token() -> Result<String>
Expand description

Resolve a GitHub API token.

Checks GITHUB_TOKEN environment variable first, then falls back to gh auth token subprocess. Returns an error if neither works.