Versions in this module Expand all Collapse all v0 v0.0.2 Apr 23, 2022 v0.0.1 Apr 23, 2022 Changes in this version + var CancelError = errors.New("CancelError") + var SilentError = errors.New("SilentError") + func DisplayWidth(s string) int + func Indent(s, indent string) string + func IsUserCancellation(err error) bool + func MutuallyExclusive(message string, conditions ...bool) error + func PrintError(out io.Writer, err error, cmd *cobra.Command, debug bool) + func ReplaceExcessiveWhitespace(s string) string + func Truncate(maxWidth int, s string) string + func TruncateColumn(maxWidth int, s string) string + type FlagError struct + Err error + func (fe FlagError) Error() string + func (fe FlagError) Unwrap() error