mirror of
https://github.com/badgen/badgen-cli.git
synced 2025-04-19 05:22:20 +03:00
1.2 KiB
1.2 KiB
badgen-cli
Use the fastest badge generator from your CLI.
Installation
$ npm install -g badgen-cli
Usage
$ badgen --subject build --status ok --color green > build-ok.svg
Options
--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
See also
- badgen, the module behind this CLI.