15 lines
502 B
TypeScript
15 lines
502 B
TypeScript
import Handler from "./subpackage/Handler";
|
|
import { Utils } from "./subpackage/Utils";
|
|
(() => {
|
|
const args = process.argv;
|
|
const projectDirPath = args[2];
|
|
const configPath = args[3]
|
|
const codeVersion = args[4];
|
|
const mode = args[5];
|
|
const xxtea = args[6]
|
|
const logLevelString = args[7];
|
|
logLevelString && Utils.setLogLevel(parseInt(logLevelString));
|
|
const subpackage = new Handler(projectDirPath, configPath, codeVersion, mode, xxtea);
|
|
subpackage.make();
|
|
})();
|