gcs get workflow
功能
查看workflow信息。
语法
gcs get workflow WORKFLOWID [params]
workflow可以简写为wf,即:
gcs get wf WORKFLOWID [params]
参数说明
参数名称 |
是否必选 |
简写 |
描述 |
---|---|---|---|
WORKFLOWID |
否 |
不涉及 |
可以直接执行 gcs get workflow,显示所有任务情况。也可以使用gcs get workflow workflowID指定显示单一workflow细节。 |
--detail |
否 |
-d |
默认值为不显示细节,如果希望显示 workflow 细节,则使用 --detail。 |
使用示例
- 获取所有模板信息。
gcs get workflow workflow_id name domain last_update xxxxxx xxxx xxxx xxxx xxxxxx xxxx xxxx xxxx xxxxxx xxxx xxxx xxxx 330f6533-9024-3a11-ae94-a40f3d96d158 rep-demo gcs-develper 2018-08-25 09:35:33 xxxxxx xxxx xxxx xxxx xxxxxx xxxx xxxx xxxx
- 获取所有模板详细信息。
gcs get workflow --detail { "workflow": [ { "id": "330f6533-9024-3a11-ae94-a40f3d96d158", "name": "gatk-best", "description": "", "vendor": "l00427178", "scope": "domain", "domain": "l00427178", "domain_id": "b0148a2cb4f347289b477bab429e48e7", "project_id": "c51567523b744d098a8a81ede51894ac", "create_at": "2018-08-25T09:35:33Z", "update_at": "2018-08-25T09:35:33Z", "workflow_url": "https://geneworkflows-149-b0148a2cb4f347289b477bab429e48e7.192.149.46.200:443/gatk-best/gatk4-best-practices1.yaml", "logo": "", "enterprise_project":{"id":"0", "name":"default"} } ] }
- 获取单一模板信息。
gcs get workflow 330f6533-9024-3a11-ae94-a40f3d96d158 { "workflow": { "id": "330f6533-9024-3a11-ae94-a40f3d96d158", "name": "gatk-best", "description": "", "vendor": "l00427178", "scope": "domain", "domain": "l00427178", "domain_id": "b0148a2cb4f347289b477bab429e48e7", "project_id": "c51567523b744d098a8a81ede51894ac", "create_at": "2018-08-25T09:35:33Z", "update_at": "2018-08-25T09:35:33Z", "workflow_url": "https://geneworkflows-149-b0148a2cb4f347289b477bab429e48e7.192.149.46.200:443/gatk-best/gatk4-best-practices1.yaml", "logo": "", "image": "", "enterprise_project":{"id":"0", "name":"default"} } }