use anyhow::Result;
use crate::commands::Run;
/// Undo the last stack-rewriting command - any command that snapshots the
/// stack before touching it - restoring local branch tips and metadata.
#[derive(Debug, clap::Args)]
pub struct Undo {}
impl Run for Undo {
fn run(self) -> Result<()> {
crate::stack::undo()
}
}