Skip to content

Required tasks should inherit inputs (Or be able to map inputs for task X to inputs for required task Y) #103

Description

@chrisalbright

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

echo my inputs are $v

x

Requires: y

echo 'hello world'

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

echo my inputs are $v

x

Inputs: v
Requires: y

echo "$v world"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions