-
Notifications
You must be signed in to change notification settings - Fork 10
/
example.cwl
98 lines (76 loc) · 1.46 KB
/
example.cwl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
#!/usr/bin/env cwl-runner
# This tool description was generated automatically by argparse2tool
# To generate again: $ example.py --generate_cwl_tool
# Help: $ example.py --help_arg2cwl
cwlVersion: v1.0
class: CommandLineTool
baseCommand: ['example.py']
doc: |
Process some integers.here's some epilog text
inputs:
keyword:
type:
type: array
items: string
doc: action keyword
inputBinding:
position: 1
integers:
type:
type: array
items: int
doc: an integer for the accumulator
inputBinding:
position: 2
foo:
type: ["null", string]
doc: foo help
inputBinding:
prefix: --foo
bar:
type:
- "null"
- type: array
items: string
default: [1, 2, 3]
doc: BAR!
inputBinding:
prefix: --bar
true:
type: ["null", boolean]
default: False
doc: Store a true
inputBinding:
prefix: --true
false:
type: ["null", boolean]
default: True
doc: Store a false
inputBinding:
prefix: --false
append:
type:
- "null"
- type: array
items: string
doc: Append a value
inputBinding:
prefix: --append
nargs2:
type:
- "null"
- type: array
items: string
doc: nargs2
inputBinding:
prefix: --nargs2
mode:
type:
- "null"
- type: enum
symbols: ['rock', 'paper', 'scissors']
default: scissors
inputBinding:
prefix: --mode
outputs:
[]