Skip to content

Instantly share code, notes, and snippets.

@tom-tan
Created October 30, 2017 08:00
Show Gist options
  • Save tom-tan/a22ea7353c8a720077f91b4662870c81 to your computer and use it in GitHub Desktop.
Save tom-tan/a22ea7353c8a720077f91b4662870c81 to your computer and use it in GitHub Desktop.
CWL での排他オプションの記述サンプル
args:
# version: true
# help: true
files:
- class: File
location: exclusive.cwl
- class: File
location: exclusive-job.yml
class: CommandLineTool
cwlVersion: v1.0
baseCommand: ls
inputs:
args:
type:
- type: record
name: version
fields:
version:
type: boolean
inputBinding:
valueFrom: --version
- type: record
name: help
fields:
help:
type: boolean
inputBinding:
valueFrom: --help
- type: record
name: files
fields:
files:
type: File[]
inputBinding: {}
outputs: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment