News for hackers. Stuff that matters.
Re:Enter a command to see help text for each arg by stavros on Monday May 30, 2022 @10:32AM (#31559379)
This looks great! Is there a CLI utility that uses the site to do the same, perhaps?
Re:Enter a command to see help text for each arg by asicsp on Monday May 30, 2022 @10:48AM (#31559588)
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 by hnlmorg on Monday May 30, 2022 @04:19PM (#31563239)
Some shells have this built in, like Fish and my own one ( https://murex.rocks ) too
Re:Enter a command to see help text for each arg by stavros on Monday May 30, 2022 @04:47PM (#31563466)
Fish has it? Which one is it? I use fish but I didn't know that.
Re:Enter a command to see help text for each arg by hnlmorg on Monday May 30, 2022 @05:37PM (#31563892)
It’s on the front page: https://fishshell.com/

> Other shells support programmable completions, but only fish generates them automatically by parsing your installed man pages.

Fish isn’t the only one though. In fact I’m not even sure it was the first. But it’s definitely the most mainstream shell to support it.