1.0.0 • Published 8 years ago
dp-create-badge v1.0.0
dp-create-badge
Create badge based on supplied percentage
Installation
npm install dp-create-badgealternatively you can also install it globally.
Usage
./node_modules/.bin/dp-create-badge --PERCENTAGE 95This will create a coverage.svg with percentage as 95%.
Configuration
Text
./node_modules/.bin/dp-create-badge --TEXT customColor
./node_modules/.bin/dp-create-badge --COLOR bluePercentage
./node_modules/.bin/dp-create-badge --PERCENTAGE 95Note: If color is not supplied, the color code is automatically decided based on the percentage value.
Filepath
./node_modules/.bin/dp-create-badge --FILEPATH ./badge.svg1.0.0
8 years ago