You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| --config | file | / | YAML file for run configuration |
154
-
| --workflow | string | / | Workflow from the Store to be executed |
155
-
| --max | boolean | / | Use maximum number of machines for workflow execution |
156
-
| --output | string | / | A comma-separated list of nodes whose outputs should be downloaded when the execution is finished |
157
-
| --output-all | boolean | / | Download all outputs when the execution is finished |
158
-
| --output-dir | string | . | Path to the directory which should be used to store outputs |
159
-
| --show-params | boolean | / | Show parameters in the workflow tree |
160
-
| --watch | boolean | / | Option to track execution status in case workflow is in running state |
161
-
| --set-name | string | / | Sets the new workflow name and will copy the workflow to space and project supplied |
162
-
| --ci | boolean | false | Enable CI mode (in-progreess executions will be stopped when the CLI is forcefully stopped - if not set, you will be asked for confirmation) |
| --config | file | / | YAML file for run configuration |
154
+
| --workflow | string | / | Workflow from the Store to be executed |
155
+
| --max | boolean | / | Use maximum number of machines for workflow execution |
156
+
| --output | string | / | A comma-separated list of nodes whose outputs should be downloaded when the execution is finished |
157
+
| --output-all | boolean | / | Download all outputs when the execution is finished |
158
+
| --output-dir | string | . | Path to the directory which should be used to store outputs |
159
+
| --show-params | boolean | / | Show parameters in the workflow tree |
160
+
| --watch | boolean | / | Option to track execution status in case workflow is in running state |
161
+
| --set-name | string | / | Sets the new workflow name and will copy the workflow to space and project supplied |
162
+
| --ci | boolean | false | Enable CI mode (in-progress executions will be stopped when the CLI is forcefully stopped - if not set, you will be asked for confirmation) |
163
+
| --create-project | boolean | false | If the project doesn't exist, create one using the project flag as its name (or workflow/tool name if project flag is not set) |
163
164
164
165
#### Provide parameters using **config.yaml** file
Copy file name to clipboardExpand all lines: cmd/execute/execute.go
+11-27Lines changed: 11 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,7 @@ var (
37
37
outputsDirectorystring
38
38
outputNodesFlagstring
39
39
cibool
40
+
createProjectbool
40
41
)
41
42
42
43
// ExecuteCmd represents the execute command
@@ -111,6 +112,7 @@ func init() {
111
112
ExecuteCmd.Flags().StringVar(&outputNodesFlag, "output", "", "A comma separated list of nodes which outputs should be downloaded when the execution is finished")
112
113
ExecuteCmd.Flags().StringVar(&outputsDirectory, "output-dir", "", "Path to directory which should be used to store outputs")
113
114
ExecuteCmd.Flags().BoolVar(&ci, "ci", false, "Run in CI mode (in-progreess executions will be stopped when the CLI is forcefully stopped - if not set, you will be asked for confirmation)")
115
+
ExecuteCmd.Flags().BoolVar(&createProject, "create-project", false, "If the project doesn't exist, create it using the project flag as its name (or workflow name if not set)")
0 commit comments