nextflow-io / cwl2nxf

Import a CWL workflow specification to Nextflow script (experimental)
Apache License 2.0
27 stars 5 forks source link

Add ENV variable support #17

Open KevinSayers opened 7 years ago

KevinSayers commented 7 years ago

Add parsing for environment variables from CWL this will then map to Nextflow variables of the style env.foo

cwlVersion: v1.0
class: CommandLineTool
baseCommand: env
requirements:
  EnvVarRequirement:
    envDef:
      HELLO: $(inputs.message)
inputs:
  message: string
outputs: []