aydwi / barrel Goto Github PK
View Code? Open in Web Editor NEW[No longer in development] C++ wrapper for the Homebrew CLI
License: GNU General Public License v3.0
[No longer in development] C++ wrapper for the Homebrew CLI
License: GNU General Public License v3.0
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:
brew
does dynamic things with certain commands which cannot all be encapsulated before execution (at least with any reasonable effort).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.
Barrel can retrieve the stdout/stderr dump for a brew
command after it has finished executing, but it should also have the ability to retrieve/poll the output of a command as it is executing.
There are some use cases where this feature can be extremely useful:
Many brew
commands can take a long time to execute, so live output can help keep track of what's going on.
One might not always want to store a large output buffer.
It would be nice to have a GUI tool using Barrel be able to display the output of a command as it executes, instead of dumping at once after several seconds. Cakebrew, the most popular Homebrew GUI is unable to do this at the moment.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.