summaryrefslogtreecommitdiff
path: root/argv.proto
diff options
context:
space:
mode:
Diffstat (limited to 'argv.proto')
-rw-r--r--argv.proto7
1 files changed, 7 insertions, 0 deletions
diff --git a/argv.proto b/argv.proto
index c5f26b9..8f3a558 100644
--- a/argv.proto
+++ b/argv.proto
@@ -7,6 +7,12 @@ package argvpb;
import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp
import "google/protobuf/duration.proto"; // for duration
+message App {
+ string APPNAME = 1;
+ string VERSION = 2;
+ string BUILDTIME = 3;
+}
+
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
@@ -25,6 +31,7 @@ message Argv { // `autogenpb:marshal` `
repeated string goargs = 15; // what to send to alex flint's go-args for help
bool fast = 16; // was the user fast last time?
string fastcmd = 17; // what subcommand was the user fast on?
+ App app = 18;
}
message Argvs { // `autogenpb:marshal` `autogenpb:sort` `autogenpb:nomutex`