diff options
Diffstat (limited to 'argv.proto')
| -rw-r--r-- | argv.proto | 25 |
1 files changed, 9 insertions, 16 deletions
@@ -16,22 +16,15 @@ message App { 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 - 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 real = 7; // what is really sent to the application - 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? - App appInfo = 18; + 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 + repeated string goargs = 8; // what to send to alex flint's go-args for help + bool 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 } message Argvs { // `autogenpb:marshal` `autogenpb:sort` `autogenpb:nomutex` |
