Kelsidavis-WoWee/tools/editor/cli_format_info.hpp
Kelsi 08e7d9c689 refactor(editor): extract format inspection handlers into cli_format_info.cpp
Moves the proprietary-format inspection commands out of main.cpp
into their own translation unit. Each reads a Blizzard-format
file and prints its structure:

  --info-png        --info-blp
  --info-m2         --info-wmo
  --info-adt        --info-jsondbc

main.cpp drops 18,198 → 17,766 lines (-432). Behavior verified
by re-running --info-png on a generated noise texture.
2026-05-09 02:48:58 -07:00

18 lines
471 B
C++

#pragma once
namespace wowee {
namespace editor {
namespace cli {
// Dispatch the proprietary-format inspection handlers — each
// reads a Blizzard-format file and prints its structure:
// --info-png --info-blp
// --info-m2 --info-wmo
// --info-adt --info-jsondbc
//
// Returns true if matched; outRc holds the exit code.
bool handleFormatInfo(int& i, int argc, char** argv, int& outRc);
} // namespace cli
} // namespace editor
} // namespace wowee