use std::path::PathBuf;
use clap::Args;
use super::Format;
#[derive(Debug, Args)]
pub struct SnapshotArgs {
#[arg(long, conflicts_with = "prune")]
pub list: bool,
#[arg(long)]
pub prune: bool,
#[arg(long, value_enum, default_value_t = Format::Text)]
pub format: Format,
}
#[derive(Debug, Args)]
pub struct RestoreArgs {
pub snapshot: Option<String>,
#[arg(long)]
pub patch: bool,
#[arg(last = true, value_name = "PATH")]
pub paths: Vec<PathBuf>,
}