
# gcs sub wdl
#### 功能
提交单个WDL流程到Cromwell引擎。
#### 语法
**gcs sub wdl** FILENAME \[flags\]
#### 参数说明
表1参数说明 
| 参数名称      | 是否必选 | 简写  | 描述                                                                                                         |
|:---|:---|:---|:---|
| FILENAME  | 是    | 不涉及 | 需要执行的WDL流程文件。配置示例请参见[投递Cromwell任务](https://support.huaweicloud.com/cromwell-gcs/use_cromwell_engine.html)。 |
| --inputs  | 否    | -i  | 流程输入文件。配置示例请参见[投递Cromwell任务](https://support.huaweicloud.com/cromwell-gcs/use_cromwell_engine.html)。       |
| --options | 否    | -o  | 流程运行时配置文件。配置示例请参见[投递Cromwell任务](https://support.huaweicloud.com/cromwell-gcs/use_cromwell_engine.html)。    |
| --depends | 否    | -d  | 依赖的子流程文件压缩包或者文件目录。                                                                                         |
| --server  | 否    | -s  | 指定流程运行的环境名称，若不指定，则使用config中设置默认环境信息。                                                                       |
   
#### 使用示例
提交wdl流程。
```
gcs sub wdl example.wdl -i example.inputs -s gcs-env-test
```
回显内容如下。
```
current environment is gcs-env-test
create wdl succeed
{
"id":
"aa215e0b-c896-4138-865e-6cf7921246b6",
"status": "Submitted",
"message": ""
}
```
