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...
For further actions, you may consider blocking this person and/or reporting abuse
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.
So, you may use
curl
to GET an API response, andjq
to display it in a pretty way.But that's two things, and you want one.
httpie
And Boris got there first...
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!
jq is a great tool
Hi Rob! Nice post, thank you. I use Tomtit to automate my command line tasks. It comes with a lot of plugins.
Great list!
I use httpie instead of curl.
Bat instead of cat.
Exa instead of ls.
Modd is also a great tool for developers.
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?
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.
I'd like to know the answer to that too.