qa

package
v2.5.4 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LintCommands

func LintCommands(commands *core.Commands) []error

Types

type ArgMustUseDashError

type ArgMustUseDashError struct {
	Command *core.Command
	Argspec *core.ArgSpec
}

func (ArgMustUseDashError) Error

func (err ArgMustUseDashError) Error() string

type DifferentLocalizationForNamespaceError

type DifferentLocalizationForNamespaceError struct {
	Command1  *core.Command
	Command2  *core.Command
	Checks    []bool
	ArgNames1 []string
	ArgNames2 []string
}

func (DifferentLocalizationForNamespaceError) Error

type DuplicatedCommandError

type DuplicatedCommandError struct {
	Command *core.Command
}

func (DuplicatedCommandError) Error

func (err DuplicatedCommandError) Error() string

type ExampleCanHaveOnlyOneTypeOfExampleError

type ExampleCanHaveOnlyOneTypeOfExampleError struct {
	Command      *core.Command
	ExampleIndex int
}

func (ExampleCanHaveOnlyOneTypeOfExampleError) Error

type MissingExampleError

type MissingExampleError struct {
	Command *core.Command
}

func (MissingExampleError) Error

func (err MissingExampleError) Error() string

type PositionalArgMustBeRequiredError

type PositionalArgMustBeRequiredError struct {
	Command *core.Command
	Argspec *core.ArgSpec
}

func (PositionalArgMustBeRequiredError) Error

type ShortMustBePresentError

type ShortMustBePresentError struct {
	Command *core.Command
}

func (ShortMustBePresentError) Error

func (err ShortMustBePresentError) Error() string

type ShortMustNotEndWithDotError

type ShortMustNotEndWithDotError struct {
	Command *core.Command
}

func (ShortMustNotEndWithDotError) Error

func (err ShortMustNotEndWithDotError) Error() string

type WellKnownArgAtTheEndError

type WellKnownArgAtTheEndError struct {
	Command *core.Command
	Argspec *core.ArgSpec
}

func (WellKnownArgAtTheEndError) Error

func (err WellKnownArgAtTheEndError) Error() string

type WellKnownArgOrderError

type WellKnownArgOrderError struct {
	Command *core.Command
	Argspec *core.ArgSpec
}

func (WellKnownArgOrderError) Error

func (err WellKnownArgOrderError) Error() string

Jump to

Keyboard shortcuts

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