joerdav / xc

Markdown defined task runner.
https://xcfile.dev/
MIT License
1.04k stars 25 forks source link

Update Requires attribute to allow inputs to be specified #92

Closed joerdav closed 11 months ago

joerdav commented 11 months ago

Currently a task dependency can only be defined if the required task has no inputs, or if the inputs are provided via environment variables.

The following should become valid:

# Task-a

Inputs: A

echo $A


# Task-b

Requires: Task-a hello