git-gamble 2.12.1

blend TDD + TCR to make sure to develop the right thing 😌, baby step by baby step πŸ‘ΆπŸ¦Ά
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use clap::CommandFactory;

use super::cli::Cli;

pub fn generate_shell_completions<Generator>(package_name: &str, shell_generator: Generator)
where
	Generator: Fn(&str, &mut clap::Command),
{
	let mut command = Cli::command();

	shell_generator(package_name, &mut command)
}