openai-cli

Crates.io

openai-cli is a command line interface to interact with the OpenAI API. It aims to provide most features the API does, but is currently focused on the new chat endpoint.

demo

Commands

I also intend to add support for completing promts from stdin or files for use in scripting.

Keybinds

By defeault openai-cli uses emacs style keybinds.

However by using the --vim flag, you can use vim style keybinds instead.

You can write newlines using ALT+ENTER.

Installation

Installation can be done via cargo install openai-cli.