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
#[doc = " \"description\": \"A parameter is a value that can be passed to an executable and all of its sub-executables.\\nOnly one of `text`, `secretRef`, `prompt`, or `file` must be set. Specifying more than one will result in an error.\\n\","]
945
945
#[doc = " \"type\": \"object\","]
946
946
#[doc = " \"properties\": {"]
947
+
#[doc = " \"envFile\": {"]
948
+
#[doc = " \"description\": \"A path to a file containing environment variables to be passed to the executable.\\nThe file should contain one variable per line in the format `KEY=VALUE`.\\n\","]
949
+
#[doc = " \"default\": \"\","]
950
+
#[doc = " \"type\": \"string\""]
951
+
#[doc = " },"]
947
952
#[doc = " \"envKey\": {"]
948
-
#[doc = " \"description\": \"The name of the environment variable that will be assigned the value.\","]
953
+
#[doc = " \"description\": \"The name of the environment variable that will be assigned the value.\\n\\nWhen specified with `envFile`, only the environment variable with this name will be set.\\n\","]
#[doc = "The name of the environment variable that will be assigned the value."]
983
+
#[doc = "A path to a file containing environment variables to be passed to the executable.\nThe file should contain one variable per line in the format `KEY=VALUE`.\n"]
984
+
#[serde(rename = "envFile",default)]
985
+
pubenv_file:::std::string::String,
986
+
#[doc = "The name of the environment variable that will be assigned the value.\n\nWhen specified with `envFile`, only the environment variable with this name will be set.\n"]
979
987
#[serde(rename = "envKey",default)]
980
988
pubenv_key:::std::string::String,
981
989
#[doc = "A path where the parameter value will be temporarily written to disk.\nThe file will be created before execution and cleaned up afterwards.\n"]
@@ -999,6 +1007,7 @@ impl ::std::convert::From<&ExecutableParameter> for ExecutableParameter {
Copy file name to clipboardExpand all lines: desktop/src-tauri/src/types/generated/workspace.rs
+31Lines changed: 31 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -206,6 +206,14 @@ impl
206
206
#[doc = " \"default\": \"\","]
207
207
#[doc = " \"type\": \"string\""]
208
208
#[doc = " },"]
209
+
#[doc = " \"envFiles\": {"]
210
+
#[doc = " \"description\": \"A list of environment variable files to load for the workspace. These files should contain key-value pairs of environment variables.\\nBy default, the `.env` file in the workspace root is loaded if it exists.\\n\","]
#[doc = "The display name of the workspace. This is used in the interactive UI."]
232
240
#[serde(rename = "displayName",default)]
233
241
pubdisplay_name:::std::string::String,
242
+
#[doc = "A list of environment variable files to load for the workspace. These files should contain key-value pairs of environment variables.\nBy default, the `.env` file in the workspace root is loaded if it exists.\n"]
Copy file name to clipboardExpand all lines: docs/schemas/flowfile_schema.json
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -283,8 +283,13 @@
283
283
"description": "A parameter is a value that can be passed to an executable and all of its sub-executables.\nOnly one of `text`, `secretRef`, `prompt`, or `file` must be set. Specifying more than one will result in an error.\n",
284
284
"type": "object",
285
285
"properties": {
286
+
"envFile": {
287
+
"description": "A path to a file containing environment variables to be passed to the executable.\nThe file should contain one variable per line in the format `KEY=VALUE`.\n",
288
+
"type": "string",
289
+
"default": ""
290
+
},
286
291
"envKey": {
287
-
"description": "The name of the environment variable that will be assigned the value.",
292
+
"description": "The name of the environment variable that will be assigned the value.\n\nWhen specified with `envFile`, only the environment variable with this name will be set.\n",
Copy file name to clipboardExpand all lines: docs/schemas/workspace_schema.json
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -60,6 +60,14 @@
60
60
"type": "string",
61
61
"default": ""
62
62
},
63
+
"envFiles": {
64
+
"description": "A list of environment variable files to load for the workspace. These files should contain key-value pairs of environment variables.\nBy default, the `.env` file in the workspace root is loaded if it exists.\n",
|`envKey`| The name of the environment variable that will be assigned the value. |`string`|||
240
+
|`envFile`| A path to a file containing environment variables to be passed to the executable. The file should contain one variable per line in the format `KEY=VALUE`. |`string`|||
241
+
|`envKey`| The name of the environment variable that will be assigned the value. When specified with `envFile`, only the environment variable with this name will be set. |`string`|||
241
242
|`outputFile`| A path where the parameter value will be temporarily written to disk. The file will be created before execution and cleaned up afterwards. |`string`|||
242
243
|`prompt`| A prompt to be displayed to the user when collecting an input value. |`string`|||
243
244
|`secretRef`| A reference to a secret to be passed to the executable. |`string`|||
0 commit comments