Glyphs Command-line interface?

Hello.

Does Glyphs have a command-line interface?

I’m developing the LTTR/INK plugin and am considering adding an integration test step into our CI pipeline. It would perform a simple test of loading a set of glyphs files with Glyphs, running them through the plugin and checking the exit code. Crash detection would be sufficient for now.

Any alternative ideas on how to do this?

Thanks

Have a look at GlyphsSDK/Glyphs remote scripts at Glyphs3 · schriftgestalt/GlyphsSDK · GitHub and some additional discussion here: Script outside GlyphApp - #8 by GeorgSeifert
It would be easier to run a plugin that does one thing than something that takes inputs etc. I’m not sure how you might accomplish that…

1 Like

Thanks. I tried it out briefly and got the external script to execute when Glyphs is already running.

With our plugin installed, I’m imagining to simply use the pyhon script to access each glyph in the glyphs file and ask Glyphs to process it (compute its outline etc.). I’m not yet sure how to do that.