Skip to content
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

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

Open
JUSTINMKAUFMAN opened this issue Jul 19, 2023 · 2 comments
Open

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

JUSTINMKAUFMAN opened this issue Jul 19, 2023 · 2 comments

Comments

@JUSTINMKAUFMAN
Copy link

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
Copy link
Contributor

malpou commented Jul 20, 2023

I've added this in the following PR #227

@github-actions
Copy link

Stale issue message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants