console_commands: load() delega a parsers i buildHelp (cognitive 69→<25)

This commit is contained in:
2026-05-17 17:17:55 +02:00
parent 6fbd5988d4
commit 973bfa80bf
2 changed files with 101 additions and 99 deletions
+1
View File
@@ -58,4 +58,5 @@ class CommandRegistry {
void registerHandlers();
[[nodiscard]] auto isCommandVisible(const CommandDef& cmd) const -> bool;
[[nodiscard]] auto buildHelp(const std::vector<std::string>& args) const -> std::string; // Cos del handler HELP (extret per reduir complexitat de load())
};