|
|
@ -18,8 +18,8 @@ func main() {
|
|
|
|
flag.StringVar(&label, "label", "Build", "label text")
|
|
|
|
flag.StringVar(&label, "label", "Build", "label text")
|
|
|
|
flag.StringVar(&message, "message", "failed", "message text")
|
|
|
|
flag.StringVar(&message, "message", "failed", "message text")
|
|
|
|
flag.StringVar(&color, "color", badge.COLOR_CRITICAL, "label color, hexadecimal")
|
|
|
|
flag.StringVar(&color, "color", badge.COLOR_CRITICAL, "label color, hexadecimal")
|
|
|
|
flag.StringVar(&font, "font", "Verdana.ttf", "font file, tff")
|
|
|
|
flag.StringVar(&font, "font", "fonts/open_sans/static/OpenSans-Bold.ttf", "font file, tff")
|
|
|
|
flag.IntVar(&size, "size", 10, "font size, pixels")
|
|
|
|
flag.IntVar(&size, "size", 12, "font size, pixels")
|
|
|
|
|
|
|
|
|
|
|
|
flag.Parse()
|
|
|
|
flag.Parse()
|
|
|
|
|
|
|
|
|
|
|
|