Documentation
¶
Index ¶
- type IOStreams
- func (s *IOStreams) ColorEnabled() bool
- func (s *IOStreams) IsStderrTTY() bool
- func (s *IOStreams) IsStdinTTY() bool
- func (s *IOStreams) IsStdoutTTY() bool
- func (s *IOStreams) SetStderrTTY(isTTY bool)
- func (s *IOStreams) SetStdinTTY(isTTY bool)
- func (s *IOStreams) SetStdoutTTY(isTTY bool)
- func (s *IOStreams) TerminalWidth() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IOStreams ¶
type IOStreams struct {
In io.ReadCloser
Out io.Writer
ErrOut io.Writer
// contains filtered or unexported fields
}
func (*IOStreams) ColorEnabled ¶
func (*IOStreams) IsStderrTTY ¶ added in v0.11.1
func (*IOStreams) IsStdinTTY ¶ added in v0.11.1
func (*IOStreams) IsStdoutTTY ¶ added in v0.11.1
func (*IOStreams) SetStderrTTY ¶ added in v0.11.1
func (*IOStreams) SetStdinTTY ¶ added in v0.11.1
func (*IOStreams) SetStdoutTTY ¶ added in v0.11.1
func (*IOStreams) TerminalWidth ¶ added in v0.12.0
Click to show internal directories.
Click to hide internal directories.