use clap::Parser;
#[derive(Parser, Debug)]
#[command(name = "devjournal", version, about)]
pub struct Args {
#[arg(short = 'c', long = "create")]
pub create: Option<String>,
#[arg(short = 'j', long = "journal")]
pub journal_name: Option<String>,
#[arg[value_name="ENTRY", trailing_var_arg=true]]
pub entry: Option<Vec<String>>,
#[arg(short = 'f', long = "from")]
pub from: Option<String>,
#[arg(short = 't', long = "to", requires = "from")]
pub to: Option<String>,
}