aboutsummaryrefslogtreecommitdiff
path: root/doc/hello-world.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/hello-world.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/hello-world.scm')
-rw-r--r--doc/hello-world.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/hello-world.scm b/doc/hello-world.scm
index 262b99f..1624053 100644
--- a/doc/hello-world.scm
+++ b/doc/hello-world.scm
@@ -1,5 +1,6 @@
(define print
- (command #:run "echo" (input 'message #:type 'string)))
+ (command #:inputs (message #:type 'string)
+ #:run "echo" message))
(workflow ((message #:type string))
(print #:message message))