sloc
sloc copied to clipboard
Option to add total row to cli table format
i.e. going from
| Path | Physical | Source | Comment |
|---|---|---|---|
| src/cli.coffee | 98 | 74 | 7 |
| src/helpers.coffee | 26 | 20 | 0 |
| src/sloc.coffee | 196 | 142 | 20 |
| src/formatters/simple.coffee | 44 | 28 | 7 |
| src/formatters/csv.coffee | 25 | 14 | 5 |
| src/formatters/cli-table.coffee | 22 | 13 | 0 |
to
| Path | Physical | Source | Comment |
|---|---|---|---|
| src/cli.coffee | 98 | 74 | 7 |
| src/helpers.coffee | 26 | 20 | 0 |
| src/sloc.coffee | 196 | 142 | 20 |
| src/formatters/simple.coffee | 44 | 28 | 7 |
| src/formatters/csv.coffee | 25 | 14 | 5 |
| src/formatters/cli-table.coffee | 22 | 13 | 0 |
| Total | 411 | 273 | 39 |
feel free to open a PR :)