aboutsummaryrefslogtreecommitdiff
path: root/doc/external-cwl-workflow.scm
blob: 36c31722525e39677233ad869f27b8e05c5147c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
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)))