cliui

package
v0.0.0-...-1b94cb7 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ColorUi

type ColorUi struct {
	IoStreams *iostreams.IOStreams
	// contains filtered or unexported fields
}

Handles printing using iostreams.ColorScheme()

func NewColorUi

func NewColorUi() *ColorUi

func (*ColorUi) Bold

func (ui *ColorUi) Bold(t string)

func (*ColorUi) Error

func (ui *ColorUi) Error(t string)

func (*ColorUi) Errorf

func (ui *ColorUi) Errorf(t string, args ...interface{})

func (*ColorUi) Gray

func (ui *ColorUi) Gray(t string)

func (*ColorUi) Grayf

func (ui *ColorUi) Grayf(t string, args ...interface{})

func (*ColorUi) Grayln

func (ui *ColorUi) Grayln(t string)

func (*ColorUi) Log

func (ui *ColorUi) Log(t string)

func (*ColorUi) Logf

func (ui *ColorUi) Logf(t string, args ...interface{})

func (*ColorUi) Success

func (ui *ColorUi) Success(t string)

func (*ColorUi) Successf

func (ui *ColorUi) Successf(t string, args ...interface{})

func (*ColorUi) Warn

func (ui *ColorUi) Warn(t string)

func (*ColorUi) Warnf

func (ui *ColorUi) Warnf(t string, args ...interface{})

Jump to

Keyboard shortcuts

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