MCPcopy
hub / github.com/cli/cli / Green

Method Green

pkg/iostreams/color.go:118–123  ·  view source on GitHub ↗
(t string)

Source from the content-addressed store, hash-verified

116}
117
118func (c *ColorScheme) Green(t string) string {
119 if !c.Enabled {
120 return t
121 }
122 return green(t)
123}
124
125func (c *ColorScheme) Greenf(t string, args ...interface{}) string {
126 return c.Green(fmt.Sprintf(t, args...))

Callers 15

GreenfMethod · 0.95
printHumanViewFunction · 0.80
printHumanCommentFunction · 0.80
viewRunFunction · 0.80
verifyRunFunction · 0.80
verifyAssetRunFunction · 0.80
createRunFunction · 0.80
runVerifyFunction · 0.80
renderDiagnosticsTTYFunction · 0.80
printRawPrPreviewFunction · 0.80
printHumanPrPreviewFunction · 0.80
formattedReviewerStateFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected