Documentation
¶
Overview ¶
Package cmd contains commitlint cli
Index ¶
- Constants
- func ConfigCheck(confPath string) error
- func ConfigCreate(onlyEnabled bool) error
- func HookCreate(confPath string, isReplace bool) error
- func Init(confPath string, isGlobal, isReplace bool) error
- func Lint(confPath, msgPath string) error
- func New() *cli.App
- func NewWith(versionNo, commitHash, builtTime string) *cli.App
Constants ¶
View Source
const (
// ErrExitCode represent error exit code
ErrExitCode = 1
)
Variables ¶
This section is empty.
Functions ¶
func ConfigCheck ¶ added in v0.5.0
ConfigCheck is the callback function for check/verify command
func ConfigCreate ¶ added in v0.5.0
ConfigCreate is the callback function for create config command
func HookCreate ¶ added in v0.5.0
HookCreate is the callback function for create hook command
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.