mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-10 19:13:52 +00:00
Moves three project-level handlers (--copy-project,
--zone-summary, --bench-bake-project) out of main.cpp into a
new cli_project_actions.{hpp,cpp} module. None of these fit
the more-specific modules: copy-project does recursive
project-tree duplication, zone-summary collapses validate +
content rollup into one CI-friendly command, bench-bake-project
times per-zone WHM/WOT load to track perf regressions.
main.cpp shrinks by 243 lines (1,187 to 944). Both --json
output modes preserved for CI pipelines.
20 lines
666 B
C++
20 lines
666 B
C++
#pragma once
|
|
|
|
namespace wowee {
|
|
namespace editor {
|
|
namespace cli {
|
|
|
|
// Dispatch the project-level action handlers — top-level
|
|
// project utilities that don't fit any of the more specific
|
|
// modules. Each operates on a project directory rather than
|
|
// a single zone.
|
|
// --copy-project recursive copy of an entire project tree
|
|
// --zone-summary one-shot validate + content rollup for a zone
|
|
// --bench-bake-project per-zone WHM/WOT load timing benchmark
|
|
//
|
|
// Returns true if matched; outRc holds the exit code.
|
|
bool handleProjectActions(int& i, int argc, char** argv, int& outRc);
|
|
|
|
} // namespace cli
|
|
} // namespace editor
|
|
} // namespace wowee
|