4 ms·
https://github.com/learnbyexample/command_help/blob/master/ch https://github.com/learnbyexample/command_help/blob/master/c... Command help, inspired by http://
by asicsp 4y ago
https://github.com/learnbyexample/command_help/blob/master/ch https://github.com/learnbyexample/command_help/blob/master/c...
Command help, inspired by http://explainshell.com/ http://explainshell.com/ to extract help text from builtin commands and man pages. Here's an example:
$ ch ls -AXG
ls - list directory contents
-A, --almost-all
do not list implied . and ..
-X sort alphabetically by entry extension
-G, --no-group
in a long listing, don't print group names
---
https://github.com/learnbyexample/regexp-cut/blob/main/rcut https://github.com/learnbyexample/regexp-cut/blob/main/rcut is another - uses awk to provide cut like syntax for field extraction. After writing this, I found commands like `hck`, `tuc` written in Rust that solves most of the things I wanted.
- maltsev 4y agoHas anybody stumbled upon a similar tool that does this in reverse? For example, I want to find a curl option that has a "redirect" word in its description.
- calvinmorrison 4y agoOh lord this is beautiful!
- ankaAr 4y agoI will steal that too..
- jkern 4y agoOhhhh that's lovely