Merge branch 'dev' into freight/nati-2

This commit is contained in:
Nathnael
2026-08-24 14:02:03 +00:00
33 changed files with 1749 additions and 63 deletions

View File

@@ -64,7 +64,9 @@ async function main(): Promise<void> {
const args = process.argv.slice(2);
const sheetFlag = args.indexOf("--sheet");
const sheetName = sheetFlag >= 0 ? args[sheetFlag + 1] : DEFAULT_SHEET;
const workbookPath = args.find((arg, i) => !arg.startsWith("--") && i !== sheetFlag + 1);
const workbookPath = args.find(
(arg, i) => !arg.startsWith("--") && (sheetFlag < 0 || i !== sheetFlag + 1),
);
if (!workbookPath) {
throw new Error(