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

Method cmdConfig

cli/command_handler.go:248–252  ·  view source on GitHub ↗

cmdConfig routes /config, /status and /settings to the config sections.

(ctx context.Context, userInput string)

Source from the content-addressed store, hash-verified

246
247// cmdConfig routes /config, /status and /settings to the config sections.
248func (ch *CommandHandler) cmdConfig(ctx context.Context, userInput string) bool {
249 fields := strings.Fields(userInput)
250 ch.cli.routeConfigCommand(ctx, fields[1:])
251 return false
252}
253
254// resetTerminal handles /reset, /redraw and /clear.
255func (ch *CommandHandler) resetTerminal(_ context.Context, _ string) bool {

Callers

nothing calls this directly

Calls 1

routeConfigCommandMethod · 0.80

Tested by

no test coverage detected