1use anyhow::Result;
23use crate::commands::Run;
45/// Move to the top of the stack: check out its leaf branch.
6#[derive(Debug, clap::Args)]
7pub struct Top {}
89impl Run for Top {
10fn run(self) -> Result<()> {
11crate::stack::checkout_top()
12 }
13}