Comment by asicsp
2 years ago
https://github.com/learnbyexample/command_help to extract description for command options (inspired by http://explainshell.com/)
For example:
$ ch rg -Mt
rg - recursively search the current directory for lines matching a pattern
-M NUM, --max-columns=NUM
When given, ripgrep will omit lines longer than this limit in bytes.
Instead of printing long lines, only the number of matches in that
line is printed.
-t TYPE, --type=TYPE
This flag limits ripgrep to searching files matching TYPE. Multiple
-t/--type flags may be provided.
---
See also: "Ask HN: Most interesting tech you built for just yourself?" https://news.ycombinator.com/item?id=35729232
No comments yet
Contribute on Hacker News ↗