printing

package
v1.1.18 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Printer

type Printer interface {
	// AddFlags adds --output-format and --output-file flags to a cobra FlagSet
	AddFlags(flags *pflag.FlagSet)
	// VerifyFlags verifies flags have correct values
	VerifyFlags() error
	// PrintOutput prints output in the user-supplied format
	PrintOutput(output interface{}, stdout io.Writer) error
}

Printer is a tool for printing formatted output from thelma cli commands.

func NewPrinter

func NewPrinter() Printer

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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