bearer 0.2.3

Command line utility to generate HTTP Authorization header with bearer tokens. This is achieved with OAuth2 authorization code and refresh token workflow.
1
2
3
4
5
6
7
8
9
10
11
use super::super::results::BearerResult;
use super::super::helpers::path;


pub fn command(config_dir: &str) -> BearerResult<()> {
    let clients = path::list_clients(config_dir)?;
    for client in clients {
        println!("{}", client);
    }
    Ok(())
}