Trevor Sullivan
Trevor Sullivan17mo ago

Set Windmill App State From Bash Script

Is there a way to set a key-value pair in the Windmill app state, from a Bash script? In the Python example, I saw a call to a set_state() method, but am not clear if this can be done in Bash or not. I am trying to avoid the dependency on the Bash script output, and directly set keys in the app state.
3 Replies
rubenf
rubenf17mo ago
set_state is not about windmill app state, it's something different altogether. You need to chain your bash script with a frontend script
Trevor Sullivan
Trevor SullivanOP17mo ago
Alrighty, sounds good
rubenf
rubenf17mo ago
We will make that easier soon by introducing transformers for background scripts so you do not have to do complex chaining