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

Function uiBox

cli/ui_boxes.go:24–26  ·  view source on GitHub ↗

uiBox renders a box header: ╭── icon TITLE

(icon, title, color string)

Source from the content-addressed store, hash-verified

22
23// uiBox renders a box header: ╭── icon TITLE
24func uiBox(icon, title, color string) string {
25 return fmt.Sprintf("%s%s╭── %s %s%s", color, ColorBold, icon, title, ColorReset)
26}
27
28// uiBoxEnd renders a box footer: ╰─────────
29func uiBoxEnd(color string) string {

Callers 15

handleMCPCommandMethod · 0.85
mcpShowStatusMethod · 0.85
mcpShowToolsMethod · 0.85
mcpRestartMethod · 0.85
mcpRestartOneMethod · 0.85
mcpLogsMethod · 0.85
runAutoTriggerActionMethod · 0.85
handleChannelCommandMethod · 0.85
runChannelListMethod · 0.85
runChannelRulesMethod · 0.85
handleHooksCommandMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected