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

cmd

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = "dev"
	Commit  = "none"
	Date    = "unknown"
)

Version information - set via ldflags during build

View Source
var (
	JsonLogoutput   bool
	LogFile         string
	LogColor        bool
	LogDebug        bool
	LogLevel        string
	IgnoreProxy     bool
	ConfigFile      string
	TLSVerification bool
	Proxy           string
	HTTPTimeout     time.Duration
)

Functions

func CloseLogger added in v0.52.0

func CloseLogger()

CloseLogger closes any open log file handle created by initLogger. Safe to call multiple times.

func Execute

func Execute() error

Types

type CustomWriter

type CustomWriter struct {
	Writer *os.File
}

func (*CustomWriter) Write

func (cw *CustomWriter) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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