validate

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2021 License: BSD-2-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdValidate

func NewCmdValidate(cf *cmdutils.CLIFactory) *cobra.Command

NewCmdVersion returns the current version of cli being used

Types

type Options

type Options struct {
	AnalyzerNames         []string
	AnalyzerShortcodes    []string
	AnalyzersMap          map[string]string // Map for {analyzer name : shortcode}
	AnalyzersMeta         []string
	TransformerNames      []string
	TransformerShortcodes []string
	TransformerMap        map[string]string // Map for {transformer name:shortcode}
	// contains filtered or unexported fields
}

Options holds the metadata.

func (*Options) Run

func (o *Options) Run() error

Run executes the command.

func (*Options) Validate

func (o *Options) Validate() error

Validate impletments the Validate method for the ICommand interface.

Jump to

Keyboard shortcuts

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