ghtool 0.9.0

A command-line tool for interacting with Github API with some specialized features oriented around Checks
1
2
3
4
5
6
7
8
use crate::{term::bold, token_store};
use eyre::Result;

pub fn logout(hostname: &str) -> Result<()> {
    token_store::delete_token(hostname)?;
    println!("Logged out of {} account", bold(hostname));
    Ok(())
}