#!/usr/bin/env node
import { resolve } from 'node:path';
import { fileURLToPath, pathToFileURL } from 'node:url';

const __dirname = fileURLToPath(new URL('.', import.meta.url));

// Dispatch to the CLI package
const cliPath = resolve(__dirname, '..', 'packages', 'cli', 'dist', 'index.js');
const cli = await import(pathToFileURL(cliPath).href);
await cli.run(process.argv.slice(2));
