diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2024-11-25 16:45:33 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-25 16:45:33 -0500 |
commit | 821c198fe6700a9e9e9eb07ab6922e7bde7f2bfb (patch) | |
tree | 33f696ab2dfa433bc1513fd44b313419b74cc812 /flags.go | |
parent | bad902e67b98a2630ff4396f846a223e3eed6a7a (diff) |
Accept initial color using -c flag (#14)
Diffstat (limited to 'flags.go')
-rw-r--r-- | flags.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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: "", + }, } |