Some package names or license names are way too long for existing report formatting (see example on Print report step).
There are the following possible solutions to the problem:
Introduce an option with printf format string to be used instead of the hardcoded values
Calculate optimal formatting automatically by analyzing all the rows of the final report. Possibly, add an option flag to turn on/off auto-formatting
Introduce a new --external-format called edn to support lein-licenses with --extra-options to shorten fully-qualified package names (just like for gradle format)
Truncate long lines to the limit in accordance with the formatter's constants.
Option 3 seems to be orthogonal to the problem.
Option 4 may be implemented along with option 1: we truncate the strings but allow to set the limits via the option flag.
Option 2 sounds good, although examples of existing software choosing this approach would be a good idea.
Some package names or license names are way too long for existing report formatting (see example on Print report step).
There are the following possible solutions to the problem:
printf
format string to be used instead of the hardcoded values--external-format
callededn
to support lein-licenses with--extra-options
to shorten fully-qualified package names (just like for gradle format)Option 3 seems to be orthogonal to the problem. Option 4 may be implemented along with option 1: we truncate the strings but allow to set the limits via the option flag. Option 2 sounds good, although examples of existing software choosing this approach would be a good idea.