@launchql/cli
Version:
LaunchQL CLI
19 lines (18 loc) • 373 B
JavaScript
import { CLI } from 'inquirerer';
import { commands } from './commands';
export const options = {
minimistOpts: {
alias: {
v: 'version',
h: 'help'
}
}
};
const app = new CLI(commands, options);
app.run().then(() => {
// all done!
}).catch(error => {
console.error(error);
process.exit(1);
});