MCPcopy Create free account
hub / github.com/OctopusDeploy/cli / Red

Function Red

pkg/output/color.go:57–62  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

55}
56
57func Red(s string) string {
58 if !IsColorEnabled {
59 return s
60 }
61 return red(s)
62}
63
64func Redf(s string, args ...interface{}) string {
65 return Red(fmt.Sprintf(s, args...))

Callers 13

deleteRunFunction · 0.92
PrintActivityElementMethod · 0.92
formatTaskStatusMethod · 0.92
getTaskMappersFunction · 0.92
runRunbooksByTagFunction · 0.92
deleteWithConfirmationFunction · 0.92
getHealthStatusFormattedFunction · 0.92
getHealthStatusFunction · 0.92
listRunFunction · 0.92
DeleteWithConfirmationFunction · 0.92
EnsureCliFunction · 0.92
RedfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected