util

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CSI = "\x1B["

	ResetColor = CSI + "0m"

	ClearLine = CSI + "2K"
	ResetLine = ClearLine + "\r" + ResetColor
)

Variables

This section is empty.

Functions

func IsWriterTerminal added in v0.0.3

func IsWriterTerminal(w io.Writer) bool

func ShowHelp

func ShowHelp(cmd *cobra.Command, args []string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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