Documentation
¶
Overview ¶
Package cmd contains commitlint cli
Index ¶
Constants ¶
View Source
const ( // ErrExitCode represent error exit code ErrExitCode = 1 // HookDir represent default hook directory HookDir = ".commitlint/hooks" )
Variables ¶
This section is empty.
Functions ¶
func CreateConfig ¶ added in v0.4.0
CreateConfig is the callback function for create config command
func CreateHook ¶ added in v0.4.0
func CreateHook() (retErr error)
CreateHook is the callback function for create hook command
func NewWith ¶ added in v0.4.0
func NewWith(versionNo, commitHash, builtTime string) *cli.App
NewWith returns commitlint cli.App with version info
func VerifyConfig ¶ added in v0.4.0
VerifyConfig is the callback function for verify command
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.