Create badge based on supplied percentage
npm install dp-create-badge
alternatively you can also install it globally.
./node_modules/.bin/dp-create-badge --PERCENTAGE 95
This will create a coverage.svg with percentage as 95%.
./node_modules/.bin/dp-create-badge --TEXT custom
./node_modules/.bin/dp-create-badge --COLOR blue
./node_modules/.bin/dp-create-badge --PERCENTAGE 95
Note: If color is not supplied, the color code is automatically decided based on the percentage value.
./node_modules/.bin/dp-create-badge --FILEPATH ./badge.svg