3 ms·
Rush: A Minimalistic CLI Tool for Managing and Running Bash Snippets
So, a while ago, I was fiddling with Kennethreitz's side project Bake, a simple CLI tool for running bash snippets. It's a nicely written piece of software and I liked the idea of replicating something like GNU makefile (he calls it Bakefile) for Bash. I stared using it in my projects and helped with the documentation (Although it was never published for some strange reason).
However, there were a few issues that didn't get resolved for the past 4 months...
• It throws nasty error if the Bakefile is empty or not properly formatted
• Task chaining are hit or miss
• The custom styling that the software imposes on stdout doesn't work while running bash commands in interactive mode
• The new file format Bakefile isn't highlighted in editors and can be a pain to maintain (There is a vs code extension that mitigates the issue though)
So I made an alternative, Rush, with a subjectively simpler codebase that doesn't try to do many things at once..
• It reads your bash commands from a familiar yml file
• You can run your dedicated bash script from the tool
• Task chaining is supported but constrained (So that it doesn't go into a recursion roller coaster)
• The tests are working...(More tests are on the way)
Check out here:
https://github.com/rednafi/rush