shell: new package for representing shell init configs internally

New types for the internal representation of the shell init configs,
which currently consists of files and key-value pairs for environment
global variables.
This commit is contained in:
Achilleas Koutsou 2023-02-15 17:44:22 +01:00 committed by Tomáš Hozza
parent 2fcf3582b5
commit a024b923a3

11
internal/shell/shell.go Normal file
View file

@ -0,0 +1,11 @@
package shell
type EnvironmentVariable struct {
Key string
Value string
}
type InitFile struct {
Filename string
Variables []EnvironmentVariable
}