feat: augment

This commit is contained in:
TrèsAbhi committed 2025-11-26 12:58:19 -06:00
1 parent f70864a0db
commit 1cc15f64b0
9 files changed
+63 -75

No files matched your search

+12 -9
View File
@@ -1,16 +1,8 @@
import { config } from "dotenv";
import { argv } from "process";
config();
const allTargets = argv.includes("--all-targets");
const targets = argv
.find((argument) => argument.startsWith("--target"))
?.split("=")[1]
.split(",");
import { boosterIcons } from "./boosterIcons";
import { camouflageIcons } from "./camouflageIcons";
import { vfs } from "./constants";
import { consumableProvisionIcons } from "./consumableProvisionIcons";
import { currencies } from "./currencies";
import { definitions } from "./definitions";
@@ -27,6 +19,14 @@ import { tankArmors } from "./tankArmors";
import { tankIcons } from "./tankIcons";
import { tankModels } from "./tankModels";
config();
const allTargets = argv.includes("--all-targets");
const targets = argv
.find((argument) => argument.startsWith("--target"))
?.split("=")[1]
.split(",");
if (!targets && !allTargets) throw new Error("No target(s) specified");
const methods = [
@@ -59,3 +59,6 @@ for (const method of methods) {
}
}
}
vfs.dispose();
process.exit(0);