Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
InstallHooksCmd = &cobra.Command{
Use: "install",
Short: "Subcommand to install hooks for commit messages either local or global level.",
Example: "mock-my-commit install --local / mock-my-commit install --global",
Run: runInstallHooksSetupCmd,
}
)
Functions ¶
func SetupGlobalHooksForLinuxAndMac ¶ added in v0.4.15
func SetupGlobalHooksForLinuxAndMac(global bool)
func SetupGlobalHooksForWindows ¶ added in v0.4.15
func SetupGlobalHooksForWindows(global bool)
func SetupLocalHooksForLinuxAndMac ¶ added in v0.4.15
func SetupLocalHooksForLinuxAndMac(local bool)
func SetupLocalHooksForWindows ¶ added in v0.4.15
func SetupLocalHooksForWindows(local bool)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.