Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InitCmd = &cobra.Command{ Use: "init", Short: "Initialize a new config", RunE: func(cmd *cobra.Command, args []string) error { return runInit(cmd.Context()) }, }
View Source
var InstallCmd = &cobra.Command{ Use: "install", Short: "Install the git hooks", RunE: func(cmd *cobra.Command, args []string) error { return runInstall(cmd.Context()) }, }
View Source
var RootCmd = &cobra.Command{ Use: "ghc", Short: "ghc is a teeny tiny tool to manage git hooks", RunE: func(cmd *cobra.Command, args []string) error { return runRoot(cmd.Context()) }, Version: fmt.Sprintf(versionFmt, version, commit, date), }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.