Skip to content

Commit 39cc3fa

Browse files
committed
update README
1 parent 45a642e commit 39cc3fa

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

README.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,33 @@
1+
## Install
2+
13
Requires Python 3.6.x or Python 3.7
24

35
``` bash
46
git clone https://github.com/common-workflow-language/cwl-utils.git
57
virtualenv -p python3.6 venv3.6
68
source venv3.6/bin/activate
79
pip install cwl-utils
8-
python docker-extract.py path_to_my_workflow.cwl
910
```
1011

11-
to regenerate install `schema_salad` package and run:
12+
## Usage
13+
14+
### Pull the image with Docker
15+
16+
This is the default behaviour:
17+
18+
```bash
19+
python docker_extract.py DIRECTORY path_to_my_workflow.cwl
20+
```
21+
22+
### Pull the image with Singularity
23+
24+
```bash
25+
python docker_extract.py --singularity DIRECTORY path_to_my_workflow.cwl
26+
```
27+
28+
## Regenerate
29+
30+
To regenerate install `schema_salad` package and run:
1231

1332
```
1433
schema-salad-tool --codegen python \

0 commit comments

Comments
 (0)