github_auth
Authenticate with GitHub from the command line. Caches the authentication token so that future interactions just work.
Usage
extern crate github_auth;
use Authenticator;
let auth = new;
let creds = auth.auth.unwrap;
println!;
let location = auth.location;
println!;
Example Output
This dialog is only required to generate a valid token. Once a valid token is created, it will no longer be shown.
GitHub username: my_name
GitHub password:
GitHub OTP (optional): 5678
Installation
License
MIT OR Apache-2.0