Skip to content

Commit 2c1731f

Browse files
committed
add convenient entry point for cwltool (#66)
* add convenient entry point for cwltool * clarify that this is not recommended
1 parent 9c3d1a1 commit 2c1731f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

cwltool.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/env python
2+
"""Convienance entry point for cwltool.
3+
4+
This can be used instead of the recommended method of `./setup.py install`
5+
or `./setup.py develop` and then using the generated `cwltool` executable.
6+
"""
7+
8+
import sys
9+
from cwltool import main
10+
11+
if __name__ == "__main__":
12+
sys.exit(main.main(sys.argv[1:]))

0 commit comments

Comments
 (0)