Skip to content

Instantly share code, notes, and snippets.

@ruchim
Created December 19, 2018 16:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ruchim/257a01125818aa9cb05f8f719b957ab8 to your computer and use it in GitHub Desktop.
Save ruchim/257a01125818aa9cb05f8f719b957ab8 to your computer and use it in GitHub Desktop.
task print {
File inFile
command {
cat ${inFile}
}
output {
String contents = read_string(stdout())
}
runtime {
docker: "ubuntu@sha256:71cd81252a3563a03ad8daee81047b62ab5d892ebbfbf71cf53415f29c130950"
}
}
workflow wf_hello {
call print
output {
print.contents
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment