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

Function makeProgram

apps/kimi-code/test/cli/server/server.test.ts:35–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33}
34
35function makeProgram(): Command {
36 // `commander` exitOverride avoids killing the test runner when --help/error fires.
37 const program = new Command('kimi').exitOverride();
38 registerServerCommand(program);
39 return program;
40}
41
42describe('kimi server', () => {
43 it('registers the expected `server` subcommands while lifecycle commands are hidden', () => {

Callers 1

server.test.tsFile · 0.85

Calls 1

registerServerCommandFunction · 0.90

Tested by

no test coverage detected