pub fn resolve_github_token() -> Result<String, SecretsError>Expand description
Resolve a GitHub token from environment or gh auth token.
Resolution order:
GITHUB_TOKENenvironment variableGH_TOKENenvironment variablegh auth tokencommand output
ยงErrors
Returns SecretsError::NotFound if no token could be found.
Returns SecretsError::CommandFailed if gh exists but returns an error.
Returns SecretsError::Io if gh cannot be executed.