cmdConfig routes /config, /status and /settings to the config sections.
(ctx context.Context, userInput string)
| 246 | |
| 247 | // cmdConfig routes /config, /status and /settings to the config sections. |
| 248 | func (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. |
| 255 | func (ch *CommandHandler) resetTerminal(_ context.Context, _ string) bool { |
nothing calls this directly
no test coverage detected