Workshape / icon-font-generator

Easy-to-use, pre-configured cli tool to generate webfont icon kits from a bunch of .svg files
MIT License
471 stars 76 forks source link

--fontspath parameter is not working #76

Closed apandrade closed 4 years ago

apandrade commented 4 years ago

I'm passing the --fontspath parameter but font files are always being created in the same directory as output.

I'm running on windows 10 Enterprise

icon-font-generator .\front-end\svgicons\*.svg -o .\front-end\src\styles\icons -n conecta-icons -j false --html false --selector .icon -f .\fonts --csspath .\front-end\src\styles\icons\_conecta-icons.scss

apandrade commented 4 years ago

It was my mistake, the right command is

icon-font-generator .\front-end\svgicons\*.svg -o .\front-end\src\styles\icons -n conecta-icons -j false --html false --selector .icon --csspath .\front-end\src\styles\icons\_conecta-icons.scss -f ./fonts