Skip to content

Commit d791500

Browse files
committed
add output stanza, fix syntax
1 parent ee0bea3 commit d791500

File tree

1 file changed

+19
-12
lines changed

1 file changed

+19
-12
lines changed

draft-3/cwl-runner.cwl

+19-12
Original file line numberDiff line numberDiff line change
@@ -14,58 +14,65 @@ inputs:
1414
description: |
1515
Output directory, defaults to the current directory
1616
inputBinding:
17-
- prefix: "--outdir"
17+
prefix: "--outdir"
1818

1919
- id: quiet
20-
type: bool
20+
type: boolean
2121
inputBinding:
22-
- prefix: "--quiet"
22+
prefix: "--quiet"
2323

2424
- id: toolfile
2525
type: [ "null", File ]
2626
description: |
2727
The tool or workflow description to run. Optional if the jobfile has a
2828
`cwl:tool` field to indicate the tool or workflow description to run.
2929
inputBinding:
30-
- position: 1
30+
position: 1
3131

3232
- id: jobfile
3333
type: File
3434
inputBinding:
35-
- position: 2
35+
position: 2
3636

3737
- id: conformance-test
38-
type: bool
38+
type: boolean
3939
inputBinding:
40-
- prefix: "--conformance-test"
40+
prefix: "--conformance-test"
4141

4242
- id: basedir
4343
type: string
4444
inputBinding:
45-
- prefix: "--basedir"
45+
prefix: "--basedir"
4646

4747
- id: no-container
48-
type: bool
48+
type: boolean
4949
description: |
5050
Do not execute jobs in a Docker container, even when specified by the
5151
CommandLineTool
5252
inputBinding:
53-
- prefix: "--no-container"
53+
prefix: "--no-container"
5454

5555
- id: tmp-outdir-prefix
5656
type: string
5757
description: |
5858
Path prefix for temporary directories. Useful for OS X so that boot2docker
5959
writes to /Users
6060
inputBinding:
61-
- prefix: "--tmp-outdir-prefix"
61+
prefix: "--tmp-outdir-prefix"
6262

6363
- id: tmpdir-prefix
6464
type: string
6565
description: |
6666
Path prefix for temporary directories
6767
inputBinding:
68-
- prefix: "--tmpdir-prefix"
68+
prefix: "--tmpdir-prefix"
6969

7070
baseCommand: cwl-runner
7171

72+
stdout: output-object.json
73+
74+
outputs:
75+
- id: output-object
76+
type: File
77+
outputBinding:
78+
glob: output-object.json

0 commit comments

Comments
 (0)