lightgbm
This commit is contained in:
@@ -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');
|
||||
Reference in New Issue
Block a user