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/ccwl.skb | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'doc/ccwl.skb') diff --git a/doc/ccwl.skb b/doc/ccwl.skb index 57baa94..f31cba8 100644 --- a/doc/ccwl.skb +++ b/doc/ccwl.skb @@ -58,12 +58,16 @@ string.]) (p [The first form in this code defines the ,(code "print") command. This form is the equivalent of defining a -,(code "CommandLineTool") class workflow in CWL. All arguments after -,(code "#:run") specify the command that will be run. One of those -arguments ,(code "(input 'message #:type 'string)") refers to a -,(code "string") type input named ,(code "message"). Notice how the -command definition is very close to a shell command, only that it is -slightly annotated with inputs and their types.]) +,(code "CommandLineTool") class workflow in CWL. The arguments after +,(code "#:inputs") define the inputs to the workflow. The arguments +after ,(code "#:run") specify the command that will be run. The input +,(code "(message #:type 'string)") defines a ,(code "string") type +input named ,(code "message"). The command defined in the +,(code "#:run") argument is the command itself followed by a list of +command arguments. One of the arguments references the input +,(code "message"). Notice how the command definition is very close to +a shell command, only that it is slightly annotated with inputs and +their types.]) (p [The second form describes the actual workflow and is the equivalent of defining a ,(code "Workflow") class workflow in CWL. The -- cgit v1.2.3