Closed thejmazz closed 8 years ago
Pass something in directly, as it is, with no resolution. Could be a boolean, string, number, Array, Function, Promise, ...
boolean
string
number
Array
Function
Promise
{ value: 'foo' }
a glob expression/regex to be resolved to a full path before/after task
{ file: '**/*.sra' }
Use this if the task should take a stream as input, output, or both.
task 1
{ input: { value: '2492428' }, output: { stream: 'stdout' } }
task 2
{ input: { stream: 'stdin' }, output: { file: '*_genomic.fna.gz' } }
This will take the output stream of the preceding task and pipe it into the input of this task.
output
input
It is also possible to stream out an existing (or as it is created) file:
{ input: { 'stream-file': '*.sam' }, output: { stream: 'stdout' } }
The objs for #6
EDIT:
switched from
{ val: 'foo', type: 'value' }
to
Closing as per port into wiki.
value
Pass something in directly, as it is, with no resolution. Could be a
boolean
,string
,number
,Array
,Function
,Promise
, ...file
a glob expression/regex to be resolved to a full path before/after task
stream
Use this if the task should take a stream as input, output, or both.
task 1
task 2
This will take the
output
stream of the preceding task and pipe it into theinput
of this task.It is also possible to stream out an existing (or as it is created) file: