Documentation ¶
Index ¶
- func FailureIcon() string
- func SuccessIcon() string
- func UnknownIcon() string
- func WarningIcon() 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) SetProgessMessage(msg string)
- func (s *IOStreams) SetStderrTTY(isTTY bool)
- func (s *IOStreams) SetStdinTTY(isTTY bool)
- func (s *IOStreams) SetStdoutTTY(isTTY bool)
- func (s *IOStreams) StartProgressIndicator()
- func (s *IOStreams) StopProgressIndicator()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnknownIcon ¶ added in v0.11.0
func UnknownIcon() string
func WarningIcon ¶ added in v0.15.0
func WarningIcon() string
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) SetProgessMessage ¶ added in v0.16.0
func (*IOStreams) SetStderrTTY ¶
func (*IOStreams) SetStdinTTY ¶
func (*IOStreams) SetStdoutTTY ¶
func (*IOStreams) StartProgressIndicator ¶ added in v0.15.0
func (s *IOStreams) StartProgressIndicator()
func (*IOStreams) StopProgressIndicator ¶ added in v0.15.0
func (s *IOStreams) StopProgressIndicator()
Click to show internal directories.
Click to hide internal directories.