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

Function registerMigrateCommand

apps/kimi-code/src/migration/command.ts:12–19  ·  view source on GitHub ↗
(parent: Command, onMigrate: () => void)

Source from the content-addressed store, hash-verified

10import type { Command } from 'commander';
11
12export function registerMigrateCommand(parent: Command, onMigrate: () => void): void {
13 parent
14 .command('migrate')
15 .description('Migrate data from a legacy kimi-cli installation into kimi-code.')
16 .action(() => {
17 onMigrate();
18 });
19}

Callers 2

command.test.tsFile · 0.90
createProgramFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected