command

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddWorkDirFlag

func AddWorkDirFlag(cmd *cobra.Command)

func GetWorkingDir

func GetWorkingDir(cmd *cobra.Command) (string, error)

func WrapError

func WrapError(err error) error

Types

type Error

type Error struct {
	Inner error
	Msg   string
}

func (*Error) Error

func (e *Error) Error() string

func (*Error) Unwrap

func (e *Error) Unwrap() error

Jump to

Keyboard shortcuts

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