CLAI is a program to inject Chat GPT directly into your linux command line! Now with some new convinient features!
askasks a question using all the following args as a prompt and prints result to standard outputchatasks a question saving the prompt and response to a local csv file for future contextread-askreads a file and postpends the prompt!reset-chatresets the chat dataset-modelallows you to set the openAI model you use, defaults togpt-4o
clai ask what is the capital of France?
clai chat code only. Write a python rock paper scissors game > rockPaperScissors.py
python rockPaperScissors.py
clai read-ask rockPaperScissors.py rewrite this python code into javascript > rockPaperScissors2.js
Currently clai is only built for linux (debian). Golang can create executables for any OS however, you may need to adjust file paths for AI keys and chat history