mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-11 11:33:52 +00:00
feat(editor): add WHOL JSON round-trip (export/import sidecar)
Closes the JSON round-trip gap on the holiday catalog format shipped last batch. --export-whol-json emits all 13 scalar fields plus dual int + name forms for holidayKind and recurrence so hand-edits can use either representation. --import-whol-json accepts either form, falling back to the int when both are present. Verified byte-identical round-trip on all three preset emitters (starter / weekly / special). 709 documented CLI flags.
This commit is contained in:
parent
2666b976c9
commit
0c732a9133
3 changed files with 161 additions and 0 deletions
|
|
@ -130,6 +130,7 @@ const char* const kArgRequired[] = {
|
|||
"--export-wvhc-json", "--import-wvhc-json",
|
||||
"--gen-holidays", "--gen-holidays-weekly", "--gen-holidays-special",
|
||||
"--info-whol", "--validate-whol",
|
||||
"--export-whol-json", "--import-whol-json",
|
||||
"--gen-weather-temperate", "--gen-weather-arctic",
|
||||
"--gen-weather-desert", "--gen-weather-stormy",
|
||||
"--gen-zone-atmosphere",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue