Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 896 Bytes

File metadata and controls

20 lines (14 loc) · 896 Bytes

toolshed_repo_updater.py

This script will take in the yaml file of toolshed tools to be installed and checks their revisions. It prints --> stdout a tab delimited list of tools that have newer revisions in the appropriate toolshed, and a tab delimited list of tools that have been deprecated. It also outputs a yaml file of the tools to be installed with all of the revisions updated.

Example:

  $ cd gvl.utilities/toolshed_repo_updater
  $ python toolshed_repo_updater.py -i input.yaml -o output.yaml

Usage:

  usage: toolshed_repo_updater.py [-h] [-v] -i INPUT -o OUTPUT

  optional arguments:
    -h, --help            show this help message and exit
    -v, --verbose         Verbose output to STDERR
    -i INPUT, --input INPUT
                          Input file name
    -o OUTPUT, --output OUTPUT
                          Output file name