summaryrefslogtreecommitdiff
path: root/key.proto
blob: 75921b1dbcb8fb1d7e6918af2c7f7c29663a93e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2025 WIT.COM Inc Licensed GPL 3.0

syntax = "proto3";

package env;

message Key {                             //
        string         var          = 1;  // ENV var name `autogenpb:unique` `autogenpb:sort`
        string         value        = 2;  // ENV value name
        string         global       = 3;  // where ENV 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;
        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
}