Workflows are increasingly being shared to perform common tasks. If the workflows (command files) are maintained in a public location such as a repository, it would be helpful to be able to check the version of a local copy against the original version. This could be accomplished by adding the following special comments (or similar):
#@version 1.2.3
#@versionDate yyyy-mm-dd
#@author someone and/or their organization
#@sourceUrl https://path/to the original/copy
#@docUrl https://path/to/documentation
TSTool could either automatically check the sourceUrl for its version and compare against the local, or this could be a tool that could be run. The main issue with automatically checking is it could slow down the execution because of a network read.
At a minimum, this functionality could help people document their workflows with metadata. I am pondering whether a link to documentation would also be useful but this is simple enough that it could be implemented, and the command editor could perhaps have a button to view in a browser.
Another property could be @license or @licenseUrl but I don't want things to get too technical without a driving reason.
Workflows are increasingly being shared to perform common tasks. If the workflows (command files) are maintained in a public location such as a repository, it would be helpful to be able to check the version of a local copy against the original version. This could be accomplished by adding the following special comments (or similar):
TSTool could either automatically check the
sourceUrl
for its version and compare against the local, or this could be a tool that could be run. The main issue with automatically checking is it could slow down the execution because of a network read.At a minimum, this functionality could help people document their workflows with metadata. I am pondering whether a link to documentation would also be useful but this is simple enough that it could be implemented, and the command editor could perhaps have a button to view in a browser.
Another property could be
@license
or@licenseUrl
but I don't want things to get too technical without a driving reason.