npm install -g lazycommitt
brew install lazycommit
If this fails on your machine, use tap first: brew tap kartiklabhshetwar/lazycommit
then brew install lazycommit
.
# set api key
lazycommit config set GROQ_API_KEY=your_api_key
# stage files
git add .
# generate and commit
lazycommit