Documentation
¶
Overview ¶
Package cli implements printing functionality for CLI output.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewIn ¶ added in v0.0.9
func NewIn(in io.ReadCloser) *launchr.In
NewIn returns a new In object from a io.ReadCloser Deprecated: use launchr.NewIn
func NewOut ¶ added in v0.0.9
NewOut returns a new Out object from a io.Writer Deprecated: use launchr.NewOut
func NoopStreams ¶ added in v0.2.4
NoopStreams provides streams like /dev/null. Deprecated: use launchr.NoopStreams
func Print ¶
Print formats a string. Deprecated: use `launchr.Term().Printf()` or `launchr.Term().Info().Printf()`
func Println ¶
Println formats a string and adds a new line. Deprecated: use `launchr.Term().Printfln()` or `launchr.Term().Info().Printfln()`
func StandardStreams ¶ added in v0.0.9
StandardStreams sets a cli in, out and err streams with the standard streams. Deprecated: use launchr.StandardStreams
Types ¶
type In ¶ added in v0.0.9
In is an input stream used by the DockerCli to read user input Deprecated: use launchr.In
type Out ¶ added in v0.0.9
Out is an output stream used by the DockerCli to write normal program output. Deprecated: use launchr.Out
type Streams ¶
Streams is an interface which exposes the standard input and output streams Deprecated: use launchr.Streams