citation-file-format / cffconvert

Command line program to validate and convert CITATION.cff files.
Apache License 2.0
100 stars 28 forks source link

Enabled verbosity control from cli #290

Closed nialov closed 1 year ago

nialov commented 1 year ago

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!

jspaaks commented 1 year ago

Nice work, thank you!