Feature request: Show percentage for every language
I think it would be useful if scc has an option to show percentages for each language. Perhaps a new column or maybe even something like this:
------------------------------------------------------------------------------
Language Files Blank Comment Code Total
------------------------------------------------------------------------------
Lua 2 24193 (00%) 193544 (00%) 169351 (00%) 387088
Rust 4 110 (00%) 31 (00%) 1061 (00%) 1202
C 4 75 (00%) 155 (00%) 470 (00%) 700
Markdown 2 40 (00%) 0 (00%) 273 (00%) 313
Bourne Shell 3 18 (00%) 7 (00%) 59 (00%) 84
YAML 1 13 (00%) 19 (00%) 57 (00%) 89
Ada 2 12 (00%) 9 (00%) 32 (00%) 53
Toml 1 4 (00%) 2 (00%) 17 (00%) 23
Gherkin 1 2 (00%) 2 (00%) 8 (00%) 12
OCaml 1 4 (00%) 6 (00%) 3 (00%) 13
Ruby 1 0 (00%) 2 (00%) 2 (00%) 4
Handlebars 1 0 (00%) 2 (00%) 2 (00%) 4
------------------------------------------------------------------------------
Total 23 24471 (00%) 193779 (00%) 171335 (00%) 389585
------------------------------------------------------------------------------
(Taken from a similar issue for loc )
I would love this tool to have this feature because the only similar tool I found that can do this is enry but that's slow and unmaintained.
Perhaps as another output type similar to JSON, CSV and such.... I don't think there is enough room currently since when you get into larger repositories its problematic...
Hmm... yeah... that quickly turns into a problem. Maybe make a column for the percentage of the lines of code? The other things aren't really that important.
But another output type works too