di-sukharev / di-sukharev/opencommit
Auto-confirm commit message and push via CLI argument
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 7.5k
- Forks
- 445
- Avg merge
- 18m
- Merged PRs (30d)
- 2
Description
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!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in src/commands/commit.ts around line 66, where the commit flow is referenced, and trace how confirmation and pushing currently wait for user input. Check the CLI argument handling and existing tests, if present. Done means CI/CD can invoke oco with arguments that complete both commit confirmation and push without interactive input.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, typescript
- Domain
- cli, devtools
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100