summaryrefslogtreecommitdiff
path: root/argv.proto
diff options
context:
space:
mode:
Diffstat (limited to 'argv.proto')
-rw-r--r--argv.proto29
1 files changed, 15 insertions, 14 deletions
diff --git a/argv.proto b/argv.proto
index 16f01a9..b2c5ede 100644
--- a/argv.proto
+++ b/argv.proto
@@ -27,20 +27,21 @@ message ArgTree {
}
message Argv { // `autogenpb:marshal` `autogenpb:sort` `autogenpb:nomutex`
- google.protobuf.Timestamp ctime = 1; // when the user tried this autocomplete
- google.protobuf.Duration duration = 2; // time since the last autocomplete
- App appInfo = 3;
- repeated string args = 4; // a copy of os.Args
- repeated string real = 5; // what will really be sent to the application
- string subcmd = 6; // the subcommand being processed. For "git pull <tab>", cmd would be "pull"
- string partial = 7; // if the user has only partially inputed something
- int32 fast = 8; // is autocomplete running quickly?
- string stdout = 9; // all output is loaded here before being sent to the shell
- string stderr = 10; // all output is loaded here before being sent to the shell
- string stddbg = 11; // all output is loaded here before being sent to the shell
- int32 outCounter = 12; // counter to track if the help text has been sent to Stderr
- int32 errCounter = 13; // counter to track if the help text has been sent to Stderr
- string uuid = 14; // all output is loaded here before being sent to the shell
+ google.protobuf.Timestamp ctime = 1; // set at the start of argv.Init()
+ google.protobuf.Duration duration = 2; // could mean lots of things
+ google.protobuf.Duration argvDuration = 3; // how long autocomplete & match took
+ App appInfo = 4;
+ repeated string args = 5; // a copy of os.Args
+ repeated string real = 6; // what will really be sent to the application
+ string subcmd = 7; // the subcommand being processed. For "git pull <tab>", cmd would be "pull"
+ string partial = 8; // if the user has only partially inputed something
+ int32 fast = 9; // is autocomplete running quickly?
+ string stdout = 10; // all output is loaded here before being sent to the shell
+ string stderr = 11; // all output is loaded here before being sent to the shell
+ string stddbg = 12; // all output is loaded here before being sent to the shell
+ int32 outCounter = 13; // counter to track if the help text has been sent to Stderr
+ int32 errCounter = 14; // counter to track if the help text has been sent to Stderr
+ string uuid = 15; // all output is loaded here before being sent to the shell
}
message Argvs { // `autogenpb:marshal` `autogenpb:sort` `autogenpb:nomutex`