output

package
v0.4.39 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttachOutputFlag

func AttachOutputFlag(cmd *cobra.Command)

func GetStdoutFd

func GetStdoutFd() int

func IsTerminal

func IsTerminal() bool

Types

type OutputType

type OutputType string
const (
	PlainOutput OutputType = "plain"
	TtyOutput   OutputType = "tty"
)

func ValidateAndRetrieveOutputFlag

func ValidateAndRetrieveOutputFlag(cmd *cobra.Command) (OutputType, error)

Jump to

Keyboard shortcuts

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