openai-cli provides the openai command, a resource-based command-line interface to the OpenAI REST API. It covers responses, files, images, audio, batches, models and the admin endpoints, with readable output by default, JSON and JSONL output for scripting, and an interactive image picker.
openai-cli provides the openai command, a resource-based command-line interface to the OpenAI REST API. It covers responses, files, images, audio, batches, models and the admin endpoints, with readable output by default, JSON and JSONL output for scripting, and an interactive image picker.
To install openai-cli, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install openai-cli
To see what files were installed by openai-cli, run:
port contents openai-cli
To later upgrade openai-cli, run:
sudo port selfupdate && sudo port upgrade openai-cli
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.