#![allow(clippy::print_stderr)]
use clap::Parser;
use zakurad::commands::prune_state::PruneStateCmd;
fn main() {
let command = PruneStateCmd::parse();
if let Err(error) = command.run_with_config(zakura_state::Config::default()) {
eprintln!("failed to prune finalized state: {error}");
std::process::exit(1);
}
}