Made a quick pull request for controlling the output of the validation errors (#278) when validating a CITATION.cff file through the command-line i.e., cffconvert --validate.
Testing this should be easy enough but the ./test folder is quite expansive and did not find a simple place to put tests for this functionality. Hopefully this is helpful! Just wanted to quickly implement a draft of the simple fix for the issue.
Something like this should be in my opinion implemented before letting people use the pre-commit hook implemented on the default branch (#284).
Made a quick pull request for controlling the output of the validation errors (#278) when validating a
CITATION.cff
file through the command-line i.e.,cffconvert --validate
.Testing this should be easy enough but the
./test
folder is quite expansive and did not find a simple place to put tests for this functionality. Hopefully this is helpful! Just wanted to quickly implement a draft of the simple fix for the issue.Something like this should be in my opinion implemented before letting people use the
pre-commit
hook implemented on the default branch (#284).Let me know about things to change/fix/add!