Hacker News new | ask | show | jobs
by curiousmindz 1711 days ago
A search "engine" inside PowerShell: You can type anything in the terminal, and it displays all the matching commands (with help snippets) in real-time. Then, if you type a command, it displays its help (snippets around the words after the command).

This would make discovering how to do things in PowerShell more interactive and enjoyable. It would probably require integrating with the PowerShell reference doc on docs.microsoft.com...

1 comments

>You can type anything in the terminal, and it displays all the matching commands (with help snippets) in real-time

Like when you start typing something and press tab for autocomplete options (on a Mac at the moment but PowerShell does this too IIRC)?

> Then, if you type a command, it displays its help (snippets around the words after the command).

If I understood correctly: I'm imagining something similar to many code editors when you type `someFunction(` a popup appears with the arguments, their types, and a docstring if the function has one.