3 ms·
This looks great! Is there a CLI utility that uses the site to do the same, perhaps?
by stavros 4y ago
This looks great! Is there a CLI utility that uses the site to do the same, perhaps?
- asicsp 4y agoI 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 https://github.com/learnbyexample/command_help
- hnlmorg 4y agoSome shells have this built in, like Fish and my own one ( https://murex.rocks https://murex.rocks ) too
- stavros 4y agoFish has it? Which one is it? I use fish but I didn't know that.
- hnlmorg 4y agoIt’s on the front page: https://fishshell.com/ 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.