about summary refs log tree commit diff
path: root/e2e-tests/tools/command-line-tool-step-with-optional-and-required-inputs.scm
diff options
context:
space:
mode:
Diffstat (limited to 'e2e-tests/tools/command-line-tool-step-with-optional-and-required-inputs.scm')
-rw-r--r--e2e-tests/tools/command-line-tool-step-with-optional-and-required-inputs.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/e2e-tests/tools/command-line-tool-step-with-optional-and-required-inputs.scm b/e2e-tests/tools/command-line-tool-step-with-optional-and-required-inputs.scm
new file mode 100644
index 0000000..e6d0478
--- /dev/null
+++ b/e2e-tests/tools/command-line-tool-step-with-optional-and-required-inputs.scm
@@ -0,0 +1,8 @@
+(define echo
+  (command #:inputs (message1 #:type string) (message2 #:type string
+                                                       #:default "Hello world!")
+           #:run "echo" message1 message2
+           #:outputs (output_message #:type stdout)))
+
+(workflow ((message #:type string))
+  (echo #:message1 message))