2023-02-08 11:04:04 -06:00
|
|
|
// This creates a simple hello world window
|
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"git.wit.org/wit/gui"
|
2023-03-01 11:21:47 -06:00
|
|
|
"git.wit.org/jcarr/dnssecsocket"
|
2023-02-08 11:04:04 -06:00
|
|
|
)
|
|
|
|
|
|
|
|
type LogOptions struct {
|
|
|
|
Verbose bool
|
2023-03-01 11:21:47 -06:00
|
|
|
VerboseNet bool `arg:"--verbose-net" help:"debug your local OS network settings"`
|
|
|
|
VerboseDNS bool `arg:"--verbose-dns" help:"debug your dns settings"`
|
|
|
|
LogFile string `help:"write all output to a file"`
|
|
|
|
// User string `arg:"env:USER"`
|
2023-02-08 11:04:04 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
var args struct {
|
|
|
|
LogOptions
|
2023-03-01 11:21:47 -06:00
|
|
|
dnssecsocket.Args
|
2023-02-08 11:04:04 -06:00
|
|
|
gui.GuiArgs
|
|
|
|
}
|
2023-03-01 11:21:47 -06:00
|
|
|
|
|
|
|
func parsedown () {
|
|
|
|
dnssecsocket.Parse(args.VerboseDnssec)
|
|
|
|
}
|