Beautiful, AI-native markdown IDE and LLM wiki
TypeScript 2nd-brainagent-skillsclaudecodexcompany-braindocsknowledge-knowledge-baseknowledge-managementllmllm-wikillm-wiki-karpathymarkdownmarkdown-editormdmdxnotespkmsecond-brainskills
#!/usr/bin/env node
import { recordCliEntryPath } from './cli-entry-path.ts';
import {
gitCredentialHelperOperation,
handleCredentialUpdate,
} from './commands/auth/git-credential-operation.ts';
recordCliEntryPath(import.meta.url);
const helperOperation = gitCredentialHelperOperation(process.argv.slice(2));
if (helperOperation === 'get') {
const { runGitCredentialGet } = await import('./commands/auth/git-credential-helper.ts');
process.exit(await runGitCredentialGet());
}
if (helperOperation !== null) {
process.exit(await handleCredentialUpdate(helperOperation, process.stdin));
}
await import('zod/compile');
await import('./cli.ts');