orion-rep / gmmit

g-mmit tool
Apache License 2.0
3 stars 0 forks source link

Allow to force a specific type #18

Open ingcsmoreno opened 4 months ago

ingcsmoreno commented 4 months ago

Sometimes the AI Model fails to identify the right type of commit. This option would help devs to give the model the right information to get it right on first try.

ingcsmoreno commented 4 months ago

I'm thinking of 2 possible implementation options here: a) Specific flags per type. i.e. --fix, --feat, --docs, etc b) A single flag that accept a string type. i.e. --type fix, --type feat, --type docs, etc

The later one is easier to implement, and I think is more practical, but at the same time it opens the possibility of adding inconsistent types.