tachybase_todo/examples/index.ts

5 lines
116 B
TypeScript
Raw Normal View History

2021-09-16 00:37:43 +08:00
const example = process.argv[2];
process.argv.splice(2, 1);
console.log(process.argv);
require(`./${example}/src`);