leoforfree / cz-customizable

A standalone commit message helper or customizable commitizen adapter for https://github.com/commitizen/cz-cli
MIT License
604 stars 201 forks source link

Default value for ticketNumber #238

Closed xander-marjoram closed 1 month ago

xander-marjoram commented 2 months ago

Our team uses this package for enforcing that commit messages follow a given format, something like this:

feat(test-component): XXX-1234 make some changes.

Currently ticketNumber cannot be skipped as a question, which means the user must type something in.

We use 000 for work that does not require a ticket. It would be great if I could specify a fallback value to use if the user does not enter a ticket number.