DEV Community

Unsung Heroes of the Command Line

Rob Hoelz on January 03, 2019

Originally published at https://hoelz.ro/blog/unsung-heroes-of-the-command-line Since the command line is my primary way of interacting with my co...
Collapse
 
dploeger profile image
Dennis Ploeger

If you ever need to worry about csvfiles, csvkit's got you covered. It's a suite of handy tools to wrangle with them.

Also, q is quite interesting as it lets you fun sql on csv files.

Collapse
 
jacoby profile image
Dave Jacoby

So, you may use curl to GET an API response, and jq to display it in a pretty way.

But that's two things, and you want one.

httpie

And Boris got there first...

Collapse
 
hoelzro profile image
Rob Hoelz

Yeah, that's true! I kind of like the separation of "fetching the contents at a URL" and "coloring/diving into the structure" each provide; if I wanted a shortcut, I'd probably just make a shell function or alias. But maybe httpie has some features I could make use of!

Collapse
 
mateusz__be profile image
Mateusz Bełczowski

jq is a great tool

Collapse
 
melezhik profile image
Alexey Melezhik

Hi Rob! Nice post, thank you. I use Tomtit to automate my command line tasks. It comes with a lot of plugins.

Collapse
 
biros profile image
Boris Jamot ✊ /

Great list!
I use httpie instead of curl.
Bat instead of cat.
Exa instead of ls.
Modd is also a great tool for developers.

Collapse
 
hoelzro profile image
Rob Hoelz

Interesting! Would you mind going into more detail about how each of those improves upon their counterparts, or otherwise what they bring to the table?

Collapse
 
biros profile image
Boris Jamot ✊ /

httpie is a much more user-friendly alternative to curl, that allow pretty-printing and a lot of other cool features.

Bat is a paginated alternative to cat that also allow pretty-printing your code in the terminal.

Exa is also an alternative to ls with default pretty-print feature and git integration.

modd is a filesystem watcher that allows you to automate everything. I use it to run my unit tests or my server-side app when the codebase changes.

Collapse
 
juanfrank77 profile image
Juan F Gonzalez

I'd like to know the answer to that too.