diff alveo_api_key.cwl @ 14:a38315ecf593 draft

planemo upload for repository https://github.com/Alveo/alveo-galaxy-tools commit b5b26e9118f2ad8af109d606746b39a5588f0511-dirty
author stevecassidy
date Wed, 01 Nov 2017 01:18:15 -0400
parents 56fda3d161f0
children
line wrap: on
line diff
--- a/alveo_api_key.cwl	Wed Feb 01 22:34:24 2017 -0500
+++ b/alveo_api_key.cwl	Wed Nov 01 01:18:15 2017 -0400
@@ -1,11 +1,23 @@
 #!/usr/bin/env cwl-runner
-cwlVersion: 'cwl:draft-3'
+arguments:
+- valueFrom:
+    engine: '#galaxy_command_line'
+    script: |-
+      python
+              alveo_api_key.py --api_key "$api_key" --output_path $output
+baseCommand: [/bin/sh, -c]
 class: CommandLineTool
-id: "alveo_api_key"
-label: "Get Alveo API Key"
-inputs: [] # TODO
-outputs: [] # TODO
-baseCommand: []
-arguments: []
-description: |
-   TODO: Fill in description.
\ No newline at end of file
+inputs:
+- {default: '', id: '#api_key', label: API Key, type: string}
+- {default: output, id: '#output', type: string}
+label: Store Alveo API Key
+outputs:
+- id: '#output_out'
+  outputBinding: {glob: output}
+  type: File
+requirements:
+- {class: ExpressionEngineRequirement, engineCommand: ./galaxy-command-line.py, id: '#galaxy_command_line'}
+- {class: ExpressionEngineRequirement, engineCommand: ./galaxy-template.py, id: '#galaxy_template'}
+- class: EnvVarRequirement
+  envDef:
+  - {envName: GALAXY_SLOTS, envValue: ''}