Documentation ¶
Overview ¶
Package commands defines the various sub-commands for the boilerplate-check tool.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrBoilerplateRequired = errors.New("--boilerplate is a required flag.") ErrFileExtensionRequired = errors.New("--file-extension is a required flag.") )
View Source
var BuildDate string
View Source
var GitRevision string
View Source
var Version string
These are filled in via link flags.
Functions ¶
func NewCheckCommand ¶
NewCheckCommand implements the `check` sub-command
func NewVersionCommand ¶
NewVersionCommand implements the `versions` sub-command This is derived from the kn plugin sample code.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.