simit 0.17.7

Semver-aware git commit helper for Rust projects
Documentation
1
2
3
4
5
6
7
8
9
10
use anyhow::Result;
use clap::CommandFactory;

use crate::cli::{Cli, CompletionsCommand};

pub fn run(command: CompletionsCommand) -> Result<()> {
    let mut cli = Cli::command();
    clap_complete::generate(command.shell, &mut cli, "simit", &mut std::io::stdout());
    Ok(())
}