list

package
v0.47.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CmdList

type CmdList struct {
	// contains filtered or unexported fields
}

CmdList is a rule list command.

func NewCmdList

func NewCmdList(
	flags Flags,
	stdout io.Writer,
	stderr io.Writer,
) *CmdList

NewCmdList creates a new CmdList.

func (*CmdList) Run

func (c *CmdList) Run() osutil.ExitCode

Run lists each rule description.

type Flags added in v0.39.0

type Flags struct {
	*flag.FlagSet

	Plugins []shared.RuleSet
}

Flags represents a set of lint flag parameters.

func NewFlags added in v0.39.0

func NewFlags(
	args []string,
) (Flags, error)

NewFlags creates a new Flags.

Jump to

Keyboard shortcuts

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