3 ms·
All cli programs (or shell itself) should soon have: - argument syntax autocorrect - natural language arguments instead of the actual ones should be accepted
by vasco 1y ago
All cli programs (or shell itself) should soon have:
- argument syntax autocorrect
- natural language arguments instead of the actual ones should be accepted
- whenever there's an error executing, instead of just erroring out, the error should go through an LLM and output a proper explanation plus suggested fix
Doing command by command seems the wrong way about it though.
- sovietswag 1y agoLollll ‘dd’ with autocorrect will be a hoot
- vasco 1y agoWill be much useful than now, obviously it doesn't run it for you.
- darkwater 1y agoHow so? A potentially highly destructive command like `dd` (it can literally destroy all your local data in seconds) should be either touched with lot of care and having an idea of what you are doing, or not touched at all. Like some heavy machinery or a scalpel.
- reed1 1y agoThis is what agent do, aichat [1] can do this. What you want is a wrapper for it to pipe the result back to LLM and make sure the command succeeded. [1] https://github.com/sigoden/aichat https://github.com/sigoden/aichat
- yreg 1y agoIt would be insanity for every cli tool to wrap its own llama.cpp There are plenty of terminal apps with this functionality, e.g. https://www.warp.dev/ https://www.warp.dev/
- cryptonym 1y agoHaving a fuzzy interpretation of configuration, and fuzzy input/output, on something designed for repeatable tasks? This doesn't sound like a great idea. If you really want to LLM everything, I'd rather have a dedicated flag that provides correction/explanation of args while doing a dry-run. And another to analyze error messages.
- deleted 1y ago[deleted]
- vasco 1y agoI'm not saying if its a good idea or not, I'm saying it's my prediction of what will happen. Nobody will use old style terminals in a few years where you need to type exactly, is my prediction.