mirror of
https://github.com/Kornstalx/5etools-mirror-2.github.io.git
synced 2025-10-28 20:45:35 -05:00
v1.198.1
This commit is contained in:
7
node/rm.js
Normal file
7
node/rm.js
Normal file
@@ -0,0 +1,7 @@
|
||||
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);
|
||||
Reference in New Issue
Block a user