use clap::{Args, Subcommand};
use std::path::PathBuf;
#[derive(Debug, Args)]
pub(crate) struct TraceArgs {
#[command(subcommand)]
pub command: TraceCommand,
}
#[derive(Debug, Subcommand)]
pub(crate) enum TraceCommand {
Import(TraceImportArgs),
#[command(name = "prefix-stability")]
PrefixStability(TracePrefixStabilityArgs),
}
#[derive(Debug, Args)]
pub(crate) struct TracePrefixStabilityArgs {
pub transcript_dir: PathBuf,
#[arg(long)]
pub json: bool,
}
#[derive(Debug, Args)]
pub(crate) struct TraceImportArgs {
#[arg(long = "trace-file", value_name = "PATH")]
pub trace_file: String,
#[arg(long = "trace-id", value_name = "ID")]
pub trace_id: Option<String>,
#[arg(long = "output", value_name = "PATH")]
pub output: String,
}