Quickstart Guide
Installation
pip install gptdiff
Configuration
Set your API key:
export GPTDIFF_LLM_API_KEY='your-api-key'
Your First Transformation
-
Navigate to your project:
bash cd myproject cat "# A collection of useful linux commands: ..."
-
Generate and smartapply a diff:
bash gptdiff "Add some useful linux commands" --apply
-
Apply:
bash git add -p git commit
Next Steps
- Explore common recipes for typical use cases
- Learn advanced patterns in the Automation Guide
- Dive into the API Reference for programmatic usage