code optimizations

This commit is contained in:
sreedev
2023-01-13 20:54:09 -05:00
parent 0031891b8b
commit 81c96ce3b8
7 changed files with 62 additions and 56 deletions

View File

@@ -1,5 +1,4 @@
use std::{fs, path::PathBuf};
use anyhow::{anyhow, Result};
use clap::Parser;
@@ -17,7 +16,7 @@ pub struct Params {
pub nocache: bool,
/// Delete files interactively
#[arg(long, short)]
pub interactive: bool
pub interactive: bool,
}
impl Params {