2022-09-18 15:14:32 +00:00
|
|
|
#!/usr/bin/env node
|
2022-09-19 20:55:32 +00:00
|
|
|
import { run } from "./lib.mjs";
|
2022-09-18 15:14:32 +00:00
|
|
|
|
|
|
|
const src = process.argv[2];
|
|
|
|
if (!src) {
|
|
|
|
throw new Error("Expected src");
|
|
|
|
}
|
|
|
|
console.log(`Running ${src}`);
|
|
|
|
|
2022-09-20 16:54:26 +00:00
|
|
|
const sampleCount = process.env.SAMPLE_COUNT;
|
|
|
|
|
|
|
|
run(src, { output: true, sampleCount });
|