Skip to main content

gbm/cmds/
rename.rs

1use owo_colors::OwoColorize;
2
3pub fn run(branch_name: &str) -> rootcause::Result<()> {
4    ytil_git::branch::rename_current(branch_name, None)?;
5    println!("{} {}", ">".magenta().bold(), branch_name.bold());
6    Ok(())
7}