MCPcopy Create free account
hub / github.com/github/gh-aw / formatSuccessMessageWithTTY

Function formatSuccessMessageWithTTY

pkg/console/console.go:166–168  ·  view source on GitHub ↗
(message string, ttyCheck func() bool)

Source from the content-addressed store, hash-verified

164}
165
166func formatSuccessMessageWithTTY(message string, ttyCheck func() bool) string {
167 return applyStyleWithTTY(styles.Success, "✓ ", ttyCheck) + message
168}
169
170// FormatInfoMessage formats an informational message
171func FormatInfoMessage(message string) string {

Callers 3

FormatSuccessMessageFunction · 0.85

Calls 1

applyStyleWithTTYFunction · 0.85

Tested by 1