cmd

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2019 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddConfigYaml

func AddConfigYaml(fs afero.Fs)

AddConfigYaml write hookah.yml in root project directory

func AddGitHooks

func AddGitHooks(fs afero.Fs)

AddGitHooks write existed directories in source_dir as hooks in .git/hooks

func Execute

func Execute()

func FilterExclude added in v0.1.3

func FilterExclude(vs []string, matcher string) []string

func FilterGlob added in v0.1.4

func FilterGlob(vs []string, matcher string) []string

func FilterInclude added in v0.1.3

func FilterInclude(vs []string, matcher string) []string

func InstallCmdExecutor

func InstallCmdExecutor(args []string, fs afero.Fs)

InstallCmdExecutor execute basic configuration

func RunCmdExecutor

func RunCmdExecutor(args []string, fs afero.Fs) error

RunCmdExecutor run executables in hook groups

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL