#!/usr/bin/env node
// bin/ae-tracking.ts
import { Command } from 'commander';
import { createRequire } from 'node:module';
import { registerAuth } from '../src/cli/auth.js';
import { registerPlan } from '../src/cli/plan.js';
import { registerCode } from '../src/cli/code.js';
import { registerWiki } from '../src/cli/wiki.js';
import { registerDebug } from '../src/cli/debug.js';
import { registerInit } from '../src/cli/init.js';
import { registerLang } from '../src/cli/lang.js';
const req = createRequire(import.meta.url);
const pkg = req('../../package.json');
const program = new Command('ae-tracking').version(pkg.version);
registerAuth(program.command('auth'));
registerPlan(program.command('plan'));
registerCode(program.command('code'));
registerWiki(program.command('wiki'));
registerDebug(program.command('debug'));
registerInit(program.command('init'));
registerLang(program.command('lang'));
await program.parseAsync();
