Kelsidavis-WoWee/tools/editor/cli_extract_info.hpp
Kelsi c9831b38ff refactor(editor): extract data-tree inspection into cli_extract_info.cpp
Moves the four extracted-Data-tree audit handlers out of main:
  --info-extract           (per-extension counts + bytes)
  --info-extract-tree      (per-directory rollup)
  --info-extract-budget    (proprietary share + open-format gap)
  --list-missing-sidecars  (find unconverted .m2/.wmo/.blp/.dbc)

All four operate on a Blizzard-format extracted Data tree —
they audit what's there and what's missing in the migration
from proprietary formats to open ones.

main.cpp drops 13,485 → 13,120 lines (-365). Behavior verified
by re-running --info-extract on a test zone (same output).
2026-05-09 05:32:27 -07:00

20 lines
626 B
C++

#pragma once
namespace wowee {
namespace editor {
namespace cli {
// Dispatch the extracted-data-tree inspection handlers:
// --info-extract (per-extension counts + bytes)
// --info-extract-tree (per-directory rollup)
// --info-extract-budget (proprietary share + open-format gap)
// --list-missing-sidecars (find unconverted .m2/.wmo/.blp/.dbc)
//
// All scan a Blizzard-format extracted Data tree directly.
//
// Returns true if matched; outRc holds the exit code.
bool handleExtractInfo(int& i, int argc, char** argv, int& outRc);
} // namespace cli
} // namespace editor
} // namespace wowee