[![npm version][npm-src]][npm-href] [![Install size][packagephobia-src]][packagephobia-href] [![License][license-src]][license-href]
npm install badgen-cli[![npm version][npm-src]][npm-href]
[![Install size][packagephobia-src]][packagephobia-href]
[![License][license-src]][license-href]
Use the fastest badge generator from your CLI.
$ npm install -g badgen-cli
$ badgen --subject build --status ok --color green > build-ok.svg
* --status, -s
String, right-hand side of the badge (required)
* --subject, -j
String, left-hand side of the badge
* --color, -c
String, color for the status (color name or RGB hexa value)
* --flat, -f
Boolean, use the flat style badge
* --icon, -i
String, icon before the subject (icon name, image data URI or inferred from the subject)
* --icon-width, -w
Number, width of the icon if not square
- badgen, the module behind this CLI.
[npm-src]: https://badgen.net/npm/v/badgen-cli
[npm-href]: https://www.npmjs.com/package/badgen-cli
[packagephobia-src]: https://badgen.net/packagephobia/install/badgen-cli
[packagephobia-href]: https://packagephobia.now.sh/result?p=badgen-cli
[license-src]: https://badgen.net/github/license/badgen/badgen-cli
[license-href]: LICENSE