unified-font-object / ufoNormalizer

A tool that will normalize the XML and other data inside of a UFO.
Other
51 stars 19 forks source link

Support multiple UFOs at once #92

Open RickyDaMa opened 2 months ago

RickyDaMa commented 2 months ago

Changes the CLI to support taking multiple inputs. Incompatible with -o/--output

Happy to adjust implementation/testing as required. If there's any bad formatting let me know, I didn't see a strong standard defined anywhere and my editors formatter was ready to eviscerate the whole file

I've tried to keep the program acting as similarly as possible - e.g. exiting with code 2 if no valid paths were provided - but also permissible, so the whole program doesn't bomb out if one input path of many is bad

Also, as far as I can see there's no reason to mark Python 3.12 as officially supported (I used it while developing/testing these changes), I can update the README & CI if you'd like :)

Finally, please consider making the repository more approachable to new contributors: https://matklad.github.io/2022/10/24/actions-permissions.html