kabu 0.7.1

CLI tool to enhance git worktree and jj workspace with automated setup
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::cli;
use crate::error::Result;

use std::io;

use clap_complete::Shell;

/// Execute the `completions` subcommand.
pub(crate) fn run(shell: Shell) -> Result<()> {
    let mut cmd = cli::build();
    clap_complete::generate(shell, &mut cmd, "kabu", &mut io::stdout());
    Ok(())
}