Documentation ¶
Index ¶
- func BoldString(msg string) string
- func BoldStringf(msg string, a ...interface{}) string
- func DisplayPath(path string) string
- func ErrorString(msg string) string
- func ErrorStringf(msg string, a ...interface{}) string
- func FaintString(msg string) string
- func FaintStringf(msg string, a ...interface{}) string
- func Indent(s, indent string) string
- func LinkString(msg string) string
- func LinkStringf(msg string, a ...interface{}) string
- func PrimaryString(msg string) string
- func PrimaryStringf(msg string, a ...interface{}) string
- func PrintError(msg string)
- func PrintErrorf(msg string, a ...interface{})
- func PrintSuccess(msg string)
- func PrintSuccessf(msg string, a ...interface{})
- func PrintUnexpectedError(err interface{}, stack string)
- func PrintUsageErrorAndExit(cmd *cobra.Command, msg string)
- func PrintWarning(msg string)
- func PrintWarningf(msg string, a ...interface{})
- func StripColor(str string) string
- func SuccessString(msg string) string
- func SuccessStringf(msg string, a ...interface{}) string
- func UnderlineString(msg string) string
- func UnderlineStringf(msg string, a ...interface{}) string
- func WarningString(msg string) string
- func WarningStringf(msg string, a ...interface{}) string
- type Spinner
- type SpinnerOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoldString ¶
func BoldStringf ¶
func DisplayPath ¶
func ErrorString ¶
func ErrorStringf ¶
func FaintString ¶
func FaintStringf ¶
func LinkString ¶
func LinkStringf ¶
func PrimaryString ¶
func PrimaryStringf ¶
func PrintError ¶
func PrintError(msg string)
func PrintErrorf ¶
func PrintErrorf(msg string, a ...interface{})
func PrintSuccess ¶
func PrintSuccess(msg string)
func PrintSuccessf ¶
func PrintSuccessf(msg string, a ...interface{})
func PrintUnexpectedError ¶
func PrintUnexpectedError(err interface{}, stack string)
func PrintUsageErrorAndExit ¶
func PrintWarning ¶
func PrintWarning(msg string)
func PrintWarningf ¶
func PrintWarningf(msg string, a ...interface{})
func StripColor ¶
func SuccessString ¶
func SuccessStringf ¶
func UnderlineString ¶
func UnderlineStringf ¶
func WarningString ¶
func WarningStringf ¶
Types ¶
type Spinner ¶
type Spinner struct {
// contains filtered or unexported fields
}
func NewSpinner ¶
func NewSpinner(msg string, opts SpinnerOptions) *Spinner
type SpinnerOptions ¶
Click to show internal directories.
Click to hide internal directories.