MCPcopy Index your code
hub / github.com/MiniMax-AI/cli / showHelp

Function showHelp

src/commands/text/repl.ts:42–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40const CMD_MAX_LEN = Math.max(...SLASH_KEYS.map(k => k.length));
41
42function showHelp(): void {
43 process.stdout.write('\nAvailable commands:\n');
44 for (const [cmd, desc] of Object.entries(SLASH_COMMANDS)) {
45 process.stdout.write(` ${cmd.padEnd(CMD_MAX_LEN + 2)} ${desc}\n`);
46 }
47 process.stdout.write('\n');
48}
49
50// ---------------------------------------------------------------------------
51// Conversation state

Callers 1

handleSlashFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected