#!/usr/bin/env node import { run } from '@oclif/core'; import { fileURLToPath } from 'url'; import { dirname, join } from 'path'; const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(join(__filename, '..')); async function main() { await run(process.argv.slice(2), { name: 'testspec', version: '1.0.0', description: 'Convert natural language requirements into structured unit test cases', root: __dirname, bin: 'testspec', commands: join(__dirname, 'dist', 'commands'), }); } main().catch((error) => { console.error(error); process.exit(1); });