Currently, if I output the following:
{"items": [
{
"title": "Foo",
"arg": "unicorn"
}
]}
I have to handle the `unicorn` arg in a connected output action in the workflow.
It would be useful to be able to dynamically handle it without needing to create an output action. This can be useful for very dynamic results and creating reusable modules that create output with different actions.
I propose adding a `script` property to the JSON format that when specified makes it not pass the output to any connected output action (like `valid: false`) and instead executes the `script` and passes `arg` to it.
{"items": [
{
"title": "Foo",
"arg": "unicorn",
"script": "run-foo.sh"
}
]}
This would make script filters a lot more powerful.