3 ms·
Here's the one I built: 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 f
by ilaksh 4y ago
Here's the one I built:
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.
- wffurr 4y ago"runleo just executes it without confirmation" I'm feeling lucky! This is one step beyond `curl | sh`. Bold move.
- ilaksh 4y agoIt's very unlikely to randomly delete your hard disk, and it's easy to set up a VM or container for development..also it may be a command that you use all the time but can't remember the syntax, and it's just retrieving information. There are a lot of cases where displaying the command first and asking for a confirmation is just an unnecessary step.