From 821c198fe6700a9e9e9eb07ab6922e7bde7f2bfb Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Mon, 25 Nov 2024 16:45:33 -0500 Subject: Accept initial color using -c flag (#14) --- flags.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'flags.go') diff --git a/flags.go b/flags.go index 660c053..57607de 100644 --- a/flags.go +++ b/flags.go @@ -13,4 +13,10 @@ var AppFlags []cli.Flag = []cli.Flag{ Usage: "Log file", Value: "/dev/null", // Don't log by default }, + &cli.StringFlag{ + Name: "color", + Aliases: []string{"c"}, + Usage: "Initial color", + Value: "", + }, } -- cgit v1.2.3