Documentation
¶
Index ¶
- Variables
- func BlinkingTitle(str string)
- func Copy(str string)
- func Debug(str ...string)
- func Error(str string)
- func Info(title string, info string)
- func IsVerbose() bool
- func Print(str ...string)
- func PrintAmend(before time.Time, after time.Time, msg string)
- func PrintError(err error)
- func PrintSchedule(schedule config.Schedule)
- func PrintTemplate(str string)
- func SetVerbose(enabled bool)
- func Setup() error
- func Success(str string)
- func TearDown() error
- func Title(str string)
- func Warning(str ...string)
- func YesNoQuestion(question string) (bool, error)
- type PrettyPrinter
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PrimaryStyle = termenv.Style{}.Foreground(termenv.ForegroundColor()) SecondaryStyle = termenv.Style{}.Foreground(profile.Color("14")).Bold() AccentStyle = termenv.Style{}.Foreground(profile.Color("11")).Bold() ErrorStyle = termenv.Style{}.Foreground(profile.Color("9")).Bold() InfoStyle = termenv.Style{}.Foreground(profile.Color("12")).Bold() SoftStyle = termenv.Style{}.Foreground(profile.Color("8")) )
Functions ¶
func BlinkingTitle ¶
func BlinkingTitle(str string)
func PrintError ¶
func PrintError(err error)
func PrintSchedule ¶
func PrintTemplate ¶
func PrintTemplate(str string)
func SetVerbose ¶
func SetVerbose(enabled bool)
func YesNoQuestion ¶
Types ¶
type PrettyPrinter ¶
type PrettyPrinter interface {
PrettyPrint()
}
Click to show internal directories.
Click to hide internal directories.