Skip to main content

git_stk/commands/
bottom.rs

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