Skip to main content

git_workty/commands/
completions.rs

1use clap::CommandFactory;
2use clap_complete::{generate, Shell};
3use std::io;
4
5pub fn execute<C: CommandFactory>(shell: Shell) {
6    let mut cmd = C::command();
7    generate(shell, &mut cmd, "git-workty", &mut io::stdout());
8}