refactored every component thoroughly.

This commit is contained in:
glitchySid
2025-12-30 02:08:26 +05:30
parent a7668a6f0f
commit 33784d8f1d
31 changed files with 1073 additions and 1248 deletions

22
src/cli/args.rs Normal file
View File

@@ -0,0 +1,22 @@
use clap::Parser;
#[derive(Parser, Debug)]
#[command(author, version, about, long_about = None)]
pub struct Args {
#[arg(short, long, help = "Preview changes without moving files")]
pub dry_run: bool,
#[arg(
short,
long,
default_value_t = 5,
help = "Maximum concurrent API requests"
)]
pub max_concurrent: usize,
#[arg(long, help = "Recursively searches files in subdirectory")]
pub recursive: bool,
#[arg(long, help = "Undo the last file organization")]
pub undo: bool,
}