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

Function printSuccessText

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

Source from the content-addressed store, hash-verified

335}
336
337func printSuccessText(message string, indent bool) {
338 if isAutoDiscover || isSilent {
339 log(message)
340 } else {
341 color := color.New(color.FgHiGreen)
342
343 if indent {
344 color.Println(fmt.Sprintf(" |--► %s", message))
345 } else {
346 color.Println(fmt.Sprintf("----► %s", message))
347 }
348 }
349}
350
351func printDoneText(message string, indent bool) {
352 if isAutoDiscover || isSilent {

Callers 6

printDoneTextFunction · 0.85
shell.goFile · 0.85
discover.goFile · 0.85
importMonitorsFromFileFunction · 0.85
processCrontabFunction · 0.85
printListAsTableFunction · 0.85

Calls 1

logFunction · 0.85

Tested by

no test coverage detected