use clap::Subcommand;
use super::hook::Hook;
#[derive(Subcommand, Debug)]
#[command(
about("Help to use samples hooks"),
after_help(
[
"The available hooks are just examples",
"Create any others behaviors using hooks using the standard git hook API",
"https://git-scm.com/docs/git-hook",
"",
"To have more informations, read the documentation about hooks",
"https://git-gamble.is-cool.dev/usage/hooks.html",
].join("\n")
),
)]
pub enum SubCommandHook {
Enable { hook: Hook },
Disable { hook: Hook },
}