summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-25 01:24:29 -0500
committerJeff Carr <[email protected]>2025-10-25 01:24:29 -0500
commit27e0ddeaf127f561ca7fd5a8083ab52eba6ca2fb (patch)
tree432ed35a59d85782153993ccc4c8932171eac65a /structs.go
parentf7a1de79b1c115bddbf3d323a6fd7786d878efd9 (diff)
first stab at making an argv binary
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/structs.go b/structs.go
index 53a2c84..c406e8f 100644
--- a/structs.go
+++ b/structs.go
@@ -6,6 +6,7 @@ var me *AutoArgs
// this is a work in progress
type AutoArgs struct {
pb *Argv // the protobuf for the current process
+ all *Argvs // the protobuf for the current process
last *Argv // the pb from the last time the user tried autocomplete
id int // should be unique
Argv func([]string) // the function for shell autocomplete
@@ -22,7 +23,7 @@ type AutoArgs struct {
buildtime func() (string, string) // some examples
autoFunc func(*Argv) // also a function for autocomplete
guiFunc func() error // enables Gui functions
- err error // store any errors from argv
+ Err error // store any errors from argv
debug bool // is dubugging on?
setupAuto bool // do shell autocomplete setup
isAuto bool // try to do autocomplete