github_auth

crates.io version build status downloads docs.rs docs

Authenticate with GitHub from the command line.

Usage

```rust,ignore extern crate github_auth;

use github_auth::Authenticator;

let auth = Authenticator::default(); let creds = auth.auth().unwrap(); println!("{:?}", creds); ```

Installation

sh $ cargo add github_auth

License

MIT OR Apache-2.0