cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "0.1.0-dev"

Version is set by goreleaser via ldflags.

Functions

func Execute

func Execute(ctx context.Context) error

func IsFailOnError

func IsFailOnError(err error) bool

IsFailOnError checks if an error is a --fail-on policy violation.

Types

type FailOnError

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

FailOnError is a sentinel error that causes exit code 2 for CI pipelines.

func (*FailOnError) Error

func (e *FailOnError) Error() string

Jump to

Keyboard shortcuts

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