di-sukharev / opencommit

Generate conventional git commit messages with AI in 1 second 🤯🔫
https://www.npmjs.com/package/opencommit
MIT License
6.11k stars 328 forks source link

Auto-confirm commit message and push via CLI argument #226

Open JUSTINMKAUFMAN opened 1 year ago

JUSTINMKAUFMAN commented 1 year ago

First of all, very cool project! Question for you:

Is there an argument (or arguments) that can be passed (e.g. oco --confirm yes --push yes) to enable the oco command to complete a commit and push without user input? Would like to use this as part of a custom CI/CD script but need to automate these steps first.

Thanks!

https://github.com/di-sukharev/opencommit/blob/916ddf02d1fcbf6082362e153262e177e39b743b/src/commands/commit.ts#L66C5-L66C5

malpou commented 1 year ago

I've added this in the following PR #227

github-actions[bot] commented 1 year ago

Stale issue message