-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an option to accept whatever the suggestion is #239
Comments
Here's a workaround for anyone who's looking to do this, make an expect script:
This sends an 'enter' keypress to the command when it asks for the commit message which will work. Make this script executable and throw it in the path and you can just call it within the directory you're in. |
I was thinking to just enable it for all messages. I can clearly see your idea as well. I can alter my PR here - and add that possibility as well. Or i can make a new PR that only allows your suggestion. |
@davidawad I've forked the repo, since this seems to no longer be maintained. https://www.npmjs.com/package/@negoziator/ai-commit In my version you can set it to auto-confirm commit messages 😄
|
Yes I would really like this feature! |
Feature request
I want aicommits to have an option to just take yes for an answer as a flag and take the generated commit message without bothering to ask yes / no as a separate prompt.
for example:
Why?
(hypothetically) I don't care what the commit message is sometimes, I want the message written but don't want to bother with validating it.
Alternatives
alternative is to feed a key from the shell to hit yes.
Additional context
No response
The text was updated successfully, but these errors were encountered: