use clap::Parser;
use std::path::{Path, PathBuf};
#[derive(Parser, Default, Debug)]
#[command(author = "Ddraigan", version, about = "A side by side git diff view")]
pub struct Args {
#[clap(short = 'C', long)]
change_dir: bool,
path: PathBuf,
}
impl Args {
pub fn path(&self) -> &Path {
&self.path
}
pub fn change_dir(&self) -> bool {
self.change_dir
}
}