aboutsummaryrefslogtreecommitdiff
path: root/doc/capture-output-file.scm
blob: b13549e92c94ab957c3373c52c8ac964c106be9f (plain)
1
2
3
4
5
6
7
8
(define extract
  (command #:run "tar" "--extract" "--file" (input 'archive #:type 'File)
           #:outputs (output 'extracted-file
                             #:type 'File
                             #:binding '((glob . "hello.txt")))))

(workflow ((archive #:type File))
  (extract #:archive archive))