Files
nebula.js/commands/spec/command.js
2025-11-25 22:03:53 +01:00

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);
},
};