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

Method showConfigGraphView

cli/config_sections.go:924–936  ·  view source on GitHub ↗

showConfigGraphView renders the @graphview panorama: the default theme, the auto-open behavior and the chat-mode exception toggle.

()

Source from the content-addressed store, hash-verified

922// showConfigGraphView renders the @graphview panorama: the default theme, the
923// auto-open behavior and the chat-mode exception toggle.
924func (cli *ChatCLI) showConfigGraphView() {
925 sectionHeader("🕸", "cfg.section.graphview.title", ColorCyan)
926 p := uiPrefix(ColorCyan)
927
928 kv(p, "CHATCLI_GRAPHVIEW_THEME", envOr("CHATCLI_GRAPHVIEW_THEME"))
929 kv(p, "CHATCLI_GRAPHVIEW_OPEN", envBool("CHATCLI_GRAPHVIEW_OPEN"))
930 kv(p, chatGraphViewEnvVar, envBool(chatGraphViewEnvVar))
931 kv(p, i18n.T("cfg.chat.gv_effective"), chatStateLabel(chatGraphViewEnabled()))
932
933 fmt.Println(p)
934 fmt.Println(p + colorize(i18n.T("cfg.graphview.about"), ColorGray))
935 sectionEnd(ColorCyan)
936}
937
938func (cli *ChatCLI) showConfigIntegrations(ctx context.Context) {
939 sectionHeader("🔗", "cfg.section.integrations.title", ColorPurple)

Callers 3

routeConfigCommandMethod · 0.95
showConfigAllMethod · 0.95

Calls 10

TFunction · 0.92
sectionHeaderFunction · 0.85
uiPrefixFunction · 0.85
envOrFunction · 0.85
envBoolFunction · 0.85
chatStateLabelFunction · 0.85
chatGraphViewEnabledFunction · 0.85
colorizeFunction · 0.85
sectionEndFunction · 0.85
kvFunction · 0.70

Tested by 1