mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-10 02:53:51 +00:00
Moves the three zone & project metadata inspection handlers out of main.cpp: --info-zone (single zone.json print) --info-zone-overview (high-level zone digest) --info-project-overview (per-zone summary table for a project) All three load zone.json via wowee::editor::ZoneManifest. main.cpp drops 16,564 → 16,321 lines (-243). Behavior verified by re-running --info-zone + --info-project-overview against existing test zones.
19 lines
565 B
C++
19 lines
565 B
C++
#pragma once
|
|
|
|
namespace wowee {
|
|
namespace editor {
|
|
namespace cli {
|
|
|
|
// Dispatch the zone & project metadata inspection handlers:
|
|
// --info-zone (single zone.json print)
|
|
// --info-zone-overview (high-level zone digest)
|
|
// --info-project-overview (per-zone summary table for a project)
|
|
//
|
|
// All read zone.json via wowee::editor::ZoneManifest::loadFromFile.
|
|
//
|
|
// Returns true if matched; outRc holds the exit code.
|
|
bool handleZoneInfo(int& i, int argc, char** argv, int& outRc);
|
|
|
|
} // namespace cli
|
|
} // namespace editor
|
|
} // namespace wowee
|