Given:
- a task
X with zero or more inputs
- a task
Y with one or more inputs
- a
requires relationship from X to Y
When:
- i execute task
X with inputs needed for task Y
Then:
- The execution of task
Y should have access to inputs provided when running task X
For example, given a readme:
Tasks
y
Inputs: v
x
Requires: y
this invocation will work:
v=hello xc x
but this one will fail:
xc x hello
Likewise, this readme will also fail in the same way as described above:
Tasks
y
Inputs: v
x
Inputs: v
Requires: y
Given:
Xwith zero or more inputsYwith one or more inputsrequiresrelationship fromXtoYWhen:
Xwith inputs needed for taskYThen:
Yshould have access to inputs provided when running taskXFor example, given a readme:
Tasks
y
Inputs: v
x
Requires: y
this invocation will work:
v=hello xc xbut this one will fail:
xc x helloLikewise, this readme will also fail in the same way as described above:
Tasks
y
Inputs: v
x
Inputs: v
Requires: y