aboutsummaryrefslogtreecommitdiff
path: root/workflow/pandoc-filter-tool.cwl
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2025-05-23 08:00:06 +0200
committerJonas Smedegaard <dr@jones.dk>2025-05-23 08:00:06 +0200
commitefc49c3e902a7ab89db2e669867e0e2aab3cdc50 (patch)
tree210c65c38e98b6b0f32fafff98672f597b05fb0a /workflow/pandoc-filter-tool.cwl
parent7e56c94c03727894dec1b65da923bb4bd532df52 (diff)
add argument output_format to workflow
Diffstat (limited to 'workflow/pandoc-filter-tool.cwl')
-rwxr-xr-xworkflow/pandoc-filter-tool.cwl11
1 files changed, 8 insertions, 3 deletions
diff --git a/workflow/pandoc-filter-tool.cwl b/workflow/pandoc-filter-tool.cwl
index a433081..d657d08 100755
--- a/workflow/pandoc-filter-tool.cwl
+++ b/workflow/pandoc-filter-tool.cwl
@@ -13,20 +13,25 @@ inputs:
type: File
inputBinding:
position: 1
+ output_format:
+ type: string
+ inputBinding:
+ prefix: -t
+ position: 2
outputs:
html_with_rdfa:
type: File
outputBinding:
- glob: output
+ glob: output.${output_format}
latex_with_xmp:
type: File
outputBinding:
- glob: output
+ glob: output.${output_format}
markdown:
type: File
outputBinding:
- glob: output
+ glob: output.${output_format}
stdout: output
baseCommand: pandoc