pip install samuelcolvin-aicli
You'll need to set the OPENAI_API_KEY
environment variable to use aicli
which you can generate from
platform.openai.com, you'll have to add some credit to use the API.
export OPENAI_API_KEY='...'
Then usage is as simple as:
aicli