aboutsummaryrefslogtreecommitdiff
path: root/doc/ccwl.skb
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/ccwl.skb
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/ccwl.skb')
-rw-r--r--doc/ccwl.skb16
1 files changed, 10 insertions, 6 deletions
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