1 2 3 4 5 6 7 8 9 10 11 12 13 14
use anyhow::Result; use crate::commands::Run; /// Move to the bottom of the stack: check out the branch just above the /// trunk. #[derive(Debug, clap::Args)] pub struct Bottom {} impl Run for Bottom { fn run(self) -> Result<()> { crate::stack::checkout_bottom() } }