defenseunicorns / maru-runner

The Unicorn Task Runner
Apache License 2.0
8 stars 0 forks source link

Allow variable templating in the `env` section #111

Closed Racer159 closed 1 month ago

Racer159 commented 1 month ago

Is your feature request related to a problem? Please describe

As Ezra I want to have env var templating in the env section of a command like we currently do for dir so that I can simplify what I ask the user for and template more things into one env var.

Describe the solution you'd like

Describe alternatives you've considered

We could allow higher level templating of variables into other variables but this would be simpler from an implementation perspective.

Additional context

https://github.com/defenseunicorns/maru-runner/blob/924c2b9927a2c80d00a7cee7cb2377b3e0e0d836/src/pkg/runner/actions.go#L164