Function get_github_token

Source
pub fn get_github_token() -> Result<String, Box<dyn Error>>
Expand description

Retrieves the GitHub token from the GITHUB_TOKEN environment variable or from a configuration file.

ยงErrors

Returns an error if the token is not found in the environment or configuration files.