Add "Level of concern" to the json output
dimapasko opened this issue · 2 comments
It would be nice to have "Level of concern" column content in JSON output for more friendly automation.
We are going to write a script that will iterate across all our repos and will show all major Level of concerns.
In this case, we need to run git-sizer
several times, first, one to get "Level of concern" and second to get data from JSON.
What do you think?
I think it is a good idea. Would you like to try writing a PR?
By the way, the level of concern is currently just the measured value divided by the hard-coded values here. So it wouldn't be too hard to compute the level of concern in whatever program is reading the JSON, which would even allow you to adjust the level of concern easily to align with the needs of your organization.
There is no an improved JSON output, available if you use --json-version=2
, which includes the level of concern.