Show HN: Open-source macOS CLI tool for aliasing and timing command line runs
github.comAs many here, I'm a developer and I work across multiple tech stacks. At some point became bored with typing and remembering lengthy commands for building, testing etc. So I wrote a little command line tool that allows me to instead write ez build or ez test or similar regardless of the tech stack the repo is based on (not magically, but by storing them once).
I added a bonus function where ez outputs also the time it took to run the subprocess, this is pretty nice for keeping an eye on build times and unit test run times without even thinking about it. Running commands in parallel as separate subprocesses is also supported.
isn't this alias ? (plus time and &)
Yeah, that would be possible as well and probably for some interactive terminals better. I’ve found this handy, but maybe it’s just me personally.
Aliases are in my understanding in those cryptic terminal files, this is I suppose an attempt to make it more understandable with easy json structure and also make it shareable between team or machines.
But yeah, if you’re clever enough this probably doesn’t do anything you could achieve otherwise.