1.0.0 • Published 4 years ago

gasc v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

GASC - Generate Angular SVG Component

This is a commandline tool which generates an Angular component from a SVG source file

Install

Install from npm as package gasc

yarn global add gasc
npm install -g gasc
volta install gasc

Usage

gasc --input smiley.svg

This will generate this file structure:

smiley/
  smiley.component.svg
  smiley.component.ts

Parameters

ParameterDescriptionRequiredDefault Value
--inputpath to a SVG file. Wildcards aren't supportedx-
--outputpath to the output directoryworking directoy
--selectorPrefixthe used selector prefix in your apps templatesapp