My personal suggestion would be to add a "line by line" mode for interactive usage, so instead of:
K.I.S.S. I always start with tool which can handle one item. And then built large tool on top of it.
$ license-validate --verbose "First" $ license-validate --verbose "Second"one could do something like:$ license-validate --stdin < licenses.txt
Here it is:
https://pagure.io/copr/license-validate/blob/main/f/download-all-fedora-licenses
https://pagure.io/copr/license-validate/blob/main/f/check-all-licenses
Miroslav