UNPKG

metacoding

Version:

Cross-agent workflow skill for modern coding agents with gated planning, testing, verification, and handoff defaults

28 lines (22 loc) 662 B
#!/usr/bin/env node /** * metacoding CLI Entry Point * * This file serves as the main entry point for the metacoding CLI tool. * It delegates to the compiled TypeScript code in the lib directory. */ const { main } = require('../lib/cli'); // Handle uncaught exceptions gracefully process.on('uncaughtException', (error) => { console.error('Unexpected error:', error.message); process.exit(1); }); process.on('unhandledRejection', (reason) => { console.error('Unhandled promise rejection:', reason); process.exit(1); }); // Run the main CLI function main().catch((error) => { console.error('CLI Error:', error.message); process.exit(1); });