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

cmd

package
v0.40.10 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 25 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPackCommand added in v0.12.0

func NewPackCommand(logger ConfigurableLogger) (*cobra.Command, error)

NewPackCommand generates a Pack command

Types

type ConfigurableLogger added in v0.12.0

type ConfigurableLogger interface {
	logging.Logger
	WantTime(f bool)
	WantQuiet(f bool)
	WantVerbose(f bool)
}

ConfigurableLogger defines behavior required by the PackCommand

Jump to

Keyboard shortcuts

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