Documentation
¶
Index ¶
- Constants
- func Add(opts *Options, args *AddArgs) error
- func ConfigHookCommandCompletions(opts *Options, hookName string) []string
- func ConfigHookCompletions(opts *Options) []string
- func ConfigHookJobCompletions(opts *Options, hookName string) []string
- func Dump(opts *Options, args DumpArgs)
- func Install(opts *Options, hooks []string, force bool) error
- func Run(opts *Options, args RunArgs, hookName string, gitArgs []string) error
- func Uninstall(opts *Options, args *UninstallArgs) error
- func Validate(opts *Options) error
- type AddArgs
- type DumpArgs
- type Lefthook
- type Options
- type RunArgs
- type UninstallArgs
Constants ¶
View Source
const (
EnvVerbose = "LEFTHOOK_VERBOSE" // keep all output
)
Variables ¶
This section is empty.
Functions ¶
func ConfigHookCompletions ¶
func Uninstall ¶
func Uninstall(opts *Options, args *UninstallArgs) error
Types ¶
type Lefthook ¶
type Lefthook struct {
// contains filtered or unexported fields
}
func (*Lefthook) Uninstall ¶
func (l *Lefthook) Uninstall(args *UninstallArgs) error
type UninstallArgs ¶
type UninstallArgs struct {
Force, RemoveConfig bool
}
Click to show internal directories.
Click to hide internal directories.