Documentation ¶
Index ¶
- func FailureIcon() string
- func SuccessIcon() string
- type IOStreams
- func (s *IOStreams) CanPrompt() bool
- func (s *IOStreams) IsStderrTTY() bool
- func (s *IOStreams) IsStdinTTY() bool
- func (s *IOStreams) IsStdoutTTY() bool
- func (s *IOStreams) SetNeverPrompt(v bool)
- func (s *IOStreams) SetStderrTTY(isTTY bool)
- func (s *IOStreams) SetStdinTTY(isTTY bool)
- func (s *IOStreams) SetStdoutTTY(isTTY bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IOStreams ¶
type IOStreams struct { In io.ReadCloser Out io.Writer ErrOut io.Writer // contains filtered or unexported fields }
func (*IOStreams) IsStderrTTY ¶
func (*IOStreams) IsStdinTTY ¶
func (*IOStreams) IsStdoutTTY ¶
func (*IOStreams) SetNeverPrompt ¶
func (*IOStreams) SetStderrTTY ¶
func (*IOStreams) SetStdinTTY ¶
func (*IOStreams) SetStdoutTTY ¶
Click to show internal directories.
Click to hide internal directories.