khodkar-cli
Version:
A TypeScript CLI application that extracts business rules and logic from codebases for customer support knowledge bases
22 lines • 662 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const commands_1 = require("./cli/commands");
async function main() {
const cli = new commands_1.KhodkarCLI();
await cli.run(process.argv);
}
process.on('unhandledRejection', (reason, promise) => {
console.error('Unhandled Rejection at:', promise, 'reason:', reason);
process.exit(1);
});
process.on('uncaughtException', (error) => {
console.error('Uncaught Exception:', error);
process.exit(1);
});
// Run the CLI
main().catch((error) => {
console.error('Fatal error:', error);
process.exit(1);
});
//# sourceMappingURL=index.js.map