nextflow.cli.CmdPull
nextflow可以使用(source code management, SCM)管理源代码。SCM的详细配置见这里
(source code management, SCM)
SCM
scm的使用方法如下:
nextflow clone https://gitee.com/bioproj/nf-hello nextflow pull https://gitee.com/bioproj/nf-hello
log.info "Checking $it ..." // nextflow 拉去代码 def manager = new AssetManager(it, this) def result = manager.download(revision) manager.updateModules() def scriptFile = manager.getScriptFile() String message = !result ? " done" : " $result" message += " - revision: ${scriptFile.revisionInfo}" log.info message