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

Function registerLoginCommand

apps/kimi-code/src/cli/sub/login.ts:13–20  ·  view source on GitHub ↗
(parent: Command)

Source from the content-addressed store, hash-verified

11import { runLoginFlow } from './login-flow';
12
13export function registerLoginCommand(parent: Command): void {
14 parent
15 .command('login')
16 .description('Authenticate with Kimi Code CLI via the device-code flow.')
17 .action(async () => {
18 await runLoginFlow();
19 });
20}

Callers 2

login.test.tsFile · 0.90
createProgramFunction · 0.90

Calls 1

runLoginFlowFunction · 0.90

Tested by

no test coverage detected