use camino::Utf8PathBuf;
#[derive(Debug, clap::Args)]
pub struct TrackArgs {
#[command(subcommand)]
pub command: TrackCommand,
}
#[derive(Debug, clap::Subcommand)]
pub enum TrackCommand {
Status(StatusArgs),
Check(CheckArgs),
}
#[derive(Debug, clap::Args)]
pub struct StatusArgs {
#[arg(long, default_value = ".")]
pub target: Utf8PathBuf,
#[arg(long)]
pub as_of: Option<String>,
#[arg(long)]
pub json: bool,
}
#[derive(Debug, clap::Args)]
pub struct CheckArgs {
#[arg(long, default_value = ".")]
pub target: Utf8PathBuf,
#[arg(long)]
pub id: Option<String>,
#[arg(long)]
pub fail_on_update: bool,
#[arg(long)]
pub json: bool,
}