diff options
Diffstat (limited to 'doc/capture-output-file.scm')
-rw-r--r-- | doc/capture-output-file.scm | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/capture-output-file.scm b/doc/capture-output-file.scm index b13549e..6c5dbbd 100644 --- a/doc/capture-output-file.scm +++ b/doc/capture-output-file.scm @@ -1,8 +1,9 @@ (define extract - (command #:run "tar" "--extract" "--file" (input 'archive #:type 'File) - #:outputs (output 'extracted-file - #:type 'File - #:binding '((glob . "hello.txt"))))) + (command #:inputs (archive #:type 'File) + #:run "tar" "--extract" "--file" archive + #:outputs (extracted-file + #:type 'File + #:binding '((glob . "hello.txt"))))) (workflow ((archive #:type File)) (extract #:archive archive)) |