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
Given I have a cmd with an env section
And one of those env vars has a template string matching a variable in it (${VAR})
When I run Maru and set that variable
Then that env var is templated with the value from that variable
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.
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 fordir
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
cmd
with anenv
section${VAR}
)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