Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttachOutputFlag ¶
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)
Click to show internal directories.
Click to hide internal directories.