A search engine for PowerShell cmdlets.
Source code for: https://find-cmdlet.com/
There are three main components:
- Scraper
- Indexer
- The site
The scraper pulls cmdlet data from three locations:
- Built in Windows Powershell snapins
- RSAT Windows features
- PowerShell Gallery
Each of these is handled by a Docker container so they can be handled in relative isolation.
With each module loaded, the scraper is then updates the help text, and runs
Get-Module
, Get-Command
, and Get-Help
, dumping the results with
ConvertTo-Json
. The resulting json can then be processed by the indexer.
The indexer takes the json output from the scraper, and feeds it into Tantivy. Currently anything clever is left to Tantivy.
This is what you see at https://find-cmdlet.com/. It's a basic front end on top of the index produced by Tantivy.