Help us shape the future of Go! Take the 2026 Go Developer Survey

dfcmd

package
v1.124.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProxyCmd

func NewProxyCmd(f cmdutils.Factory, spec ProxySpec) *cobra.Command

NewProxyCmd builds a df package-manager wrapper command from spec.

Types

type ProxySpec

type ProxySpec struct {
	Manager func() pm.PackageManager
	Use     string
	Short   string
	Long    string
	Example string
}

ProxySpec describes one package-manager wrapper command. The wrapper forwards all args to the package manager binary through the Dependency Firewall inspection proxy.

Jump to

Keyboard shortcuts

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