Files
nebula.js/commands/serve/command.js
Li Kang ae21588263 docs: add Create a mashup in help menu (#731)
* docs: add Create a mashup in help menu

* fix: create command
2022-06-13 12:16:20 +02:00

14 lines
248 B
JavaScript

const serve = require('./lib/serve');
const init = require('./lib/init-config');
module.exports = {
command: 'serve',
desc: 'Start a development server',
builder(yargs) {
init(yargs).argv;
},
handler(argv) {
serve(argv);
},
};