You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 11, 2023. It is now read-only.
Instead of dumping a std::string of stream output to the client, Barrel can do some processing based on the exact brew command it executed and return, for example a neat std::unordered_map or other various (applicable) types.
This feature is not finalized because:
It violates the "one job" philosophy.
It comes with a subjective choice of C++ types and might force advanced clients to do ugly casting, which defeats the entire idea of doing it in the first place.
It cannot be fool-proof or comprehensive. brew does dynamic things with certain commands which cannot all be encapsulated before execution (at least with any reasonable effort).Details
But it could still be useful for people who want a baked cake instead of the ingredients.
This feature will not be a part of the inital release, but will remain open for further thought till a decision is made.