File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -73,13 +73,24 @@ nextflow.preview.topic = true
73
73
74
74
An include declaration consists of an * include source* and one or more * include clauses* :
75
75
76
+ The include source should be a string literal and should refer to either a local path (e.g. ` ./module.nf ` ) or a plugin (e.g. ` plugin/nf-hello ` ):
77
+
76
78
``` groovy
77
- include { foo ; bar as baz } from './some/module'
79
+ include { foo } from './some/module'
78
80
```
79
81
80
- The include source should be a string literal and should refer to either a local path (e.g. ` ./module.nf ` ) or a plugin (e.g. ` plugin/nf-hello ` ).
82
+ Each include clause should specify a name, and may also specify an * alias * :
81
83
82
- Each include clause should specify a name, and may also specify an * alias* . In the example above, ` bar ` is included under the alias ` baz ` .
84
+ ``` groovy
85
+ include { bar as baz } from './some/module'
86
+ ```
87
+
88
+ Include clauses may include multiple names:
89
+
90
+ ``` groovy
91
+ // together
92
+ include { foo ; bar as baz } from './some/module'
93
+ ```
83
94
84
95
Include clauses can be separated by newlines or semi-colons, or they can be specified as separate includes:
85
96
You can’t perform that action at this time.
0 commit comments