use crate::types::RemoteFile;
use clap::Parser;
use std::path::PathBuf;
#[derive(Parser)]
pub struct Cli {
#[clap(short, long)]
pub(crate) verbose: bool,
#[clap(short, long = "check", value_name = "CHECK_FILE")]
pub(crate) checks: Vec<PathBuf>,
#[clap(value_name = "PROJECT_DIR")]
pub project_dir: Option<PathBuf>,
#[clap(long)]
pub(crate) no_read_cache: bool,
#[clap(long)]
pub(crate) no_write_cache: bool,
#[clap(short, long)]
pub(crate) no_cache: bool,
#[clap(long)]
pub(crate) clear_cache: bool,
#[clap(long)]
pub(crate) no_user_checklists: bool,
#[clap(long)]
pub(crate) fail_fast: bool,
#[clap(long)]
pub(crate) external_checklist: Vec<RemoteFile>,
#[clap(long)]
pub(crate) external_template: Vec<RemoteFile>,
}
#[cfg(test)]
mod tests {
use super::*;
use clap::CommandFactory;
#[test]
fn verify_clap_args() {
Cli::command().debug_assert();
}
}