Documentation ¶
Index ¶
- type IOStreams
- func (s *IOStreams) CanPrompt() bool
- func (s *IOStreams) GetNeverPrompt() bool
- func (s *IOStreams) IsStderrTTY() bool
- func (s *IOStreams) IsStdinTTY() bool
- func (s *IOStreams) IsStdoutTTY() bool
- func (s *IOStreams) NewIOStreams() *IOStreams
- func (s *IOStreams) SetNeverPrompt(neverPrompt bool)
- func (s *IOStreams) SetStderrTTY(tty bool)
- func (s *IOStreams) SetStdinTTY(tty bool)
- func (s *IOStreams) SetStdoutTTY(tty bool)
- func (s *IOStreams) StdinTTY() bool
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) GetNeverPrompt ¶
func (*IOStreams) IsStderrTTY ¶
func (*IOStreams) IsStdinTTY ¶
func (*IOStreams) IsStdoutTTY ¶
func (*IOStreams) NewIOStreams ¶
func (*IOStreams) SetNeverPrompt ¶
func (*IOStreams) SetStderrTTY ¶
func (*IOStreams) SetStdinTTY ¶
func (*IOStreams) SetStdoutTTY ¶
Click to show internal directories.
Click to hide internal directories.