1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
//! Resume command options use clap::Parser; /// Resume command options #[derive(Parser, Debug, Clone)] pub struct ResumeOpts { /// Checkpoint ID to resume from #[arg(short = 'c', long)] pub checkpoint: Option<String>, /// List available checkpoints #[arg(long)] pub list: bool, /// Clean old checkpoints #[arg(long)] pub clean: bool, }