MCPcopy
hub / github.com/cli/cli / Bold

Method Bold

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

Source from the content-addressed store, hash-verified

58}
59
60func (c *ColorScheme) Bold(t string) string {
61 if !c.Enabled {
62 return t
63 }
64 return bold(t)
65}
66
67func (c *ColorScheme) Boldf(t string, args ...interface{}) string {
68 return c.Bold(fmt.Sprintf(t, args...))

Callers 15

BoldfMethod · 0.95
actionsExplainerFunction · 0.80
printHumanViewFunction · 0.80
printHumanCommentFunction · 0.80
viewRunFunction · 0.80
printVerifiedSubjectsFunction · 0.80
renderReleaseTTYFunction · 0.80
uploadRunFunction · 0.80
createRunFunction · 0.80
setupGitRunFunction · 0.80
switchRunFunction · 0.80
LoginFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected