Skip to content
This repository has been archived by the owner on Oct 2, 2020. It is now read-only.

simplify hello.cwl #60

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 5 additions & 27 deletions workflows/hello/hello.cwl
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
#!/usr/bin/env cwl-runner


- id: "#echocmd"
class: CommandLineTool
inputs:
- id: "#echo-in"
type: string
label: "Message"
description: "The message to print"
default: "Hello World"
inputBinding: {}
inputs: []
outputs:
- id: "#echo-out"
type: File
Expand All @@ -18,22 +11,7 @@
outputBinding:
glob: messageout.txt
baseCommand: echo
stdout: messageout.txt

- id: "#main"
class: Workflow
label: "Hello World"
description: "Puts a message into a file using echo"
inputs: []
outputs:
- id: "#main.output"
type: File
source: "#echocmd.echo-out"
steps :
- id: "#step0"
run: {import: "#echocmd"}
inputs: []
outputs:
- { id: "#echocmd.echo-out" }


arguments:
- Hello
- world
- "!"