I would like to pass the following to a program via arguments but it errors out.
Here is my code snippet
#!/usr/bin/env cwl-runner
cwlVersion: v1.0
class: CommandLineTool
requirements:
- class: InlineJavascriptRequirement
baseCommand: blender_ttcam
arguments:
# - ${
# return "--script " + inputs.blenderScript.path + "--input " + inputs.inputAlembicMesh.path + "--output " + inputs.outputAlembicCamera.path;
# }
- "--script"
- ${inputs.blenderScript.path}
- "--input"
- ${inputs.inputAlembicMesh.path}
- "--output"
- ${inputs.outputAlembicCamera.path}
inputs:
- id: blenderScript
type: File
- id: inputAlembicMesh
type: File
- id: outputAlembicCamera
type: File
successCodes:
- 0
outputs: []
I would like to pass the following to my baseCommand
--script `pwd`/blender_ttcam_script.py --input `pwd`/monkey.abc --output `pwd`/generated_camera.abc
I have difficult stitching all the arguments to pass to my baseCommand.
Cheers