MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / cmd

Function cmd

apps/kimi-code/test/tui/components/panels/help-panel.test.ts:6–12  ·  view source on GitHub ↗
(name: string, description: string, aliases: string[] = [])

Source from the content-addressed store, hash-verified

4import { HelpPanelComponent } from '#/tui/components/dialogs/help-panel';
5
6function cmd(name: string, description: string, aliases: string[] = []): KimiSlashCommand {
7 return {
8 name,
9 aliases,
10 description,
11 };
12}
13
14function strip(text: string): string {
15 return text.replaceAll(/\u001B\[[0-9;]*m/g, '');

Callers 1

help-panel.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected