ui

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2020 License: Apache-2.0 Imports: 7 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UI

type UI struct {
	Out       io.Writer
	Err       io.Writer
	In        io.Reader
	ErrIsTerm bool
}

func (*UI) Error

func (u *UI) Error(err error)

func (*UI) Loading

func (u *UI) Loading(message string, progress <-chan engine.Progress) (err error)

func (*UI) Output

func (u *UI) Output(format string, a ...interface{})

func (*UI) Prompt

func (u *UI) Prompt(message string) string

func (*UI) Warn

func (u *UI) Warn(format string, a ...interface{})

Jump to

Keyboard shortcuts

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