@launchql/cli
Version:
LaunchQL CLI
24 lines (23 loc) • 656 B
JavaScript
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);
});
;