Live data from Hacker News

Enter a command to see help text for each arg

explainshell.com

1–10 of 30 posts

Re: Enter a command to see help text for each arg

#3
post #2

This looks great! Is there a CLI utility that uses the site to do the same, perhaps?

I wrote a Linux CLI tool [0] that parses the man/help pages to extract option details. Works most of the time for me, but there are plenty of corner cases that don't work.

[0] https://github.com/learnbyexample/command_help

Re: Enter a command to see help text for each arg

#4
Some of the past discussions:

* https://news.ycombinator.com/item?id=24525999 63 points, Sept 2020, 12 comments

* https://news.ycombinator.com/item?id=19124480 329 points, Feb 2019, 52 comments

* https://news.ycombinator.com/item?id=6834791 1372 points, Dec 2013, 171 comments

* https://news.ycombinator.com/item?id=6296634 275 points, Aug 2013, 82 comments

Re: Enter a command to see help text for each arg

#9

Imagine if a programming language had at least two compilation targets from the start: machine code/byte code and prose.

This is a really neat idea! I wonder how close you could get the prose to actually explaining the codes purpose as opposed to just saying "this is a for loop"?
Post reply on HN