create_client

Function create_client 

Source
pub fn create_client() -> Result<Octocrab>
Expand description

Creates an authenticated Octocrab client using the token priority chain.

Uses resolve_token to find credentials from environment variables, GitHub CLI, or system keyring.

Returns an error if no token is found from any source.