# llmcmd llmcmd is an interactive Linux tool that takes natural language and turns it into oneliner bash commands. This tool utilizes Ollama with codellama:7b for snappy usefull responses. It has built in self reflection so that it reflects on the code to make sure that it is correctly fromated and does not include any error. If it determines that the code is correct the it shows it to the user. Otherwise it tryes again. If it is unable to find a useful result after 5 attempts it will through an error say it can not find a sollution. ## Usage To use the tool, simply type `llmcmd` the double quotes and your question. Once it has generated the code then you can choose one of 4 options: - 'n' for skipping the code block (default) - 'y' for running the code block as is. - 'e' for editing the code block before running. - 'q' for ending the tool emedialtly ## Installation To install this tool first create a venv python enviorment. ```bash git clone https://gitea.locker98.com/tofasthacker/llm_cmd.git cd llm_cmd ``` ## Example Usage ```bash python3 llmcmd "how do I update my computer" ```