summaryrefslogtreecommitdiff
path: root/args.go
diff options
context:
space:
mode:
Diffstat (limited to 'args.go')
-rw-r--r--args.go19
1 files changed, 19 insertions, 0 deletions
diff --git a/args.go b/args.go
new file mode 100644
index 0000000..aa8d224
--- /dev/null
+++ b/args.go
@@ -0,0 +1,19 @@
+// This creates a simple hello world window
+package main
+
+import (
+ "git.wit.org/wit/gui"
+)
+
+type LogOptions struct {
+ LogFile string
+ Verbose bool
+ // 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
+}