Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 373 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 373 Bytes

cli-ai-code-review

CLI Code Review powered by ChatGPT

Setup

Make sure you have at least Node18 and npx in your path. Sign up for an OpenAPI API key and set it as an environment variable OPENAI_API_KEY

Usage

With changes staged in your current git directory, run:

npx cli-ai-code-review

This will submit the output of a git diff --staged to ChatGPT