summaryrefslogtreecommitdiff
path: root/flags.go
blob: a7eb37f336d65bc56056e7fad6e65f7ebe355d35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package main

import "github.com/urfave/cli/v3"

const (
	flagLogfile = "logfile"
)

var AppFlags []cli.Flag = []cli.Flag{
	&cli.StringFlag{
		Name:    flagLogfile,
		Aliases: []string{"l"},
		Usage:   "Log file",
	},
	&cli.StringFlag{
		Name:    "color",
		Aliases: []string{"c"},
		Usage:   "Initial color",
		Value:   "",
	},
}