diff options
| author | Jeff Carr <[email protected]> | 2025-10-18 03:23:13 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-18 03:23:13 -0500 |
| commit | efd65e7567d2c8440cf1b29af8c374e69f7e08e6 (patch) | |
| tree | 6a7a9a1058fabd1fa93911d55702b2bc7dd83bc9 /argv.go | |
| parent | e2310a4fce5f52fe32537e04aa6652402b5b9b4a (diff) | |
working towards shell autocomplete support
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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"` +} |
