diff options
author | Arun Isaac | 2021-06-22 08:35:37 +0530 |
---|---|---|
committer | Arun Isaac | 2021-06-22 08:35:37 +0530 |
commit | b78afadc51c4c5666114fab26db31e0199c1f50c (patch) | |
tree | 5b80bfae3ae93592fe722ec72f624da9211648ea /doc/capture-stdout.scm | |
parent | f99a10235c437899448f2a2cd112e5d9a7c16464 (diff) | |
download | ccwl-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.scm | 5 |
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)) |