tachybase_todo/examples/index.ts
2021-09-16 00:37:43 +08:00

5 lines
116 B
TypeScript

const example = process.argv[2];
process.argv.splice(2, 1);
console.log(process.argv);
require(`./${example}/src`);