|
|
|
|
|
by mfi
1274 days ago
|
|
That's a really neat idea! I built askai (https://github.com/maxvfischer/askai) during the last week to scratch a similar itch of mine. I wanted to be able to quickly get CLI commands that I didn't have on top of mind, by being able to ask questions like "How do you remove a conda environment?" or "How do you get the MX record of a domain using the terminal?". The CLI I built is a direct integration with GPT3, so it's also possible to ask it other types of questions. |
|
Get an OpenAI API key. Then `npm i -g askleo` and set env var OPENAI_API_KEY
`> askleo how large is the average dog`
`> runleo list files in reverse date order`
Note that runleo just executes it without confirmation.