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