use clap::Parser;
#[derive(Parser, Debug)]
pub struct ProfileArgs {
#[arg(
long = "token-pattern",
default_value = "__[A-Z0-9_]+__",
value_name = "REGEX"
)]
pub token_pattern: String,
#[arg(short = 'o', long = "stdout-file")]
pub stdout_file: Option<String>,
#[arg(last = true, required = true)]
pub cmd: Vec<String>,
#[arg(long = "rapl-polling")]
pub rapl_polling: Option<f64>,
#[arg(long = "use-root")]
pub use_root: bool,
}