diff options
| author | Jeff Carr <[email protected]> | 2025-10-18 05:09:39 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-18 05:09:39 -0500 |
| commit | 2ea632eac5a877567fc44cb2af9aef414de3e7dd (patch) | |
| tree | 946f513adb4d8b4a86a82d0d2a12430e0914f0a4 /argv.go | |
| parent | d68c81c1add8b09aed8b8a19c6b61610a9ff8605 (diff) | |
breakup argv files for sanity
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/argv.go b/argv.go deleted file mode 100644 index 83e333a..0000000 --- a/argv.go +++ /dev/null @@ -1,42 +0,0 @@ -package main - -import ( - "go.wit.com/dev/alexflint/arg" - "go.wit.com/gui" -) - -/* - this parses the command line arguements - this enables command line options from other packages like 'gui' and 'log' -*/ - -var argv args - -var APPNAME string = "basicwindow" - -// sent via -ldflags -var VERSION string -var BUILDTIME string - -// define your command line arguements here -type args struct { - Demo string `arg:"positional" help:"this is just a demo"` -} - -func (args) InitArgv() (string, string, string) { - // "basicwindow", "2025/10/18", "v0.2.0" - return APPNAME, BUILDTIME, VERSION -} - -func (args) InitGui() error { - // panic("got here") - arg.Register(&gui.ArgvGui) - // me.myGui = gui.New() - return nil -} - -func (a args) Description() string { - return ` -This basicwindow example demonstrates multiple windows -` -} |
