Skip to content

Network Access documentation #335

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions src/topics/command-line-tool.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,23 @@ and in the [Outputs](../topics/outputs.md) sections.
%
% - Spaces in commands https://github.com/common-workflow-language/user_guide/issues/39
% - Arguments (tell the reader the different use cases for arguments and inputs, tell them there is a section about inputs)


## Network Access
This indicates whether a process requires outgoing IPv4/IPv6 network access.
If a command-line tool is written manually in CWL v1.1+, there is a need to
specify when network access is required.

```cwl
cwlVersion: v1.2
class: CommandLineTool

requirements:
NetworkAccess:
networkAccess: true
```

```{note}
CWL v1.0 command-line tools that are upgraded to v1.1
or v1.2 get Network Access automatically.
```