MCPcopy Create free account
hub / github.com/cronitorio/cronitor-cli / printWarningText

Function printWarningText

cmd/root.go:359–371  ·  view source on GitHub ↗
(message string, indent bool)

Source from the content-addressed store, hash-verified

357}
358
359func printWarningText(message string, indent bool) {
360 if isAutoDiscover || isSilent {
361 log(message)
362 } else {
363 color := color.New(color.FgHiYellow)
364
365 if indent {
366 color.Println(fmt.Sprintf(" |--► %s", message))
367 } else {
368 color.Println(fmt.Sprintf("----► %s", message))
369 }
370 }
371}
372
373func printErrorText(message string, indent bool) {
374 if isAutoDiscover || isSilent {

Callers 5

discover.goFile · 0.85
processDirectoryFunction · 0.85
processCrontabFunction · 0.85
list.goFile · 0.85

Calls 1

logFunction · 0.85

Tested by

no test coverage detected