From b78afadc51c4c5666114fab26db31e0199c1f50c Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Tue, 22 Jun 2021 08:35:37 +0530 Subject: 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. --- doc/hello-world.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc/hello-world.scm') 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)) -- cgit v1.2.3