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:
parent
2fcf3582b5
commit
a024b923a3
1 changed files with 11 additions and 0 deletions
11
internal/shell/shell.go
Normal file
11
internal/shell/shell.go
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
package shell
|
||||
|
||||
type EnvironmentVariable struct {
|
||||
Key string
|
||||
Value string
|
||||
}
|
||||
|
||||
type InitFile struct {
|
||||
Filename string
|
||||
Variables []EnvironmentVariable
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue