cmd

package
v0.0.0-...-f204870 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunAndHandleError

func RunAndHandleError(runE func(cmd *cobra.Command, args []string) error) func(*cobra.Command, []string) error

RunAndHandleError returns a RunE function that runs the specified RunE function and exits if it returns an error. @llr REQ-TRAQ-SWL-59

func RunRootCommand

func RunRootCommand() error

Runs the root command and defers the cleanup of the temporary directories until it exits. @llr REQ-TRAQ-SWL-32, REQ-TRAQ-SWL-59

Types

type LintMessage

type LintMessage struct {
	Name        string `json:"name"`
	Code        string `json:"code"`
	Severity    string `json:"severity"`
	Path        string `json:"path"`
	Line        int    `json:"line"`
	Char        int    `json:"char"`
	Description string `json:"description"`
}

Jump to

Keyboard shortcuts

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