#!/usr/bin/env node
// CommonJS bin entry: compiled by tsc (NodeNext) to dist/index.cjs. It loads
// the ESM build and runs the default export, mapping failures to exit code 1.
async function main(): Promise<void> {
    try {
        const cli = await import('./index.js');
        await cli.default();
    } catch (error) {
        console.error(error);
        process.exit(1);
    }
}

void main();
