about summary refs log tree commit diff
path: root/e2e-tests/tools/command-line-tool-with-default-input.scm
diff options
context:
space:
mode:
authorArun Isaac2025-11-27 00:52:18 +0000
committerArun Isaac2025-11-27 00:56:16 +0000
commit24f722d39fc9b669554967ff6e74c99138d24261 (patch)
tree9c77c856cd6a892a72703495e11317bc21bd93a7 /e2e-tests/tools/command-line-tool-with-default-input.scm
parentce7b724fa4718328e319f518ca899200bf292f5f (diff)
downloadravanan-24f722d39fc9b669554967ff6e74c99138d24261.tar.gz
ravanan-24f722d39fc9b669554967ff6e74c99138d24261.tar.lz
ravanan-24f722d39fc9b669554967ff6e74c99138d24261.zip
workflow: Add defaults to inputs even with Workflow class workflows.
Earlier, we were adding defaults only with CommandLineTool class
workflows, and ignoring defaults in Workflow class workflows.
Diffstat (limited to 'e2e-tests/tools/command-line-tool-with-default-input.scm')
-rw-r--r--e2e-tests/tools/command-line-tool-with-default-input.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/e2e-tests/tools/command-line-tool-with-default-input.scm b/e2e-tests/tools/command-line-tool-with-default-input.scm
new file mode 100644
index 0000000..82801a4
--- /dev/null
+++ b/e2e-tests/tools/command-line-tool-with-default-input.scm
@@ -0,0 +1,4 @@
+(command #:inputs (message #:type string
+                           #:default "Hello world!")
+         #:run "echo" message
+         #:outputs (output_message #:type stdout))