summaryrefslogtreecommitdiff
path: root/flags.go
blob: 2eb5294d91af0083b9a560b73ca456826cfb78a1 (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/v2"

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:   "",
	},
}