Comment by imjonse

2 years ago

This is what llm cmd does for any command, and it also offers a chance to edit it before running

https://github.com/simonw/llm-cmd

I've been using shell-gpt[1] for the same, and it is almost irritatingly useful. I fear that my somewhat decent shell-fu is going to atrophy pretty rapidly in this new world.

in my experience, this is the kind of thing that LLMs are great for - small, one-off tasks with clearly defined parameters. (and, with careful application - low stakes.)

[1]: https://github.com/TheR1D/shell_gpt