command

package
v0.23.1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: MIT Imports: 6 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 InitializePackageManager added in v0.22.0

func InitializePackageManager(_ *cobra.Command) (pacman.PackageManager, error)

func ParsePackages added in v0.22.0

func ParsePackages(args []string) (map[string]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