From efd65e7567d2c8440cf1b29af8c374e69f7e08e6 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 18 Oct 2025 03:23:13 -0500 Subject: working towards shell autocomplete support --- argv.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'argv.go') 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"` +} -- cgit v1.2.3