ks_image_compare/
options.rs

1use clap::Parser;
2use std::path::PathBuf;
3
4#[derive(Parser)]
5#[command(author, version, about)]
6pub struct Args {
7    pub img1: PathBuf,
8    pub img2: PathBuf,
9    #[arg(long, short)]
10    pub output: Option<String>,
11}
12
13impl Args {
14    pub fn parse() -> Self {
15        Parser::parse()
16    }
17}