cwl_utils/testdata/env-tool1.cwl
raw| 1 | #!/usr/bin/env cwl-runner |
| 2 | class: CommandLineTool |
| 3 | cwlVersion: v1.2 |
| 4 | inputs: |
| 5 | in: string |
| 6 | outputs: |
| 7 | out: |
| 8 | type: File |
| 9 | outputBinding: |
| 10 | glob: out |
| 11 | |
| 12 | requirements: |
| 13 | EnvVarRequirement: |
| 14 | envDef: |
| 15 | TEST_ENV: $(inputs.in) |
| 16 | |
| 17 | baseCommand: ["/bin/sh", "-c", "echo $TEST_ENV"] |
| 18 | |
| 19 | stdout: out |