cmd

package
v0.49.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2025 License: AGPL-3.0 Imports: 17 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
)
View Source
var TerminalRestorer func()

TerminalRestorer is a function that can be called to restore terminal state

Functions

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)

type FatalHook

type FatalHook struct{}

FatalHook is a zerolog hook that restores terminal state before fatal exits

func (FatalHook) Run

func (h FatalHook) Run(e *zerolog.Event, level zerolog.Level, msg string)

Directories

Path Synopsis
Package common provides shared functionality for pipeleek platform-specific binaries.
Package common provides shared functionality for pipeleek platform-specific binaries.

Jump to

Keyboard shortcuts

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