sanity

package
v3.11.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AllCmdChecks = []CmdCheck{
		CheckLongDesc,
		CheckExamples,
	}
)

Functions

func CheckCmdTree

func CheckCmdTree(cmd *cobra.Command, checks []CmdCheck, skip []string) []error

func CheckExamples

func CheckExamples(cmd *cobra.Command) []error

func CheckLongDesc

func CheckLongDesc(cmd *cobra.Command) []error

Types

type CmdCheck

type CmdCheck func(cmd *cobra.Command) []error

Jump to

Keyboard shortcuts

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