chest-rs 0.2.0

A multiplatform CLI command organizer
Documentation
1
2
3
4
5
6
7
8
9
use std::fs;

use crate::{dirs::db_path, AppResult};

pub fn run() -> AppResult<()> {
    // Remove db file if it exists
    let db_path = db_path();
    Ok(fs::remove_file(db_path)?)
}