generate all configs
This commit is contained in:
parent
59a2586b1a
commit
66d8e890fb
10
jrpg.ts
10
jrpg.ts
|
@ -143,8 +143,8 @@ const configs = {
|
|||
dw3: { pages: ["armor", "weapons"], exclude: [] },
|
||||
}
|
||||
|
||||
const configname = "ffantasy"
|
||||
|
||||
const data = await getdata(configname)
|
||||
const stringresult = format(data, configs[configname].exclude)
|
||||
output(stringresult, configname)
|
||||
for (const configname in configs) {
|
||||
const data = await getdata(configname)
|
||||
const stringresult = format(data, configs[configname].exclude)
|
||||
output(stringresult, configname)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue