blob: 3104fae3749c3507db81da6c30fd5864bb4724e8 (
about) (
plain)
1
2
3
4
5
6
7
8
9
|
(define extract-specific-file
(command #:run "tar" "--extract" "--file" (input 'archive #:type 'File)
(input 'extractfile #:type 'string)
#:outputs (output 'extracted-file
#:type 'File
#:binding '((glob . "$(inputs.extractfile)")))))
(workflow ((archive #:type File) (extractfile #:type string))
(extract-specific-file #:archive archive #:extractfile extractfile))
|