From b658111125c23efe72263f5f4358b7ffd6fb58ce Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 17 Sep 2025 22:01:52 -0500 Subject: compiles --- auto.proto | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'auto.proto') 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 ", 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 ", 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` -- cgit v1.2.3