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

Function FormatInfoMessageStderr

pkg/console/console.go:176–178  ·  view source on GitHub ↗

FormatInfoMessageStderr formats an informational message for stderr output.

(message string)

Source from the content-addressed store, hash-verified

174
175// FormatInfoMessageStderr formats an informational message for stderr output.
176func FormatInfoMessageStderr(message string) string {
177 return formatInfoMessageWithTTY(message, isStderrTTY)
178}
179
180func formatInfoMessageWithTTY(message string, ttyCheck func() bool) string {
181 return applyStyleWithTTY(styles.Info, "i ", ttyCheck) + message

Callers 5

ensureVSCodeSettingsFunction · 0.92
checkExistingSecretsMethod · 0.92
ensureMCPConfigFunction · 0.92

Calls 1

formatInfoMessageWithTTYFunction · 0.85

Tested by

no test coverage detected