#!/usr/bin/env cwl-runner
class: Workflow
cwlVersion: v1.1
requirements:
  StepInputExpressionRequirement: {}

inputs: []

outputs:
  val:
    type: string
    outputSource: step1/echo_out

steps:
  step1:
    run:
      id: echo
      class: CommandLineTool
      inputs:
        a:
          type: string
          inputBinding: {}
      outputs:
        echo_out:
          type: string
          outputBinding:
            glob: step1_out
            loadContents: true
            outputEval: $(self[0].contents)
      baseCommand: echo
      stdout: step1_out

    in:
      a:
        valueFrom: moocow
    out: [echo_out]