appleboy / CodeGPT

A CLI written in Go language that writes git commit messages or do a code review brief for you using ChatGPT AI (gpt-4o, gpt-4-turbo, gpt-3.5-turbo model) and automatically installs a git prepare-commit-msg hook.
MIT License
1.15k stars 100 forks source link

Support interactive Mode #146

Closed appleboy closed 8 hours ago

appleboy commented 5 months ago

CodeGPT currently automatically generates commit titles and content, but if users want to modify the title or content, they need to adjust the relevant information through Git commands. Could it support Interactive Mode, allowing CodeGPT to generate the title first for the user to confirm before proceeding so that users can make modifications without using other methods directly?

TUI components for Bubble Tea: https://github.com/charmbracelet/bubbles and https://github.com/charmbracelet/bubbletea