// src/main.rs mod manip; mod tests; use std::path::PathBuf; use clap::Parser; use log::error; #[derive(Parser)] #[command(version, about, long_about = None)] struct Cli { /// Selects a custom config file config: Option, /// Specifies files/directories for blocks #[arg(short = 'B', long)] block: Vec, /// Specifies files/directories for silences #[arg(short = 'M', long)] mute: Vec, /// Specifies confidence in a source. Default = 100 #[arg(short, long)] trust: Vec, /// Sets output directory (optional, defaults to current directory) #[arg(last = true)] path: Option, // TODO more options // TODO verbose mode } fn main() { env_logger::init(); let cli = Cli::parse(); if cli.block.is_empty() && cli.mute.is_empty() && cli.config.is_none() { error!("No lists or configuration provided."); } // TODO argument parsing - IN PROGRESS // TODO logging }