Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Hooks a list of all available git hooks Hooks = []string{ "applypatch-msg", "commit-msg", "post-commit", "post-receive", "post-update", "pre-applypatch", "pre-commit", "prepare-commit-msg", "pre-rebase", "update", } )
Functions ¶
This section is empty.
Types ¶
type CommandData ¶
CommandData contains all command related data
type Githook ¶
type Githook struct { Path string Cwd string CommandData *CommandData }
Githook command to create git hooks
func (*Githook) StartCommandSurvey ¶
StartCommandSurvey collect all required informations from user
Click to show internal directories.
Click to hide internal directories.