git-gamble 2.14.6

blend TDD + TCR to make sure to develop the right thing 😌, baby step by baby step πŸ‘ΆπŸ¦Ά
Documentation
use clap::Subcommand;

use super::hook::Hook;

#[derive(Subcommand, Debug)]
#[command(
	about("Help to use samples hooks"),
	after_help(
		[
			"Require git 2.54.0 or higher to actually execute hooks",
			"",
			"With git 2.53.0 or below, you have to manually setup hooks",
			"https://git-gamble.is-cool.dev/usage/hooks/examples.html#using-with-git-2530-or-below",
			"",
			"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 a sample hook
	Enable { hook: Hook },
	/// Disable a sample hook
	Disable { hook: Hook },
}