Skip to main content

git_stk/commands/
down.rs

1use anyhow::Result;
2
3use crate::commands::Run;
4
5/// Move down the stack: check out the current branch's parent.
6#[derive(Debug, clap::Args)]
7pub struct Down {}
8
9impl Run for Down {
10    fn run(self) -> Result<()> {
11        crate::stack::checkout_parent()
12    }
13}