tilt
tilt copied to clipboard
cmd_button should allow to set env variables
Describe the Feature You Want
I would like to pass env variables to cmd_button, as I can do with local_resource
Current Behavior
cmd_button doesn't have an env argument
Why Do You Want This?
To pass env variables to the command defined in cmd_button without messing up os env variables
thanks for the request! shouldn't be too hard to add. the api exists on Cmd, just needs to get passed through the extension code that creates the Cmd: https://github.com/tilt-dev/tilt-extensions/blob/master/uibutton/Tiltfile#L107 https://api.tilt.dev/core/cmd-v1alpha1.html
I would also like to very much see this feature.
I think this can be closed
Thanks team! Looking forward to use this!