summaryrefslogtreecommitdiff
path: root/auto.proto
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-16 13:58:28 -0500
committerJeff Carr <[email protected]>2025-10-17 01:45:59 -0500
commit411226cf9df0814ff8e714958da87c853b519bc6 (patch)
treeeea63f72a2614a0cec3c844edbf7cf162e4257e2 /auto.proto
parent28839452b290b83d409193044c5737a92cc1ec3e (diff)
A new life awaits you in the Off-world colonies!v0.0.39
Diffstat (limited to 'auto.proto')
-rw-r--r--auto.proto35
1 files changed, 0 insertions, 35 deletions
diff --git a/auto.proto b/auto.proto
deleted file mode 100644
index 6ec39c7..0000000
--- a/auto.proto
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2025 WIT.COM Inc Licensed GPL 3.0
-
-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 { // `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
- 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?
- string last = 14; // the last arg
- 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?
-}
-
-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 autos = 3;
- string filename = 4; // `autogenpb:save` -- this enables autogenerated pb.Load() and pb.Save()
-}