Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TargetedUI ¶
TargetedUI is a UI that wraps another UI implementation and modifies the output to indicate a specific target. Specifically, all Say output is prefixed with the target name. Message output is not prefixed but is offset by the length of the target so that output is lined up properly with Say output. Machine-readable output has the proper target set.
func (*TargetedUI) Error ¶
func (u *TargetedUI) Error(message string)
func (*TargetedUI) Info ¶
func (u *TargetedUI) Info(message string)
func (*TargetedUI) Output ¶
func (u *TargetedUI) Output(message string)
Click to show internal directories.
Click to hide internal directories.