From b95f2cab06e5de8fec71b0b991777f5d5cb1fa90 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 25 Oct 2025 08:26:54 -0500 Subject: isolate history handling --- argv.proto | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'argv.proto') diff --git a/argv.proto b/argv.proto index a67a896..3cf85b9 100644 --- a/argv.proto +++ b/argv.proto @@ -14,11 +14,11 @@ message App { } message StructEntry { - string structName = 2; // 'Force', 'Verbose', 'SortCmd' - string structType = 3; // 'string', 'int', '[]string', '*FindCmd' - string defaultVal = 4; // "true" - string helpText = 5; // "This will help you" - string matchText = 6; // "--help-me + string structName = 1; // 'Force', 'Verbose', 'SortCmd' + string structType = 2; // 'string', 'int', '[]string', '*FindCmd' + string defaultVal = 3; // "true" + string helpText = 4; // "This will help you" + string matchText = 5; // "--help-me } message ArgTree { @@ -39,11 +39,12 @@ message Argv { // `autogenpb:marshal 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 int32 helpCounter = 12; // counter to track if the help text has been sent to Stderr + string uuid = 13; // all output is loaded here before being sent to the shell } message Argvs { // `autogenpb:marshal` `autogenpb:sort` `autogenpb:nomutex` string uuid = 1; // `autogenpb:uuid:1e6e765c-0c77-4c81-a622-0d819bfcce9a` - string version = 2; // `autogenpb:version:v0.0.3` + string version = 2; // `autogenpb:version:v0.0.4` repeated Argv argvs = 3; string filename = 4; // `autogenpb:save` -- this enables autogenerated pb.Load() and pb.Save() } -- cgit v1.2.3