Content pfp
Content
@
0 reply
0 recast
0 reaction

Steve pfp
Steve
@sdv.eth
What’s a handy cli tool you think others probably don’t but should know about? Mine would be tldr; which is a community contributed and modern replacement for man pages. Gets you the information you’re looking for 90% of the time with way less reading. h/t to @we for putting me down on it
12 replies
0 recast
12 reactions

Rafi pfp
Rafi
@rafi
direnv is one I cannot live without. It automatically loads/unloads .env files or custom commands when entering/exiting directories. Great tor working with multiple projects.
2 replies
0 recast
3 reactions

Rafi pfp
Rafi
@rafi
httpie is really useful to testing API thanks to nice JSON and form input syntax https://httpie.io/cli
1 reply
0 recast
1 reaction

Steve pfp
Steve
@stevedylandev.eth
btop is one of my favorite replacements for top or htop. Same goes for bat > cat, exa > ls
0 reply
0 recast
0 reaction

1𝐴35𝐸1 pfp
1𝐴35𝐸1
@1a35e1
Nice suggestions in this thread. * https://httpie.io/cli is pretty neat as alt curl * https://github.com/Schniz/fnm (alt nvm) * https://github.com/msiemens/PyGitUp (alias gup="git-up")
0 reply
0 recast
0 reaction

jtgi pfp
jtgi
@jtgi
jq – parse, transform, and format json. Super handy for off the cuff queries w/curl, pretty printing, scraping, processing files, even small bash scripts. examples: pretty print: curl $url | jq export user fields as csv: curl $url | jq -r '.result.users[] | [.id, .name] | @csv > users.csv'
2 replies
0 recast
3 reactions

iain pfp
iain
@iain
on macs pbcopy and pbpaste. you can easily write and read from the system clipboard. i often pipe things to pbcopy then paste in editors etc
1 reply
0 recast
2 reactions

alex pfp
alex
@alexgrover.eth
GitHub CLI has the be the one for me. I don’t open PRs from web anymore
1 reply
0 recast
0 reaction

Samuel ツ pfp
Samuel ツ
@samuellhuber.eth
https://warpcast.com/samuellhuber/0x5e76ac45
1 reply
0 recast
0 reaction

jtgi pfp
jtgi
@jtgi
I also really like `cut`. I used it often for log processing like this, e.g. ``` $ cat nginx_access | grep 500 | cut -d " " -f 1,3 500 /frames/1 500 /frames/2 ... $ cat nginx_access | grep 500 | cut -d " " -f 1,3 | sort | uniq -c 10 500 /frames/1 22 500 /frames/2 ... ``` It accepts any delimeter via (-d).
1 reply
0 recast
1 reaction

horsefacts pfp
horsefacts
@horsefacts.eth
people know about awk, but they don't *know awk* https://ia903404.us.archive.org/0/items/pdfy-MgN0H1joIoDVoIC7/The_AWK_Programming_Language.pdf
0 reply
0 recast
1 reaction

Brad Barrish pfp
Brad Barrish
@bradbarrish
Simon’s stuff is really great, though I suspect if you’re working with LLMs, you know. https://simonwillison.net/2023/May/18/cli-tools-for-llms/ Here’s a rare one for music people. https://blog.yossarian.net/2023/07/27/Introducing-shaq-a-CLI-for-shazam
0 reply
0 recast
1 reaction

michael lalonde pfp
michael lalonde
@lalonde
Slightly off original the question as it is not the cli but a feature. Globbing in curl. Able to hit many urls in one line using curly braces for lists or square brackets for ranges.
1 reply
0 recast
0 reaction