diff options
Diffstat (limited to 'auto.proto')
| -rw-r--r-- | auto.proto | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -5,8 +5,9 @@ syntax = "proto3"; package httppb; import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp +import "google/protobuf/duration.proto"; // for duration -message Auto { +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 @@ -17,10 +18,12 @@ message Auto { 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 } -message Autos { // `autogenpb:marshal` `autogenpb:mutex` +message Autos { // `autogenpb:marshal` `autogenpb:sort` `autogenpb:nomutex` string uuid = 1; // `autogenpb:uuid:94210ebf-a534-4b33-aadd-2f5e1f56ae38` string version = 2; // `autogenpb:version:v0.0.1` - repeated Auto auto = 3; // THIS MUST BE HttpRequest and then HttpRequests + repeated Auto autos = 3; // THIS MUST BE HttpRequest and then HttpRequests } |
