use std::path::PathBuf;
#[derive(clap::Args, Debug)]
pub struct LockVerifyChainArgs {
#[arg(long, default_value = "state")]
pub state_dir: PathBuf,
#[arg(long)]
pub json: bool,
}
#[derive(clap::Args, Debug)]
pub struct LockStatsArgs {
#[arg(long, default_value = "state")]
pub state_dir: PathBuf,
#[arg(long)]
pub json: bool,
}
#[derive(clap::Args, Debug)]
pub struct LockAuditArgs {
#[arg(long, default_value = "state")]
pub state_dir: PathBuf,
#[arg(long)]
pub json: bool,
}
#[derive(clap::Args, Debug)]
pub struct LockCompressArgs {
#[arg(long, default_value = "state")]
pub state_dir: PathBuf,
#[arg(long)]
pub json: bool,
}
#[derive(clap::Args, Debug)]
pub struct LockDefragArgs {
#[arg(long, default_value = "state")]
pub state_dir: PathBuf,
#[arg(long)]
pub json: bool,
}
#[derive(clap::Args, Debug)]
pub struct LockNormalizeArgs {
#[arg(long, default_value = "state")]
pub state_dir: PathBuf,
#[arg(long)]
pub json: bool,
}
#[derive(clap::Args, Debug)]
pub struct LockValidateArgs {
#[arg(long, default_value = "state")]
pub state_dir: PathBuf,
#[arg(long)]
pub json: bool,
}
#[derive(clap::Args, Debug)]
pub struct LockVerifyHmacArgs {
#[arg(long, default_value = "state")]
pub state_dir: PathBuf,
#[arg(long)]
pub json: bool,
}
#[derive(clap::Args, Debug)]
pub struct LockArchiveArgs {
#[arg(long, default_value = "state")]
pub state_dir: PathBuf,
#[arg(long)]
pub json: bool,
}
#[derive(clap::Args, Debug)]
pub struct LockSnapshotArgs {
#[arg(long, default_value = "state")]
pub state_dir: PathBuf,
#[arg(long)]
pub json: bool,
}
#[derive(clap::Args, Debug)]
pub struct LockRepairArgs {
#[arg(long, default_value = "state")]
pub state_dir: PathBuf,
#[arg(long)]
pub json: bool,
}
#[derive(clap::Args, Debug)]
pub struct LockHistoryArgs {
#[arg(long, default_value = "state")]
pub state_dir: PathBuf,
#[arg(long)]
pub json: bool,
#[arg(long, default_value = "20")]
pub limit: usize,
}
#[derive(clap::Args, Debug)]
pub struct LockIntegrityArgs {
#[arg(long, default_value = "state")]
pub state_dir: PathBuf,
#[arg(long)]
pub json: bool,
}
#[derive(clap::Args, Debug)]
pub struct LockRehashArgs {
#[arg(long, default_value = "state")]
pub state_dir: PathBuf,
#[arg(long)]
pub json: bool,
}
#[derive(clap::Args, Debug)]
pub struct LockRestoreArgs {
#[arg(long, default_value = "state")]
pub state_dir: PathBuf,
#[arg(long)]
pub name: Option<String>,
#[arg(long)]
pub json: bool,
}
#[derive(clap::Args, Debug)]
pub struct LockVerifySchemaArgs {
#[arg(long, default_value = "state")]
pub state_dir: PathBuf,
#[arg(long)]
pub json: bool,
}
#[derive(clap::Args, Debug)]
pub struct LockTagArgs {
#[arg(long, default_value = "state")]
pub state_dir: PathBuf,
#[arg(long)]
pub name: String,
#[arg(long)]
pub value: String,
#[arg(long)]
pub json: bool,
}
#[derive(clap::Args, Debug)]
pub struct LockMigrateArgs {
#[arg(long, default_value = "state")]
pub state_dir: PathBuf,
#[arg(long)]
pub from_version: String,
#[arg(long)]
pub json: bool,
}