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

Shortcut for commit types #788

Closed
wardVD opened this issue Jul 18, 2023 · 2 comments
Closed

Shortcut for commit types #788

wardVD opened this issue Jul 18, 2023 · 2 comments
Labels

Comments

@wardVD
Copy link

wardVD commented Jul 18, 2023

Description

The Commitizen CLI is already very fast and easy to use, but it would be even nicer and faster if there is an option to skip the questions by adding the possibility to set the type in cz commit/cz c.

Possible Solution

Add an extra positional argument to cz commit that sets the type, e.g. if cz commit is executed, then the questions for the commit type are still prompted.

If cz commit feat is executed, the questions can be dropped and the type is set as feat.

Additional context

No response

Additional context

No response

@Lee-W
Copy link
Member

Lee-W commented Aug 20, 2023

The main problem with cz commit feat is that we support not just cz_convetionsal_commit but also other cz such as cz_jira. This might not make sense to other cz. But I'm open to other design for addressing this issue

@Lee-W
Copy link
Member

Lee-W commented May 20, 2024

As this has not been discussed for some time, I'm going to close this one. Feel free to reopen it if anyone has idea 🙂

@Lee-W Lee-W closed this as completed May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants