更新时间:2023-04-27 GMT+08:00
分享

查询流程详情

功能描述

查询指定workflow详情。

命令结构

health nextflow get workflow ID [flags]
表1 参数说明

参数

简写

是否必选

说明

ID

不涉及

流程ID,指定后获取流程ID对应的流程详情。不指定时,获取的是流程列表。

--param-file

-p

参数文件保存路径,以yaml格式保存。如果没指定,则不会显示和保存参数信息。

命令示例

health nextflow get workflow 550e8400-e29b-41d4-a716-446655440000 -p a.yaml

wirte nextflow workflow 5b5cd09c-bc14-11ed-b7f6-fa163e504fdd params file h3 success
{
        "create_time": "2023-03-06T11:45:13Z",
        "description": "h test 2",
        "id": "5b5cd09c-bc14-11ed-b7f6-fa163xxx",
        "labels": [
                "a",
                "b",
                "c"
        ],
        "main_file": "m1.nf",
        "name": "h3",
        "params_file": "h3-params.yaml",
        "source_resource_id": "",
        "update_time": "2023-03-06T11:51:13Z",
        "workflow_file": "testzip.zip",
        "workflow_file_url": "https://xxx/__nextflow__/assets/e6dcd289-dadb-48d9-b53b-e0c6c256932e/h3-compress/testzip.zip?AccessKeyId=VQ52M3Q7I4WPWPDUB5XZ\u0026Expires=1678139581\u0026Signature=XmQTSYDCq2Xl2pVDVE4S%2BoMBH3M%3D"
}


health nextflow get workflow
{                                                                          
        "workflows": [                                                     
                {                                                          
                        "id": "5b5cd09c-bc14-11ed-b7f6-fa163exxx",      
                        "name": "h3",                                      
                        "description": "h test 2",                         
                        "labels": [                                        
                                "a",                                       
                                "b",                                       
                                "c"                                        
                        ],                                                 
                        "create_time": "2023-03-06T11:45:13Z",             
                        "update_time": "2023-03-06T11:51:13Z",             
                        "creator": "ei_eihealth_h00541446_01",             
                        "source_resource_id": ""                           
                },
                {                                                          
                        "id": "cff53a66-b7d3-11ed-b7f6-fa163xxx",      
                        "name": "dsxs",                                    
                        "description": "xxx",                              
                        "labels": [],                                      
                        "create_time": "2023-03-01T01:53:07Z",             
                        "update_time": "2023-03-01T01:53:07Z",             
                        "creator": "ei_eihealth_h00541446_01",             
                        "source_resource_id": ""                           
                }                                                          
        ],                                                                 
        "count": 2                                                      
}                    

相关文档