index : gmss.git

ascending towards madness

use clap::Parser;

#[derive(Parser, Debug)]
pub struct Args {
    /// The format to use for timestamps
    #[arg(long, default_value = "screenshot-%Y-%m-%d_%H-%M-%S.png")]
    pub filename_format: Option<String>,

    /// The output directory to write the file to.
    ///
    /// If a filename is specified instead of a directory, this will be used
    /// for the output filename in place of `filename_format`.
    #[arg(short, long)]
    pub out: String,
}