about summary refs log tree commit diff
path: root/cwl/tools/module-version.cwl
blob: a0aa5e07dbd32f166768fc166549368e6ef68cda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
cwlVersion: v1.2
class: CommandLineTool
label: hmftools module version probe
doc: |
  Runs an arbitrary hmftools shell command (conventionally
  `<module> -version`) and captures its output.  Used by the test suite
  to check that ravanan's profile really exposes every module this
  channel packages.
requirements:
  InlineJavascriptRequirement: {}
baseCommand: [bash, "-c"]
arguments: []
inputs:
  command:
    type: string
    doc: shell command to run
    inputBinding:
      position: 1
outputs:
  version:
    type: stdout