Plugin usage via Command LineSee original GitHub issue
First of all, thanks for this project, it resolved a lot of problems to us 😃
In our iconset repository we setted up a script to dynamically generate webfonts and single glyph svg files. We were wondering if using the
sketchtool bin, we could automatically update the Sketch library, passing sketch file, options and svg files list as command line flags. Something like:
sketchtool run ~/Library/Application\ Support/com.bohemiancoding.sketch3/Plugins/Sketch-Icons.sketchplugin import.icons --document iconset.sketch --artboardSize 24px --files ./svg/*.svg
- Created 3 years ago
- Comments:6 (2 by maintainers)
Top GitHub Comments
Hi @AMoreaux our use case is similar to @edoardocavazza’s. Our team designs icons in Affinity Designer/Illustrator due to the more precise vector control (fill rules, handle pixel snapping, etc.) We use these in web projects with a webfont generated via CLI tool, but have a Sketch library for designers to create mockups and the like. Our ideal goal with a plugin improving on Sketch Icons would be to have a process that automatically updates the Sketch Library every time new SVGs are added to the github repo (or Google drive file stream folder), or existing ones are updated. This would be like a CI/CD tool for design across multiple design tools and export formats.
We are used to design iconset using fonts technologies, but we also need to export a Sketch library for designers and SVGs for developers. Since we already set up a CI tool which converts UFOs to Web fonts and exports glyphs to single SVG files, we would like to close the loop using
sketchtool and your plugin to automatically update the Sketch library.