jira-terminal 2.5.0

This is a command line application that can be used as a personal productivity tool for interacting with JIRA
1
2
3
4
5
6
7
8
9
10
use std::path::Path;

use crate::config::get_config_file_name;

pub fn delete_configuration() {
    let conf_fn = get_config_file_name();
    let path = Path::new(&conf_fn);
    std::fs::remove_file(path).unwrap(); // user will be prompted for login
    println!("You've logged out successfully, please keep your jira token handy for next time")
}