Script
Last updated
Last updated
The script block is a lot like a terminal block, except non-interactive. This is essentially your normal bash script, with some superpowers
We support several different interpreters with the script block. While we default to `zsh`, we also support running code with the following
bash
python3
node
This enables you to solve a wide variety of problems! The current in-use interpreter can be changed via the dropdown in the top right
The output of a script block can be captured as a variable, and reused as input for other blocks. All input fields in all blocks are templated.
Set the "output variable" name in the header of the block. You can refer to the variable with the following syntax
For example
See the Templating section for full info