velocirepo badge
Generate shields.io-style SVG badges. Available types: stars, forks, downloads, pageviews, custom. For custom badges, provide --query and --label.
velocirepo badge [OPTIONS]Full --help output
Generate shields.io-style SVG badges. Available types: stars, forks, downloads, pageviews, custom.
For custom badges, provide --query and --label.
Usage:
velocirepo badge <type> [flags]
Flags:
--color string message background color
--height int badge height in pixels (0 = style default)
-h, --help help for badge
--label string override label text
--label-color string label background color (default "#555")
-o, --output string output file (default: stdout)
--project string scope to a specific project
--query string SQL query returning a single value (for custom type)
--radius int corner radius (-1 = style default) (default -1)
--style string badge style: flat, flat-square, plastic (default "flat")
Global Flags:
--config string config file (default: walk up for velocirepo.toml)
-q, --quiet suppress progress output
-v, --verbose enable debug logging
Options
--color: string- message background color
--height: int- badge height in pixels (0 = style default)
-h, --help- help for badge
--label: string- override label text
--label-color: string = #555- label background color
-o, --output: string = stdout- output file
--project: string- scope to a specific project
--query: string- SQL query returning a single value (for custom type)
--radius: int = -1- corner radius (-1 = style default)
--style: string = flat- badge style: flat, flat-square, plastic
--config: string = walk up for velocirepo.toml- config file
-q, --quiet- suppress progress output
-v, --verbose- enable debug logging