mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2025-12-20 10:19:04 -05:00
14 lines
303 B
JavaScript
14 lines
303 B
JavaScript
const spec = require('./lib/spec');
|
|
const initConfig = require('./lib/init-config');
|
|
|
|
module.exports = {
|
|
command: 'spec',
|
|
desc: 'Generate TypeScript interfaces and JSON schemas from property definitions',
|
|
builder(yargs) {
|
|
initConfig(yargs).argv;
|
|
},
|
|
handler(argv) {
|
|
spec(argv);
|
|
},
|
|
};
|