summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-26 08:31:13 -0500
committerJeff Carr <[email protected]>2025-10-26 08:31:13 -0500
commit042fac23113c134b3615939b0836263fd12b3bd1 (patch)
treeb46492b135af76e0e045e887c6a5ea941516c490 /structs.go
parentcfee0dad2418f8e800d15edd3e6b32cebd1119dc (diff)
new argv Init()
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/structs.go b/structs.go
index 40912f4..36842ba 100644
--- a/structs.go
+++ b/structs.go
@@ -1,12 +1,13 @@
package argvpb
// try this struct out (?)
-var me *AutoArgs
+var me *AutoType
+// try a global here to see how that turns out
var PB *Argv
// this is a work in progress
-type AutoArgs struct {
+type AutoType struct {
pb *Argv // the protobuf for the current process
all *Argvs // the history of argv
last *Argv // the pb from the last time the user tried autocomplete