MCPcopy Create free account
hub / github.com/diillson/chatcli / sectionHeader

Function sectionHeader

cli/config_sections.go:169–172  ·  view source on GitHub ↗

─── Shared formatting helpers ───────────────────────────────── sectionHeader prints a colored box header for a config section.

(icon, titleKey, color string)

Source from the content-addressed store, hash-verified

167
168// sectionHeader prints a colored box header for a config section.
169func sectionHeader(icon, titleKey, color string) {
170 fmt.Println()
171 fmt.Println(uiBox(icon, i18n.T(titleKey), color))
172}
173
174// sectionEnd prints the matching closing box border.
175func sectionEnd(color string) {

Callers 15

showConfigQualityMethod · 0.85
showConfigOutputMethod · 0.85
showConfigCompressionMethod · 0.85
showCompressionStatsMethod · 0.85
showConfigSchedulerMethod · 0.85
showConfigPanoramaMethod · 0.85
showConfigGeneralMethod · 0.85
showConfigProvidersMethod · 0.85
showConfigAgentMethod · 0.85
showConfigResilienceMethod · 0.85
showConfigSessionMethod · 0.85
showConfigDiagramMethod · 0.85

Calls 2

TFunction · 0.92
uiBoxFunction · 0.85

Tested by

no test coverage detected