Duke-GCB / bespin-cli

Command line client for Bespin
MIT License
0 stars 0 forks source link

Support for loading and validating non-packed workflow versions #33

Closed dleehr closed 5 years ago

dleehr commented 5 years ago

Example usage:

$ bespin workflow-version create \
   --url https://github.com/bespin-workflows/exomeseq-gatk4/archive/v2.0.0.zip \
   --type zipped \
   --path exomeseq-gatk4-2.0.0/exomeseq-gatk4.cwl \
  --version-info-url https://github.com/bespin-workflows/exomeseq-gatk4/blob/v2.0.0/CHANGELOG.md
Created workflow version 195.
$ bespin workflow-version validate \
  --url https://github.com/bespin-workflows/exomeseq-gatk4/archive/v2.0.0.zip \
  --type zipped \
  --path exomeseq-gatk4-2.0.0/exomeseq-gatk4.cwl \
  --workflow-tag exomeseq-gatk4 \
  --version v2.0.0
Validated https://github.com/bespin-workflows/exomeseq-gatk4/archive/v2.0.0.zip as 'exomeseq-gatk4/v2.0.0'

I also wrote a python script to programatically load all of our workflows, but that may belong in the bespin-workflows repo.

dleehr commented 5 years ago

See https://gist.github.com/dleehr/43514412cb7b124631647dadad337033#file-load-workflows-py for a script that can load all of our workflow versions (packed and zipped) from github releases into bespin-api.

dleehr commented 5 years ago

No I meant do delete that. Good catch!