UNPKG

@launchql/cli

Version:
24 lines (23 loc) 656 B
#!/usr/bin/env node "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.options = void 0; const inquirerer_1 = require("inquirerer"); const commands_1 = require("./commands"); exports.options = { minimistOpts: { alias: { v: 'version', h: 'help' } } }; const app = new inquirerer_1.CLI(commands_1.commands, exports.options); app.run().then(() => { // all done! }).catch(error => { // Should not reach here with the new CLI error handling pattern // But keep as fallback for unexpected errors console.error('Unexpected error:', error); process.exit(1); });