-
Notifications
You must be signed in to change notification settings - Fork 282
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
Feat #226: Implement Confirm-Commit and Confirm-Push Flags for Improved User Experience #227
base: dev
Are you sure you want to change the base?
Conversation
…ove user experience feat(commit.ts): add support for confirm-commit and confirm-push flags to allow users to skip confirmation prompts
Any update about this feature? |
@ionutz89 Still waiting for someone to take a look at my PR |
+1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
will get to it soon <3 |
@malpou what is the example to use it, is it like |
Any update? Need this badly |
@malpou i dont think that so long message is really an optimal ux, i would go with a shorter flag like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That sounds good for me
Agree with that, but what do you mean by "not in git itself" ? Are you talking about this command, for example: |
@Christophe-Chantraine-djm-digital, yep i meant what you described, but i think if we do So, fixing the conflict, making the flags shorter ( |
…irm-commit-and-push-args
… and maintainability 🔧 chore(cli.ts): refactor commit function call to use the new flag names for better clarity
…s in the CLI configuration 🔧 chore(cli.ts): remove console.log statement used for debugging
🔧 chore(cli.ts): simplify flags definition by removing explicit type declarations
The flags are suitable and tested now! @di-sukharev Notes:
Flags:
Readme updated aswell |
🔧 chore(cli.ts): rename cc flag to cm flag for better semantics 🔧 chore(commit.ts): rename confirmCommitFlag to confirmCommitMessageFlag for better semantics
- Update description for `--cm` flag to clarify that it skips the confirmation step of the generated commit message - Update description for `--cp` flag to clarify that it confirms the push to remote after committing, including choosing upstream/origin in case of a forked repo
@di-sukharev |
Stale pull request message |
@malpou im so sorry this got closed, do you want to merge it? if so — please solve the conflict and i will get to it asap |
@malpou i've solved the readme conflict, could you check im not missing anything please and lets merge it! |
@malpou please check it so we can merge it quickly 🚀 |
@malpou please solve the conflicts, i will merge, test and ship in the next version |
In this pull request, we have introduced new functionality to streamline the user's interaction with the CLI tool. This enhancement focuses on two main aspects: committing and pushing actions, which can now be confirmed upfront with the use of flags.
Changes:
We believe that this update will significantly improve the experience of our users by making the commit and push processes more streamlined and user-friendly.
Issue #226