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

Function printErrorText

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

Source from the content-addressed store, hash-verified

371}
372
373func printErrorText(message string, indent bool) {
374 if isAutoDiscover || isSilent {
375 log(message)
376 } else {
377 red := color.New(color.FgHiRed)
378 if indent {
379 red.Println(fmt.Sprintf(" |--► %s", message))
380 } else {
381 red.Println(fmt.Sprintf("----► %s", message))
382 }
383 }
384}
385
386func printLn() {
387 if isAutoDiscover || isSilent {

Callers 3

shell.goFile · 0.85
processCrontabFunction · 0.85

Calls 1

logFunction · 0.85

Tested by

no test coverage detected