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

Function FormatSectionHeader

pkg/console/console.go:383–385  ·  view source on GitHub ↗

FormatSectionHeader formats a section header with proper styling

(header string)

Source from the content-addressed store, hash-verified

381
382// FormatSectionHeader formats a section header with proper styling
383func FormatSectionHeader(header string) string {
384 return formatSectionHeaderWithTTY(header, isTTY)
385}
386
387// FormatSectionHeaderStderr formats a section header for stderr output.
388func FormatSectionHeaderStderr(header string) string {

Callers 1

TestFormatSectionHeaderFunction · 0.70

Calls 1

Tested by 1

TestFormatSectionHeaderFunction · 0.56