An AI CLI tool that takes staged changes to git and creates a commit message from it.
- Install OpenAI SDK:
pip install openai - Get your API key from https://platform.openai.com/api-keys
- Set your API key:
export OPENAI_API_KEY=sk-your-key-here git addyou want the AI to generate a commit message for- Run:
python main.py
export OPENAI_API_KEY=sk-...
git add .
python src/main.py
python src/main.py --dry-run
python src/main.py -i
python src/main.py --api-key sk-...
pip install -e .