commands

package
v0.0.0-...-3fbe5e1 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

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 AddAll

func AddAll(cmd *cobra.Command)

func NewCheckCommand

func NewCheckCommand() *cobra.Command

NewCheckCommand implements the `check` sub-command

func NewVersionCommand

func NewVersionCommand() *cobra.Command

NewVersionCommand implements the `versions` sub-command This is derived from the kn plugin sample code.

Types

This section is empty.

Jump to

Keyboard shortcuts

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