Python script to format & validate a list of SFSymbols against sfsymbols.com
When I received a email containing a list of SFSymbols needing to be placed in an app, I needed to validate they were all correct. I could see some had incorrect casings, and I didn't want to do it manually... So what did I do? Turned a five minute task into a thirty minute task!
Anyway, hope you get some use out of this!
python ./sfvalidate.py symbols.txt -r report.txt
✅ alarm
✅ gamecontroller.fill
✅ paintpalette
🆘 cup.and.saucer
🆘 fork.knife
✅ figure.walk
✅ ear
- read input of typed / pasted txt if no file is provided
- wrap-in-quotes: prepares the list to be copied and pasted into an app
Contributions welcome! Feel free to open an issue or PR!