Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 226 Bytes

File metadata and controls

11 lines (7 loc) · 226 Bytes

cg (ChatGPT CLI)

Install

go install github.com/dtimm/cg

Usage

  1. Set the OPENAI_API_TOKEN environment variable.
  2. Execute a single prompt: cg -p "hello robot friend!"
  3. Open an interactive session: cg -i