git-loom 0.18.0

A Git CLI tool that weaves together multiple feature branches into integration branches
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use anyhow::{Result, bail};

pub fn run(shell: String) -> Result<()> {
    match shell.as_str() {
        "powershell" | "pwsh" => {
            print!("{}", include_str!("git-loom.ps1"));
            Ok(())
        }
        "clink" | "cmd" => {
            print!("{}", include_str!("git-loom.lua"));
            Ok(())
        }
        _ => bail!(
            "Unsupported shell: '{}'. Supported shells: powershell, clink",
            shell
        ),
    }
}