diff options
| author | Jeff Carr <[email protected]> | 2025-09-17 22:01:52 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-17 22:01:52 -0500 |
| commit | b658111125c23efe72263f5f4358b7ffd6fb58ce (patch) | |
| tree | a4d29f8951563aa0ba874f4211980281fdfa1189 /auto.proto | |
| parent | 89093ac8f7af59e06ee4f65812e762dffaadc929 (diff) | |
compiles
Diffstat (limited to 'auto.proto')
| -rw-r--r-- | auto.proto | 23 |
1 files changed, 12 insertions, 11 deletions
@@ -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` |
