use clap::{ArgAction, Parser};
#[derive(Debug, Parser)]
#[command(
name = "fuckport",
version,
about = "Kill processes by PID, name, or port."
)]
pub struct Cli {
#[arg(value_name = "TARGET")]
pub targets: Vec<String>,
#[arg(short, long, action = ArgAction::SetTrue)]
pub force: bool,
#[arg(short = 'c', long, action = ArgAction::SetTrue)]
pub case_sensitive: bool,
#[arg(short, long, action = ArgAction::SetTrue)]
pub silent: bool,
#[arg(short, long, action = ArgAction::SetTrue)]
pub verbose: bool,
#[arg(short, long, action = ArgAction::SetTrue)]
pub interactive: bool,
#[arg(long, default_value_t = 1500, visible_alias = "wait-ms")]
pub force_after_timeout: u64,
#[arg(long, default_value_t = 5000)]
pub wait_for_exit: u64,
}