Skip to content

Commit 7b71012

Browse files
authored
Network Access documentation (#335)
* Update basic-concepts.md * Update command-line-tool.md
1 parent 0b55dc7 commit 7b71012

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

src/topics/command-line-tool.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,23 @@ and in the [Outputs](../topics/outputs.md) sections.
6363
%
6464
% - Spaces in commands https://github.com/common-workflow-language/user_guide/issues/39
6565
% - Arguments (tell the reader the different use cases for arguments and inputs, tell them there is a section about inputs)
66+
67+
68+
## Network Access
69+
This indicates whether a process requires outgoing IPv4/IPv6 network access.
70+
If a command-line tool is written manually in CWL v1.1+, there is a need to
71+
specify when network access is required.
72+
73+
```cwl
74+
cwlVersion: v1.2
75+
class: CommandLineTool
76+
77+
requirements:
78+
NetworkAccess:
79+
networkAccess: true
80+
```
81+
82+
```{note}
83+
CWL v1.0 command-line tools that are upgraded to v1.1
84+
or v1.2 get Network Access automatically.
85+
```

0 commit comments

Comments
 (0)