xc
xc copied to clipboard
Shared State?
I have a use case where I want to share some state between tasks. Take this simplistic example:
# `runme` Test
## Tasks
### hello
/```bash
export FOO=bar
/```
### world
requires: hello
/```bash
echo $FOO
/```
- note: using
/to prevent fence-block closing too soon.
Imaging task hello is executing a curl request and the output of that is useful in several other tasks. Is it possible to "share state" or receive output from a dependent task?
The above does not work:
❯ xc -f test.md world
world| + echo
world|
Maybe this is too close to #103? If so, please feel free to close this issue.