cli

package
v0.0.0-...-4d2d905 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(args []string)

func NewLicensesCmd

func NewLicensesCmd() *cobra.Command

func NewVersionCmd

func NewVersionCmd() *cobra.Command

Types

type ExitError

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

func WrapError

func WrapError(err error, details string) *ExitError

func WrapErrorWithCode

func WrapErrorWithCode(err error, code int, details string) *ExitError

func (*ExitError) Code

func (e *ExitError) Code() int

func (*ExitError) Details

func (e *ExitError) Details() string

func (*ExitError) Err

func (e *ExitError) Err() error

func (*ExitError) Error

func (e *ExitError) Error() string

Jump to

Keyboard shortcuts

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