Added ability to run commands in a shell

Diverges a small amount from the Python version for this.
This commit is contained in:
Ian Fijolek
2019-10-01 08:26:07 -07:00
parent 342b12432e
commit dd0b8e3f38
4 changed files with 37 additions and 4 deletions
+2
View File
@@ -18,6 +18,8 @@ func LoadConfig(filePath string) (config Config) {
if err != nil {
panic(err)
}
// TODO: Decide if this is better expanded here, or only when executing
env_expanded := os.ExpandEnv(string(data))
err = yaml.Unmarshal([]byte(env_expanded), &config)