diff --git a/_includes/cwl/enum.cwl b/_includes/cwl/enum.cwl new file mode 100644 index 00000000..0d153875 --- /dev/null +++ b/_includes/cwl/enum.cwl @@ -0,0 +1,29 @@ +#!/usr/bin/env cwl-runner + +cwlVersion: v1.0 +class: CommandLineTool + +baseCommand: grep + +inputs: + directory_handling: + inputBinding: + position: 0 + prefix: --directories= + separate: false + type: + type: enum + symbols: [read, skip, recurse] + default: read + search_pattern: + inputBinding: + position: 1 + type: string + search_target: + inputBinding: + position: 2 + type: Directory + +outputs: + output: + type: stdout diff --git a/_includes/cwl/grep-job.yml b/_includes/cwl/grep-job.yml new file mode 100644 index 00000000..8df36d15 --- /dev/null +++ b/_includes/cwl/grep-job.yml @@ -0,0 +1,5 @@ +directory_handling: recurse +search_pattern: abc +search_target: + class: Directory + path: .