tower-cli icon indicating copy to clipboard operation
tower-cli copied to clipboard

Add Nextflow schema and parameter extraction workaround technique

Open gwright99 opened this issue 2 years ago • 0 comments

The tw cli does not yet offer a native way to extract the nextflow schema file and associated parameters from Tower. A workaround is possible via direct call to the Tower API. Document this is an 'Workaround' section of the CLI Usage page.

Command: curl '${TOWER_SERVER_URL}/api/pipelines/${PIPELINE_ID}/schema?workspaceId=${TOWER_WORKSPACE_ID}&attributes=schema,params' -H "Accept: application/json" -H "Authorization: Bearer ${TOWER_ACCESS_TOKEN}"

Source

gwright99 avatar Apr 28 '23 14:04 gwright99