I made a python package that turns natural language into a command line. It gives 3 choices after generation, execute, correct and cancel. Corrected and executed commands are added in a history file so for each text generation it is added to the OpenAI input.
It is available on PyPi so you can try it with a simple
pip install btw