laravel-changelog
laravel-changelog copied to clipboard
Add the ability of list allowed changes types
Add the ability of list allowed changes types
Sometimes we can by mistake pass a wrong type, and it will bugs our changelog. Since we're not committing them and generating on the fly we cannot check those things.
Can you provide an example of which steps I can reproduce the problem, and the desired result? I'm not sure how I want too implement a feature like this right know, some extra context will help me greatly.
An other solution would be to just accept all different changelog types for example.
Hello @markwalet,
INHO, would be nice to have an config for "allowed changes type", and then we can list stuff like added, changed, fixed. And if someone want to add something else, just use this "types list".
If I try to use something different like fxed, the CLI will throw an error.
I'll think about implementing an optional configuration value for this, I think it can be a great addition for helping teams in creating consistent changelogs.
Not sure if I can make something right now. But I think I can have something ready in a few days.
It might be nice for each of the options to be displayed on the CLI at the "type" prompt if none is passed during changelog:add as well
Agreed, I think that'd be a great addition.