Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ConventionalCommitTypes = []string{"feat", "fix", "perf", "refactor", "docs", "test", "revert", "style", "chore", "build"}
)
Functions ¶
func IsCommitConventional ¶ added in v0.1.4
IsCommitConventional checks whether a commit message follows the conventions by comparing its prefix to those in ConventionalCommitTypes
Types ¶
type Options ¶
type Options struct { options.BaseOptions ScmFactory scmhelpers.Options GitClient gitclient.Interface CommandRunner cmdrunner.CommandRunner // contains filtered or unexported fields }
Options contains the command line flags
func NewCmdCheckSemantics ¶
NewCmdCheckSemantics creates a command object for the command
Click to show internal directories.
Click to hide internal directories.