Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin usage via Command Line #60

Open
edoardocavazza opened this issue Jan 16, 2020 · 6 comments
Open

Plugin usage via Command Line #60

edoardocavazza opened this issue Jan 16, 2020 · 6 comments

Comments

@edoardocavazza
Copy link

Hi!

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
@LanesGood
Copy link

@edoardocavazza my team is also interested in something like this. Did you find an alternate solution?

@edoardocavazza
Copy link
Author

@LanesGood Not yet. I haven't had time to open a PR neither :(

@AMoreaux
Copy link
Owner

Hi there,
Good idea! I'm curious about your use cases. Could you tell me more about that?
For now, I haven't time to work on a new feature 😕 PR are welcome.

@edoardocavazza
Copy link
Author

Hello @AMoreaux!

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.

@LanesGood
Copy link

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.

@AMoreaux
Copy link
Owner

Thank you @edoardocavazza @LanesGood

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants