diff options
Diffstat (limited to 'key.proto')
| -rw-r--r-- | key.proto | 18 |
1 files changed, 11 insertions, 7 deletions
@@ -4,13 +4,17 @@ syntax = "proto3"; package ENV; -message Key { // - string var = 1; // ENV var name `autogenpb:unique` `autogenpb:sort` - string value = 2; // ENV value name +message Key { // + string var = 1; // ENV var name `autogenpb:unique` `autogenpb:sort` + string value = 2; // ENV value name + bool global = 3; // was defined in application OS settings + string help = 4; // text for explaining the ENV key/value } -message Keys { // `autogenpb:marshal` `autogenpb:nomutex` - string uuid = 1; // `autogenpb:uuid:7a8aaf7f-9851-42f0-89eb-434d2e51f5bb` - string version = 2; // `autogenpb:version:v0.0.1 go.wit.com/lib/ENV` - repeated Key keys = 3; +message Keys { // `autogenpb:marshal` `autogenpb:nomutex` + string uuid = 1; // `autogenpb:uuid:7a8aaf7f-9851-42f0-89eb-434d2e51f5bb` + string version = 2; // `autogenpb:version:v0.0.1 go.wit.com/lib/ENV` + repeated Key keys = 3; + string filename = 4; // can store where the filename is so that saves can be automated + bool init = 5; // can store where the filename is so that saves can be automated } |
