Skip to main content

github_token

Function github_token 

Source
pub fn github_token() -> GithubToken
Expand description

Discover a GitHub token from environment or gh CLI. Cached after first call.

Returns an opaque GithubToken — the raw value can only be extracted via GithubToken::for_url for GitHub domains.