This commit is contained in:
2026-04-25 15:50:38 +09:00
parent da4201fb20
commit df82515a33
37 changed files with 162982 additions and 393 deletions

View File

@@ -13,9 +13,11 @@ const { values } = parseArgs({
},
dataDir: {
type: "string"
},
fileName: {
type: "string"
}
},
strict: true,
allowPositionals: true,
})
@@ -60,5 +62,5 @@ for (const file of files) {
}
}
const featurePath = path.join(workingDir, 'features.json');
const featurePath = path.join(workingDir, values.fileName ?? 'features.json');
fs.writeFileSync(featurePath, JSON.stringify(features, null, 2), 'utf-8');