SVG to Vector Drawable Android
npm install svg2vdandroid[![Build status][travis-badge]][travis-badge-url]
[![Coverage status][coveralls-badge]][coveralls-badge-url]
svg2vdandroid is an SVG to VectorDrawable command line tool.
You can install svg2vdandroid using [npm][npm] OR [yarn][yarn] w/ the following command:
``sh`
npm install -g svg2vdandroid
OR
`sh`
yarn global add svg2vdandroid
`text
Usage: svg2vdandroid [options] [file]
Options:
-V, --version output the version number
-s, --string
-i, --input
-o, --output
-d, --dir
-q, --quiet only output error messages
-h, --help output usage information
`
`shConvert an SVG to VectorDrawable.
svg2vdandroid filename.svg
Build instructions
If you want to contribute, first be sure to install the latest version of
Node.js and npm.
If you're not sure what IDE to use, I highly recommend checking out
[vscode][vscode].Then clone this repository and in the root directory, run:
`sh
npm install
`To build the tool, run:
`sh
npm run build
`To test the tool, run:
`sh
npm run test
``