fineui是帆软报表和BI产品线所使用的前端框架。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
256 B

#!/usr/bin/env node
const workerCmd = require('./worker/cli.worker');
const cmds = new Map([
['worker', workerCmd],
]);
const cmd = process.argv[1];
if (cmds.has(cmd)) {
cmds.get(cmd)?.exec();
} else {
throw new Error('命令不存在');
}