Description
Enhance commit message generation with an interactive flow:
- Generate message and show it
- Ask: [a]ccept / [e]dit in $EDITOR / [r]egenerate / [c]ontext + regenerate
- If context: prompt user to type extra context, then regenerate with it
- Loop until accepted
This is different from --dry-run (which just previews) — this leads to an actual commit.
Example
aicommit --generate
# Generated: "fix: handle nil pointer in auth"
# [a]ccept [e]dit [r]egenerate [c]ontext? a
Description
Enhance commit message generation with an interactive flow:
This is different from
--dry-run(which just previews) — this leads to an actual commit.Example