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);
|