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

Function handleMigrateCommand

apps/kimi-code/src/main.ts:87–89  ·  view source on GitHub ↗

`kimi migrate`: launch the migration screen only, then exit.

(version: string)

Source from the content-addressed store, hash-verified

85
86/** `kimi migrate`: launch the migration screen only, then exit. */
87async function handleMigrateCommand(version: string): Promise<void> {
88 await runShell(MIGRATE_CLI_OPTIONS, version, { migrateOnly: true });
89}
90
91export async function handleUpgradeCommand(version: string): Promise<void> {
92 const telemetryBootstrap = createCliTelemetryBootstrap();

Callers 1

mainFunction · 0.85

Calls 1

runShellFunction · 0.90

Tested by

no test coverage detected