Send a prompt to the OpenAI chat completions API from the command line.
gem install dorian-chatAlso included in the aggregate gem:
gem install dorianchat [prompt ...] [file ...]Run chat -h for generated option details and chat -v for the installed version.
- Reads the prompt from arguments, files, or stdin.
- Uses a token from
~/.chat; if that file is missing, it prompts once and writes it.
chat "Summarize this repository in one paragraph"chat "Summarize" README.md