summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/argv.go b/argv.go
index 1aa6c27..d48658f 100644
--- a/argv.go
+++ b/argv.go
@@ -1,9 +1,15 @@
package gui
-var argGui ArgsGui
+var ArgvGui ArgsGui
// these go-arg commands have been moved to go.wit.com/lib/gui/prep
type ArgsGui struct {
+ Gui *GuiCmd `arg:"subcommand:gui" help:"open the gui"`
GuiPlugin string
GuiFile string
}
+
+type GuiCmd struct {
+ URL string `arg:"--connect" help:"forge url"`
+ Plugin string `arg:"positional" help:"this is just a demo"`
+}