use clap::Args;
use console::style;
use std::path::PathBuf;
#[derive(Args)]
pub struct ResumeArgs {
#[arg(short, long, default_value = ".synthclaw/checkpoint.json")]
pub checkpoint: PathBuf,
#[arg(long)]
pub force: bool,
}
pub async fn run(args: ResumeArgs) -> anyhow::Result<()> {
println!(
"{} Resuming from checkpoint: {:?}",
style("→").cyan().bold(),
args.checkpoint
);
if !args.checkpoint.exists() {
anyhow::bail!(
"Checkpoint file not found: {:?}\nRun a generation first with checkpoint.enabled = true",
args.checkpoint
);
}
println!(
"{}",
style("Checkpoint resume not yet implemented").yellow()
);
Ok(())
}