UNPKG

metacoding

Version:

Guided Development Workflow for GitHub Copilot - Transform your coding experience with AI-guided standards, structured workflows, and quality practices

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); });