mirror of
https://github.com/Kornstalx/5etools-mirror-2.github.io.git
synced 2025-10-28 20:45:35 -05:00
10 lines
240 B
JavaScript
10 lines
240 B
JavaScript
import {rmDirRecursiveSync} from "./util.js";
|
|
|
|
if (process.argv.length < 3) throw new Error(`At least one argument is required!`);
|
|
|
|
process.argv.slice(2)
|
|
.forEach(tgt => {
|
|
console.log(`Removing: ${tgt}`);
|
|
rmDirRecursiveSync(tgt);
|
|
});
|