diff options
Diffstat (limited to 'doc/external-cwl-workflow.scm')
-rw-r--r-- | doc/external-cwl-workflow.scm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/external-cwl-workflow.scm b/doc/external-cwl-workflow.scm new file mode 100644 index 0000000..36c3172 --- /dev/null +++ b/doc/external-cwl-workflow.scm @@ -0,0 +1,12 @@ +(define echo + (cwl-workflow "echo.cwl")) + +(define string-length + (command #:inputs file + #:run "wc" "--chars" + #:outputs (length #:type stdout) + #:stdin file)) + +(workflow ((message #:type string)) + (pipe (echo #:message message) + (string-length #:file output))) |