#pragma once #include #include #include namespace Bilicraft { class CommandBindings { public: // Process one trimmed, comment-free line. Declarations return an empty string. // A console caller can supply display to enable list and lookup commands. std::string Expand(std::string_view line, std::size_t maxLength, std::string *display = nullptr); private: using Bindings = std::map>; Bindings aliases; Bindings definitions; }; } // namespace Bilicraft