output

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	VerboseLevel int
	CI           bool
)
View Source
var (
	OutputTypeFlag = pflagext.NewStringEnumVar(&outputFormat, allowedFormats, defaultFormat)
)

Functions

func NewPtermWriter

func NewPtermWriter(prefix pterm.PrefixPrinter) *pTermWriter

func Print

func Print(object interface{})

func StdoutToPtermDebug

func StdoutToPtermDebug(b io.ReadCloser, p Progress, prefix string)

Types

type Progress

type Progress interface {
	Debugf(format string, a ...interface{})
	Busyf(format string, a ...interface{})
	Successf(format string, a ...interface{})
	Failf(format string, a ...interface{})
}

Jump to

Keyboard shortcuts

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