aboutsummaryrefslogtreecommitdiff
path: root/doc/capture-stdout.scm
diff options
context:
space:
mode:
authorArun Isaac2021-06-22 08:35:37 +0530
committerArun Isaac2021-06-22 08:35:37 +0530
commitb78afadc51c4c5666114fab26db31e0199c1f50c (patch)
tree5b80bfae3ae93592fe722ec72f624da9211648ea /doc/capture-stdout.scm
parentf99a10235c437899448f2a2cd112e5d9a7c16464 (diff)
downloadccwl-b78afadc51c4c5666114fab26db31e0199c1f50c.tar.gz
ccwl-b78afadc51c4c5666114fab26db31e0199c1f50c.tar.lz
ccwl-b78afadc51c4c5666114fab26db31e0199c1f50c.zip
doc: Specify command inputs in a separate argument.
* doc/capture-output-file-with-parameter-reference.scm, doc/capture-output-file.scm, doc/capture-stdout.scm, doc/checksum.scm, doc/decompress-compile-run.scm, doc/hello-world.scm: Specify command inputs in a separate argument. * doc/ccwl.skb (Tutorial)[First example]: Update description of command definition accordingly.
Diffstat (limited to 'doc/capture-stdout.scm')
-rw-r--r--doc/capture-stdout.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/capture-stdout.scm b/doc/capture-stdout.scm
index 1f26a95..6913809 100644
--- a/doc/capture-stdout.scm
+++ b/doc/capture-stdout.scm
@@ -1,6 +1,7 @@
(define print
- (command #:run "echo" (input 'message #:type 'string)
- #:outputs (output 'printed-message #:type 'stdout)))
+ (command #:inputs (message #:type 'string)
+ #:run "echo" message
+ #:outputs (printed-message #:type 'stdout)))
(workflow ((message #:type string))
(print #:message message))