summaryrefslogtreecommitdiff
path: root/auto.proto
diff options
context:
space:
mode:
Diffstat (limited to 'auto.proto')
-rw-r--r--auto.proto23
1 files changed, 12 insertions, 11 deletions
diff --git a/auto.proto b/auto.proto
index 4253c2e..84632fa 100644
--- a/auto.proto
+++ b/auto.proto
@@ -9,17 +9,18 @@ import "google/protobuf/duration.proto"; // for duration
message Auto { // `autogenpb:marshal` `autogenpb:sort` `autogenpb:nomutex`
google.protobuf.Timestamp ctime = 1; // when the user tried this autocomplete
- string argname = 2; // what the shell thinks the name of the executable is
- string partial = 3; // set to the partial string trying to be matched
- string cmd = 4; // the cmd being processed. For "git pull <tab>", cmd would be "pull"
- repeated string argv = 5; // use this to store whatever you want while the whole POST happens
- string arg0 = 6; // what os.Exec() has as os.Argv[0] // not interesting
- string arg1 = 7; // should always be "--auto-complete" // not interesting
- bool isAuto = 8; // is true if '--auto-complete' is set
- bool setupAuto = 9; // is true if '--bash' is set // setup bash autocomplete here
- bool debug = 10; // print debugging info if true
- bool newline = 11; // was a newline was sent to STDERR?
- google.protobuf.Duration duration = 12; // time since the last autocomplete
+ google.protobuf.Duration duration = 2; // time since the last autocomplete
+ string argname = 3; // what the shell thinks the name of the executable is
+ string arg0 = 4; // what os.Exec() has as os.Argv[0] // not interesting
+ string arg1 = 5; // should always be "--auto-complete" // not interesting
+ string arg3 = 6; // usually argv3 == argv0
+ repeated string argv = 7; // use this to store whatever you want while the whole POST happens
+ string cmd = 8; // the cmd being processed. For "git pull <tab>", cmd would be "pull"
+ string partial = 9; // set to the partial string trying to be matched
+ bool isAuto = 10; // is true if '--auto-complete' is set
+ bool setupAuto = 11; // is true if '--bash' is set // setup bash autocomplete here
+ bool debug = 12; // print debugging info if true
+ bool newline = 13; // was a newline was sent to STDERR?
}
message Autos { // `autogenpb:marshal` `autogenpb:sort` `autogenpb:nomutex`