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.bin %> data-code-extension function deploy --name my-package --package-version 1.0.0 --description "My package" --package-dir ./payload --target-org myorg --cpu-size CPU_4XL
38
38
39
39
# info.checkingPython
40
40
@@ -152,14 +152,6 @@ Target Salesforce org for deployment.
152
152
153
153
The alias or username of the Salesforce org where you want to deploy the Data Cloud custom code package. The org must have Data Cloud enabled and appropriate permissions.
154
154
155
-
# flags.functionInvokeOpt.summary
156
-
157
-
Function invocation option (function packages only).
158
-
159
-
# flags.functionInvokeOpt.description
160
-
161
-
Configuration for how functions should be invoked. UnstructuredChunking is only valid option at this point
Copy file name to clipboardExpand all lines: messages/run.md
+11-3Lines changed: 11 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,13 +18,13 @@ Executes an initialized Data Cloud custom code package against a Salesforce org.
18
18
19
19
# examples.function
20
20
21
-
- Run a function package against the org with alias "myorg":
21
+
- Run a function package:
22
22
23
-
<%= config.bin %> data-code-extension function run --entrypoint ./my-function-package/payload/entrypoint.py --target-org myorg
23
+
<%= config.bin %> data-code-extension function run --entrypoint ./my-function-package/payload/entrypoint.py --test-with ./my-function-package/payload/tests/test.json
24
24
25
25
- Run with a custom config file:
26
26
27
-
<%= config.bin %> data-code-extension function run --entrypoint ./my-function-package/payload/entrypoint.py --target-org myorg --config-file ./my-function-package/payload/config.json
27
+
<%= config.bin %> data-code-extension function run --entrypoint ./my-function-package/payload/entrypoint.py --test-with ./my-function-package/payload/tests/tests.json --config-file ./my-function-package/payload/config.json
28
28
29
29
# info.checkingPython
30
30
@@ -98,6 +98,14 @@ Target Salesforce org to run against.
98
98
99
99
The alias or username of the Salesforce org where you want to run the Data Cloud custom code package. The org must have Data Cloud enabled and appropriate permissions.
100
100
101
+
# flags.testWith.summary
102
+
103
+
Path to test.json file to test Data Code Extension function
104
+
105
+
# flags.testWith.description
106
+
107
+
Path to a JSON file that provides input request for the function.
0 commit comments