prune

package
v0.6.7-96-g4008b7e Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *cobra.Command

Types

type Prune

type Prune struct {
	Name              string `long:"name" short:"n" usage:"Specify the package name that has to be pruned" default:""`
	All               bool   `long:"all" short:"a" usage:"Prunes all the packages available on the host machine"`
	NoManifestPackage bool   `long:"no-manifest-package" usage:"Prevent package manager from pruning manifest packages"`
	NoOCIPackage      bool   `long:"no-oci-package" usage:"Prevent package manager from pruning oci packages"`
}

func (*Prune) Pre

func (opts *Prune) Pre(cmd *cobra.Command, args []string) error

func (*Prune) Run

func (opts *Prune) Run(cmd *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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