Skip to content

dorianmariecom/dorian-chat

Repository files navigation

dorian-chat

Send a prompt to the OpenAI chat completions API from the command line.

Install

gem install dorian-chat

Also included in the aggregate gem:

gem install dorian

Usage

chat [prompt ...] [file ...]

Run chat -h for generated option details and chat -v for the installed version.

Notes

  • Reads the prompt from arguments, files, or stdin.
  • Uses a token from ~/.chat; if that file is missing, it prompts once and writes it.

Examples

Ask a question

chat "Summarize this repository in one paragraph"

Ask about a file

chat "Summarize" README.md

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors