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