cmd

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2025 License: 0BSD Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(pkg string, skipConfirmation bool, lockfile config.Lockfile) error

func Info

func Info(pkg string) (string, error)

func List

func List(lockfile config.Lockfile) []string

func Remove

func Remove(pkg string, lockfile config.Lockfile, isForUpdate bool) error
func Search(query string) ([]string, error)

func Update

func Update(pkgs []string, skipConfirmation bool, lockfile config.Lockfile) error

Types

type ErrorPackageDependencyOf

type ErrorPackageDependencyOf struct {
	Name, Dependent string
}

func (ErrorPackageDependencyOf) Error

func (e ErrorPackageDependencyOf) Error() string

type ErrorPackageNotInstalled

type ErrorPackageNotInstalled struct {
	Name string
}

func (ErrorPackageNotInstalled) Error

func (e ErrorPackageNotInstalled) Error() string

Jump to

Keyboard shortcuts

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