mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2025-12-19 17:58:43 -05:00
28 lines
579 B
JavaScript
28 lines
579 B
JavaScript
const build = require('./lib/build');
|
|
|
|
module.exports = {
|
|
command: 'sense',
|
|
desc: 'Build a supernova as a Qlik Sense extension',
|
|
builder(yargs) {
|
|
yargs.option('ext', {
|
|
type: 'string',
|
|
required: false,
|
|
desc: 'Extension definition',
|
|
});
|
|
yargs.option('meta', {
|
|
type: 'string',
|
|
required: false,
|
|
desc: 'Extension meta information',
|
|
});
|
|
yargs.option('minify', {
|
|
type: 'boolean',
|
|
required: false,
|
|
default: true,
|
|
desc: 'Minify and uglify code',
|
|
});
|
|
},
|
|
handler(argv) {
|
|
build(argv);
|
|
},
|
|
};
|