summaryrefslogtreecommitdiff
path: root/args.go
blob: 9a9680b9f56fe9ba185f426493974c7d1a165642 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// This creates a simple hello world window
package main

import 	(
	"git.wit.org/wit/gui"
)

type LogOptions struct {
	LogFile string `help:"write all output to a file"`
	Verbose bool
	VerboseNet bool  `arg:"--verbose-net" help:"debug network settings"`
	VerboseDNS bool  `arg:"--verbose-dns" help:"debug dns settings"`
	// GuiDebug bool `help:"open up the wit/gui Debugging Window"`
	// GuiDemo bool `help:"open the wit/gui Demo Window"`
	User string `arg:"env:USER"`
}

var args struct {
	LogOptions
	gui.GuiArgs
}