mit-pre-commit 6.0.11

Run first, before you even type in a commit message. It's used to inspect the snapshot that's about to be committed.
1
2
3
4
5
6
7
8
9
10
use clap::Parser;
use clap_complete::Shell;

#[derive(Parser, Clone, Eq, PartialEq)]
#[clap(author, version, about)]
#[clap(bin_name = "mit-pre-commit")]
pub struct Args {
    #[clap(long, value_enum, value_parser)]
    pub completion: Option<Shell>,
}