@salesforce/cli 2.130.6 → 2.130.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +217 -84
- package/npm-shrinkwrap.json +28 -28
- package/oclif.lock +30 -30
- package/oclif.manifest.json +99 -1
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ $ npm install -g @salesforce/cli
|
|
|
25
25
|
$ sf COMMAND
|
|
26
26
|
running command...
|
|
27
27
|
$ sf (--version|-v)
|
|
28
|
-
@salesforce/cli/2.130.
|
|
28
|
+
@salesforce/cli/2.130.7 linux-x64 node-v22.22.1
|
|
29
29
|
$ sf --help [COMMAND]
|
|
30
30
|
USAGE
|
|
31
31
|
$ sf COMMAND
|
|
@@ -264,9 +264,17 @@ EXAMPLES
|
|
|
264
264
|
Activate version 2 of an agent with API name Resort_Manager in the org with alias "my-org":
|
|
265
265
|
|
|
266
266
|
$ sf agent activate --api-name Resort_Manager --version 2 --target-org my-org
|
|
267
|
+
|
|
268
|
+
ENVIRONMENT VARIABLES
|
|
269
|
+
SF_TARGET_ORG Username or alias of your default org. Overrides the target-org configuration variable.
|
|
270
|
+
|
|
271
|
+
ERROR CODES
|
|
272
|
+
Succeeded (0) Agent activated successfully.
|
|
273
|
+
NotFound (2) Agent not found in the org.
|
|
274
|
+
ActivationFailed (4) Failed to activate the agent due to API or network errors.
|
|
267
275
|
```
|
|
268
276
|
|
|
269
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.
|
|
277
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/activate.ts)_
|
|
270
278
|
|
|
271
279
|
## `sf agent create`
|
|
272
280
|
|
|
@@ -333,7 +341,7 @@ EXAMPLES
|
|
|
333
341
|
$ sf agent create --name "Resort Manager" --spec specs/resortManagerAgent.yaml --preview
|
|
334
342
|
```
|
|
335
343
|
|
|
336
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.
|
|
344
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/create.ts)_
|
|
337
345
|
|
|
338
346
|
## `sf agent deactivate`
|
|
339
347
|
|
|
@@ -372,9 +380,17 @@ EXAMPLES
|
|
|
372
380
|
Deactivate the agent Resort_Manager in the org with alias "my_org":
|
|
373
381
|
|
|
374
382
|
$ sf agent deactivate --api-name Resort_Manager --target-org my-org
|
|
383
|
+
|
|
384
|
+
ENVIRONMENT VARIABLES
|
|
385
|
+
SF_TARGET_ORG Username or alias of your default org. Overrides the target-org configuration variable.
|
|
386
|
+
|
|
387
|
+
ERROR CODES
|
|
388
|
+
Succeeded (0) Agent deactivated successfully.
|
|
389
|
+
NotFound (2) Agent not found in the org.
|
|
390
|
+
DeactivationFailed (4) Failed to deactivate the agent due to API or network errors.
|
|
375
391
|
```
|
|
376
392
|
|
|
377
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.
|
|
393
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/deactivate.ts)_
|
|
378
394
|
|
|
379
395
|
## `sf agent generate agent-spec`
|
|
380
396
|
|
|
@@ -481,7 +497,7 @@ EXAMPLES
|
|
|
481
497
|
$ sf agent generate agent-spec --tone formal --agent-user resortmanager@myorg.com
|
|
482
498
|
```
|
|
483
499
|
|
|
484
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.
|
|
500
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/generate/agent-spec.ts)_
|
|
485
501
|
|
|
486
502
|
## `sf agent generate authoring-bundle`
|
|
487
503
|
|
|
@@ -558,7 +574,7 @@ EXAMPLES
|
|
|
558
574
|
other-package-dir/main/default --target-org my-dev-org
|
|
559
575
|
```
|
|
560
576
|
|
|
561
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.
|
|
577
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/generate/authoring-bundle.ts)_
|
|
562
578
|
|
|
563
579
|
## `sf agent generate template`
|
|
564
580
|
|
|
@@ -620,7 +636,7 @@ EXAMPLES
|
|
|
620
636
|
my-package --source-org my-scratch-org
|
|
621
637
|
```
|
|
622
638
|
|
|
623
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.
|
|
639
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/generate/template.ts)_
|
|
624
640
|
|
|
625
641
|
## `sf agent generate test-spec`
|
|
626
642
|
|
|
@@ -685,7 +701,7 @@ EXAMPLES
|
|
|
685
701
|
force-app//main/default/aiEvaluationDefinitions/Resort_Manager_Tests.aiEvaluationDefinition-meta.xml
|
|
686
702
|
```
|
|
687
703
|
|
|
688
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.
|
|
704
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/generate/test-spec.ts)_
|
|
689
705
|
|
|
690
706
|
## `sf agent preview`
|
|
691
707
|
|
|
@@ -758,7 +774,7 @@ EXAMPLES
|
|
|
758
774
|
$ sf agent preview --use-live-actions --apex-debug --output-dir transcripts/my-preview
|
|
759
775
|
```
|
|
760
776
|
|
|
761
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.
|
|
777
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/preview.ts)_
|
|
762
778
|
|
|
763
779
|
## `sf agent preview end`
|
|
764
780
|
|
|
@@ -790,11 +806,11 @@ DESCRIPTION
|
|
|
790
806
|
use this command to end it. This command also displays the local directory where the session trace files are stored.
|
|
791
807
|
|
|
792
808
|
The original "agent preview start" command outputs a session ID which you then use with the --session-id flag of this
|
|
793
|
-
command to end the session.
|
|
809
|
+
command to end the session. You don't have to specify the --session-id flag if an agent has only one active preview
|
|
794
810
|
session. You must also use either the --authoring-bundle or --api-name flag to specify the API name of the authoring
|
|
795
|
-
bundle or the published agent, respecitvely.
|
|
811
|
+
bundle or the published agent, respecitvely. To find either API name, navigate to your package directory in your DX
|
|
796
812
|
project. The API name of an authoring bundle is the same as its directory name under the "aiAuthoringBundles" metadata
|
|
797
|
-
directory.
|
|
813
|
+
directory. Similarly, the published agent's API name is the same as its directory name under the "Bots" metadata
|
|
798
814
|
directory.
|
|
799
815
|
|
|
800
816
|
EXAMPLES
|
|
@@ -811,9 +827,18 @@ EXAMPLES
|
|
|
811
827
|
one active session.
|
|
812
828
|
|
|
813
829
|
$ sf agent preview end --authoring-bundle My_Local_Agent
|
|
830
|
+
|
|
831
|
+
ENVIRONMENT VARIABLES
|
|
832
|
+
SF_TARGET_ORG Username or alias of your default org. Overrides the target-org configuration variable.
|
|
833
|
+
|
|
834
|
+
ERROR CODES
|
|
835
|
+
Succeeded (0) Preview session ended successfully and traces saved.
|
|
836
|
+
NotFound (2) Agent not found, or no preview session exists for this agent.
|
|
837
|
+
PreviewEndFailed (4) Failed to end the preview session.
|
|
838
|
+
SessionAmbiguous (5) Multiple preview sessions found; specify --session-id to choose one.
|
|
814
839
|
```
|
|
815
840
|
|
|
816
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.
|
|
841
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/preview/end.ts)_
|
|
817
842
|
|
|
818
843
|
## `sf agent preview send`
|
|
819
844
|
|
|
@@ -846,11 +871,11 @@ DESCRIPTION
|
|
|
846
871
|
use this command to send the agent a message (utterance). This command then displays the agent's response.
|
|
847
872
|
|
|
848
873
|
The original "agent preview start" command outputs a session ID which you then use with the --session-id flag of this
|
|
849
|
-
command to send a message.
|
|
874
|
+
command to send a message. You don't have to specify the --session-id flag if an agent has only one active preview
|
|
850
875
|
session. You must also use either the --authoring-bundle or --api-name flag to specify the API name of the authoring
|
|
851
|
-
bundle or the published agent, respecitvely.
|
|
876
|
+
bundle or the published agent, respecitvely. To find either API name, navigate to your package directory in your DX
|
|
852
877
|
project. The API name of an authoring bundle is the same as its directory name under the "aiAuthoringBundles" metadata
|
|
853
|
-
directory.
|
|
878
|
+
directory. Similarly, the published agent's API name is the same as its directory name under the "Bots" metadata
|
|
854
879
|
directory.
|
|
855
880
|
|
|
856
881
|
EXAMPLES
|
|
@@ -869,9 +894,18 @@ EXAMPLES
|
|
|
869
894
|
active session:
|
|
870
895
|
|
|
871
896
|
$ sf agent preview send --utterance "what can you help me with?" --authoring-bundle My_Local_Agent
|
|
897
|
+
|
|
898
|
+
ENVIRONMENT VARIABLES
|
|
899
|
+
SF_TARGET_ORG Username or alias of your default org. Overrides the target-org configuration variable.
|
|
900
|
+
|
|
901
|
+
ERROR CODES
|
|
902
|
+
Succeeded (0) Message sent successfully and agent response received.
|
|
903
|
+
NotFound (2) Agent not found, or no preview session exists for this agent.
|
|
904
|
+
PreviewSendFailed (4) Failed to send message or receive response from the preview session.
|
|
905
|
+
SessionAmbiguous (5) Multiple preview sessions found; specify --session-id to choose one.
|
|
872
906
|
```
|
|
873
907
|
|
|
874
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.
|
|
908
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/preview/send.ts)_
|
|
875
909
|
|
|
876
910
|
## `sf agent preview sessions`
|
|
877
911
|
|
|
@@ -902,9 +936,12 @@ EXAMPLES
|
|
|
902
936
|
List all cached agent preview sessions:
|
|
903
937
|
|
|
904
938
|
$ sf agent preview sessions
|
|
939
|
+
|
|
940
|
+
ERROR CODES
|
|
941
|
+
Succeeded (0) Sessions listed successfully (or empty list if no active sessions).
|
|
905
942
|
```
|
|
906
943
|
|
|
907
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.
|
|
944
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/preview/sessions.ts)_
|
|
908
945
|
|
|
909
946
|
## `sf agent preview start`
|
|
910
947
|
|
|
@@ -913,7 +950,7 @@ Start a programmatic agent preview session.
|
|
|
913
950
|
```
|
|
914
951
|
USAGE
|
|
915
952
|
$ sf agent preview start -o <value> [--json] [--flags-dir <value>] [--api-version <value>] [-n <value>]
|
|
916
|
-
[--authoring-bundle <value>] [--use-live-actions]
|
|
953
|
+
[--authoring-bundle <value>] [--use-live-actions | --simulate-actions]
|
|
917
954
|
|
|
918
955
|
FLAGS
|
|
919
956
|
-n, --api-name=<value> API name of the activated published agent you want to preview.
|
|
@@ -922,8 +959,10 @@ FLAGS
|
|
|
922
959
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
923
960
|
--authoring-bundle=<value> API name of the authoring bundle metadata component that contains the agent's Agent
|
|
924
961
|
Script file.
|
|
925
|
-
--
|
|
926
|
-
|
|
962
|
+
--simulate-actions Use AI to simulate action execution instead of calling real actions. Required with
|
|
963
|
+
--authoring-bundle.
|
|
964
|
+
--use-live-actions Execute real actions in the org (Apex classes, flows, etc.). Required with
|
|
965
|
+
--authoring-bundle.
|
|
927
966
|
|
|
928
967
|
GLOBAL FLAGS
|
|
929
968
|
--flags-dir=<value> Import flag values from a directory.
|
|
@@ -933,35 +972,52 @@ DESCRIPTION
|
|
|
933
972
|
Start a programmatic agent preview session.
|
|
934
973
|
|
|
935
974
|
This command outputs a session ID that you then use with the "agent preview send" command to send an utterance to the
|
|
936
|
-
agent.
|
|
937
|
-
|
|
975
|
+
agent. Use the "agent preview sessions" command to list all active sessions and the "agent preview end" command to end
|
|
976
|
+
a specific session.
|
|
938
977
|
|
|
939
978
|
Identify the agent you want to start previewing with either the --authoring-bundle flag to specify a local authoring
|
|
940
|
-
bundle's API name or --api-name to specify an activated published agent's API name.
|
|
979
|
+
bundle's API name or --api-name to specify an activated published agent's API name. To find either API name, navigate
|
|
941
980
|
to your package directory in your DX project. The API name of an authoring bundle is the same as its directory name
|
|
942
|
-
under the "aiAuthoringBundles" metadata directory.
|
|
981
|
+
under the "aiAuthoringBundles" metadata directory. Similarly, the published agent's API name is the same as its
|
|
943
982
|
directory name under the "Bots" metadata directory.
|
|
944
983
|
|
|
945
|
-
When starting a preview session
|
|
946
|
-
|
|
947
|
-
|
|
984
|
+
When starting a preview session with --authoring-bundle, you must explicitly specify the execution mode using one of
|
|
985
|
+
these flags:
|
|
986
|
+
|
|
987
|
+
- --use-live-actions: Executes real Apex classes, flows, and other actions in the org. This surfaces compile and
|
|
988
|
+
validation errors during preview.
|
|
989
|
+
- --simulate-actions: Uses AI to simulate action execution without calling real implementations.
|
|
990
|
+
|
|
991
|
+
Published agents (--api-name) always use live actions. The mode flags are optional and have no effect for published
|
|
992
|
+
agents.
|
|
948
993
|
|
|
949
994
|
EXAMPLES
|
|
950
|
-
Start a programmatic agent preview session by specifying an authoring bundle;
|
|
951
|
-
|
|
995
|
+
Start a programmatic agent preview session by specifying an authoring bundle; use simulated actions. Use the org
|
|
996
|
+
with alias "my-dev-org":
|
|
952
997
|
|
|
953
|
-
$ sf agent preview start --authoring-bundle My_Agent_Bundle --target-org my-dev-org
|
|
998
|
+
$ sf agent preview start --authoring-bundle My_Agent_Bundle --target-org my-dev-org --simulate-actions
|
|
954
999
|
|
|
955
1000
|
Similar to previous example but use live actions and the default org:
|
|
956
1001
|
|
|
957
1002
|
$ sf agent preview start --authoring-bundle My_Agent_Bundle --use-live-actions
|
|
958
1003
|
|
|
959
|
-
Start a preview session with an activated published agent:
|
|
1004
|
+
Start a preview session with an activated published agent (always uses live actions):
|
|
960
1005
|
|
|
961
1006
|
$ sf agent preview start --api-name My_Published_Agent
|
|
1007
|
+
|
|
1008
|
+
ENVIRONMENT VARIABLES
|
|
1009
|
+
SF_TARGET_ORG Username or alias of your default org. Overrides the target-org configuration variable.
|
|
1010
|
+
|
|
1011
|
+
ERROR CODES
|
|
1012
|
+
Succeeded (0) Preview session started successfully.
|
|
1013
|
+
Failed (1) Agent Script compilation failed (syntax errors in the script).
|
|
1014
|
+
NotFound (2) Agent not found, or compilation API returned HTTP 404 (endpoint may not be available in your
|
|
1015
|
+
org or region).
|
|
1016
|
+
ServerError (3) Compilation API returned HTTP 500 (server error during compilation).
|
|
1017
|
+
PreviewStartFailed (4) Preview session failed to start due to API or network errors.
|
|
962
1018
|
```
|
|
963
1019
|
|
|
964
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.
|
|
1020
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/preview/start.ts)_
|
|
965
1021
|
|
|
966
1022
|
## `sf agent publish authoring-bundle`
|
|
967
1023
|
|
|
@@ -1010,7 +1066,7 @@ EXAMPLES
|
|
|
1010
1066
|
$ sf agent publish authoring-bundle --api-name MyAuthoringbundle --target-org my-dev-org
|
|
1011
1067
|
```
|
|
1012
1068
|
|
|
1013
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.
|
|
1069
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/publish/authoring-bundle.ts)_
|
|
1014
1070
|
|
|
1015
1071
|
## `sf agent test create`
|
|
1016
1072
|
|
|
@@ -1063,9 +1119,18 @@ EXAMPLES
|
|
|
1063
1119
|
Preview what the agent test metadata (AiEvaluationDefinition) looks like without deploying it to your default org:
|
|
1064
1120
|
|
|
1065
1121
|
$ sf agent test create --spec specs/Resort_Manager-testSpec.yaml --api-name Resort_Manager_Test --preview
|
|
1122
|
+
|
|
1123
|
+
ENVIRONMENT VARIABLES
|
|
1124
|
+
SF_TARGET_ORG Username or alias of your default org. Overrides the target-org configuration variable.
|
|
1125
|
+
|
|
1126
|
+
ERROR CODES
|
|
1127
|
+
Succeeded (0) Test created and deployed successfully.
|
|
1128
|
+
Failed (1) Test validation errors or metadata format issues.
|
|
1129
|
+
NotFound (2) Test spec file not found or org connection failed.
|
|
1130
|
+
DeploymentFailed (4) Deployment failed due to API or network errors.
|
|
1066
1131
|
```
|
|
1067
1132
|
|
|
1068
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.
|
|
1133
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/test/create.ts)_
|
|
1069
1134
|
|
|
1070
1135
|
## `sf agent test list`
|
|
1071
1136
|
|
|
@@ -1098,9 +1163,16 @@ EXAMPLES
|
|
|
1098
1163
|
List the agent tests in an org with alias "my-org""
|
|
1099
1164
|
|
|
1100
1165
|
$ sf agent test list --target-org my-org
|
|
1166
|
+
|
|
1167
|
+
ENVIRONMENT VARIABLES
|
|
1168
|
+
SF_TARGET_ORG Username or alias of your default org. Overrides the target-org configuration variable.
|
|
1169
|
+
|
|
1170
|
+
ERROR CODES
|
|
1171
|
+
Succeeded (0) Agent tests listed successfully.
|
|
1172
|
+
Failed (4) Failed to retrieve agent tests due to API or network errors.
|
|
1101
1173
|
```
|
|
1102
1174
|
|
|
1103
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.
|
|
1175
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/test/list.ts)_
|
|
1104
1176
|
|
|
1105
1177
|
## `sf agent test results`
|
|
1106
1178
|
|
|
@@ -1164,9 +1236,17 @@ FLAG DESCRIPTIONS
|
|
|
1164
1236
|
The generated data is in JSON format and includes the Apex classes or Flows that were invoked, the Salesforce
|
|
1165
1237
|
objects that were touched, and so on. Use the JSON structure of this information to build the test case JSONPath
|
|
1166
1238
|
expression when using custom evaluations.
|
|
1239
|
+
|
|
1240
|
+
ENVIRONMENT VARIABLES
|
|
1241
|
+
SF_TARGET_ORG Username or alias of your default org. Overrides the target-org configuration variable.
|
|
1242
|
+
|
|
1243
|
+
ERROR CODES
|
|
1244
|
+
Succeeded (0) Results retrieved successfully. Test results (passed/failed) are in the output.
|
|
1245
|
+
NotFound (2) Job ID not found or invalid.
|
|
1246
|
+
Failed (4) Failed to retrieve results due to API or network errors.
|
|
1167
1247
|
```
|
|
1168
1248
|
|
|
1169
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.
|
|
1249
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/test/results.ts)_
|
|
1170
1250
|
|
|
1171
1251
|
## `sf agent test resume`
|
|
1172
1252
|
|
|
@@ -1237,9 +1317,18 @@ FLAG DESCRIPTIONS
|
|
|
1237
1317
|
The generated data is in JSON format and includes the Apex classes or Flows that were invoked, the Salesforce
|
|
1238
1318
|
objects that were touched, and so on. Use the JSON structure of this information to build the test case JSONPath
|
|
1239
1319
|
expression when using custom evaluations.
|
|
1320
|
+
|
|
1321
|
+
ENVIRONMENT VARIABLES
|
|
1322
|
+
SF_TARGET_ORG Username or alias of your default org. Overrides the target-org configuration variable.
|
|
1323
|
+
|
|
1324
|
+
ERROR CODES
|
|
1325
|
+
Succeeded (0) Test completed successfully (with test results in the output).
|
|
1326
|
+
Failed (1) Tests encountered execution errors (test cases with ERROR status).
|
|
1327
|
+
NotFound (2) Job ID not found or invalid.
|
|
1328
|
+
OperationFailed (4) Failed to poll test due to API or network errors.
|
|
1240
1329
|
```
|
|
1241
1330
|
|
|
1242
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.
|
|
1331
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/test/resume.ts)_
|
|
1243
1332
|
|
|
1244
1333
|
## `sf agent test run`
|
|
1245
1334
|
|
|
@@ -1311,9 +1400,18 @@ FLAG DESCRIPTIONS
|
|
|
1311
1400
|
The generated data is in JSON format and includes the Apex classes or Flows that were invoked, the Salesforce
|
|
1312
1401
|
objects that were touched, and so on. Use the JSON structure of this information to build the test case JSONPath
|
|
1313
1402
|
expression when using custom evaluations.
|
|
1403
|
+
|
|
1404
|
+
ENVIRONMENT VARIABLES
|
|
1405
|
+
SF_TARGET_ORG Username or alias of your default org. Overrides the target-org configuration variable.
|
|
1406
|
+
|
|
1407
|
+
ERROR CODES
|
|
1408
|
+
Succeeded (0) Test started successfully (without --wait), or test completed successfully (with --wait).
|
|
1409
|
+
Failed (1) Tests encountered execution errors (test cases with ERROR status when using --wait).
|
|
1410
|
+
NotFound (2) Test definition not found or invalid test name.
|
|
1411
|
+
OperationFailed (4) Failed to start or poll test due to API or network errors.
|
|
1314
1412
|
```
|
|
1315
1413
|
|
|
1316
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.
|
|
1414
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/test/run.ts)_
|
|
1317
1415
|
|
|
1318
1416
|
## `sf agent validate authoring-bundle`
|
|
1319
1417
|
|
|
@@ -1358,9 +1456,19 @@ EXAMPLES
|
|
|
1358
1456
|
Validate an authoring bundle with API name MyAuthoringBundle; use the org with alias "my-dev-org":
|
|
1359
1457
|
|
|
1360
1458
|
$ sf agent validate authoring-bundle --api-name MyAuthoringBundle --target-org my-dev-org
|
|
1459
|
+
|
|
1460
|
+
ENVIRONMENT VARIABLES
|
|
1461
|
+
SF_TARGET_ORG Username or alias of your default org. Overrides the target-org configuration variable.
|
|
1462
|
+
|
|
1463
|
+
ERROR CODES
|
|
1464
|
+
Succeeded (0) Agent Script file compiled successfully without errors.
|
|
1465
|
+
Failed (1) Compilation errors found in the Agent Script file.
|
|
1466
|
+
NotFound (2) Validation/compilation API returned HTTP 404. The API endpoint may not be available in your org or
|
|
1467
|
+
region.
|
|
1468
|
+
ServerError (3) Validation/compilation API returned HTTP 500. A server error occurred during compilation.
|
|
1361
1469
|
```
|
|
1362
1470
|
|
|
1363
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.
|
|
1471
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.32.16/src/commands/agent/validate/authoring-bundle.ts)_
|
|
1364
1472
|
|
|
1365
1473
|
## `sf alias list`
|
|
1366
1474
|
|
|
@@ -3973,7 +4081,7 @@ FLAG DESCRIPTIONS
|
|
|
3973
4081
|
"agent.user.<GUID>@your-org-domain.com".
|
|
3974
4082
|
```
|
|
3975
4083
|
|
|
3976
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.
|
|
4084
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.79/src/commands/org/create/agent-user.ts)_
|
|
3977
4085
|
|
|
3978
4086
|
## `sf org create sandbox`
|
|
3979
4087
|
|
|
@@ -4107,7 +4215,7 @@ FLAG DESCRIPTIONS
|
|
|
4107
4215
|
You can specify either --source-sandbox-name or --source-id when cloning an existing sandbox, but not both.
|
|
4108
4216
|
```
|
|
4109
4217
|
|
|
4110
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.
|
|
4218
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.79/src/commands/org/create/sandbox.ts)_
|
|
4111
4219
|
|
|
4112
4220
|
## `sf org create scratch`
|
|
4113
4221
|
|
|
@@ -4289,7 +4397,7 @@ FLAG DESCRIPTIONS
|
|
|
4289
4397
|
Omit this flag to have Salesforce generate a unique username for your org.
|
|
4290
4398
|
```
|
|
4291
4399
|
|
|
4292
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.
|
|
4400
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.79/src/commands/org/create/scratch.ts)_
|
|
4293
4401
|
|
|
4294
4402
|
## `sf org create user`
|
|
4295
4403
|
|
|
@@ -4443,7 +4551,7 @@ EXAMPLES
|
|
|
4443
4551
|
$ sf org delete sandbox --target-org my-sandbox --no-prompt
|
|
4444
4552
|
```
|
|
4445
4553
|
|
|
4446
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.
|
|
4554
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.79/src/commands/org/delete/sandbox.ts)_
|
|
4447
4555
|
|
|
4448
4556
|
## `sf org delete scratch`
|
|
4449
4557
|
|
|
@@ -4487,7 +4595,7 @@ EXAMPLES
|
|
|
4487
4595
|
$ sf org delete scratch --target-org my-scratch-org --no-prompt
|
|
4488
4596
|
```
|
|
4489
4597
|
|
|
4490
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.
|
|
4598
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.79/src/commands/org/delete/scratch.ts)_
|
|
4491
4599
|
|
|
4492
4600
|
## `sf org disable tracking`
|
|
4493
4601
|
|
|
@@ -4526,7 +4634,7 @@ EXAMPLES
|
|
|
4526
4634
|
$ sf org disable tracking
|
|
4527
4635
|
```
|
|
4528
4636
|
|
|
4529
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.
|
|
4637
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.79/src/commands/org/disable/tracking.ts)_
|
|
4530
4638
|
|
|
4531
4639
|
## `sf org display`
|
|
4532
4640
|
|
|
@@ -4571,7 +4679,7 @@ EXAMPLES
|
|
|
4571
4679
|
$ sf org display --target-org TestOrg1 --verbose
|
|
4572
4680
|
```
|
|
4573
4681
|
|
|
4574
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.
|
|
4682
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.79/src/commands/org/display.ts)_
|
|
4575
4683
|
|
|
4576
4684
|
## `sf org display user`
|
|
4577
4685
|
|
|
@@ -4652,7 +4760,7 @@ EXAMPLES
|
|
|
4652
4760
|
$ sf org enable tracking
|
|
4653
4761
|
```
|
|
4654
4762
|
|
|
4655
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.
|
|
4763
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.79/src/commands/org/enable/tracking.ts)_
|
|
4656
4764
|
|
|
4657
4765
|
## `sf org generate password`
|
|
4658
4766
|
|
|
@@ -4758,7 +4866,7 @@ EXAMPLES
|
|
|
4758
4866
|
$ sf org list --clean
|
|
4759
4867
|
```
|
|
4760
4868
|
|
|
4761
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.
|
|
4869
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.79/src/commands/org/list.ts)_
|
|
4762
4870
|
|
|
4763
4871
|
## `sf org list auth`
|
|
4764
4872
|
|
|
@@ -4897,7 +5005,7 @@ FLAG DESCRIPTIONS
|
|
|
4897
5005
|
Examples of metadata types that use folders are Dashboard, Document, EmailTemplate, and Report.
|
|
4898
5006
|
```
|
|
4899
5007
|
|
|
4900
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.
|
|
5008
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.79/src/commands/org/list/metadata.ts)_
|
|
4901
5009
|
|
|
4902
5010
|
## `sf org list metadata-types`
|
|
4903
5011
|
|
|
@@ -4952,7 +5060,7 @@ FLAG DESCRIPTIONS
|
|
|
4952
5060
|
Override the api version used for api requests made by this command
|
|
4953
5061
|
```
|
|
4954
5062
|
|
|
4955
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.
|
|
5063
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.79/src/commands/org/list/metadata-types.ts)_
|
|
4956
5064
|
|
|
4957
5065
|
## `sf org list sobject record-counts`
|
|
4958
5066
|
|
|
@@ -5498,7 +5606,7 @@ EXAMPLES
|
|
|
5498
5606
|
$ sf org open --source-file force-app/main/default/bots/Coral_Cloud_Agent/Coral_Cloud_Agent.bot-meta.xml
|
|
5499
5607
|
```
|
|
5500
5608
|
|
|
5501
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.
|
|
5609
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.79/src/commands/org/open.ts)_
|
|
5502
5610
|
|
|
5503
5611
|
## `sf org open agent`
|
|
5504
5612
|
|
|
@@ -5549,7 +5657,7 @@ EXAMPLES
|
|
|
5549
5657
|
$ sf org open agent --target-org MyTestOrg1 --browser firefox --api-name Coral_Cloud_Agent
|
|
5550
5658
|
```
|
|
5551
5659
|
|
|
5552
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.
|
|
5660
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.79/src/commands/org/open/agent.ts)_
|
|
5553
5661
|
|
|
5554
5662
|
## `sf org open authoring-bundle`
|
|
5555
5663
|
|
|
@@ -5595,7 +5703,7 @@ EXAMPLES
|
|
|
5595
5703
|
$ sf org open authoring-bundle --target-org MyTestOrg1 --browser firefox
|
|
5596
5704
|
```
|
|
5597
5705
|
|
|
5598
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.
|
|
5706
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.79/src/commands/org/open/authoring-bundle.ts)_
|
|
5599
5707
|
|
|
5600
5708
|
## `sf org refresh sandbox`
|
|
5601
5709
|
|
|
@@ -5698,7 +5806,7 @@ FLAG DESCRIPTIONS
|
|
|
5698
5806
|
You can specify either --source-sandbox-name or --source-id when refreshing an existing sandbox, but not both.
|
|
5699
5807
|
```
|
|
5700
5808
|
|
|
5701
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.
|
|
5809
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.79/src/commands/org/refresh/sandbox.ts)_
|
|
5702
5810
|
|
|
5703
5811
|
## `sf org resume sandbox`
|
|
5704
5812
|
|
|
@@ -5761,7 +5869,7 @@ FLAG DESCRIPTIONS
|
|
|
5761
5869
|
returns the job ID. To resume checking the sandbox creation, rerun this command.
|
|
5762
5870
|
```
|
|
5763
5871
|
|
|
5764
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.
|
|
5872
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.79/src/commands/org/resume/sandbox.ts)_
|
|
5765
5873
|
|
|
5766
5874
|
## `sf org resume scratch`
|
|
5767
5875
|
|
|
@@ -5814,7 +5922,7 @@ FLAG DESCRIPTIONS
|
|
|
5814
5922
|
returns the job ID. To resume checking the scratch creation, rerun this command.
|
|
5815
5923
|
```
|
|
5816
5924
|
|
|
5817
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.
|
|
5925
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.9.79/src/commands/org/resume/scratch.ts)_
|
|
5818
5926
|
|
|
5819
5927
|
## `sf package convert`
|
|
5820
5928
|
|
|
@@ -9773,7 +9881,7 @@ FLAG DESCRIPTIONS
|
|
|
9773
9881
|
directory.
|
|
9774
9882
|
```
|
|
9775
9883
|
|
|
9776
|
-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
9884
|
+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.15.2/src/commands/template/generate/analytics/template.ts)_
|
|
9777
9885
|
|
|
9778
9886
|
## `sf template generate apex class`
|
|
9779
9887
|
|
|
@@ -9833,7 +9941,7 @@ FLAG DESCRIPTIONS
|
|
|
9833
9941
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
9834
9942
|
```
|
|
9835
9943
|
|
|
9836
|
-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
9944
|
+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.15.2/src/commands/template/generate/apex/class.ts)_
|
|
9837
9945
|
|
|
9838
9946
|
## `sf template generate apex trigger`
|
|
9839
9947
|
|
|
@@ -9903,7 +10011,7 @@ FLAG DESCRIPTIONS
|
|
|
9903
10011
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
9904
10012
|
```
|
|
9905
10013
|
|
|
9906
|
-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
10014
|
+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.15.2/src/commands/template/generate/apex/trigger.ts)_
|
|
9907
10015
|
|
|
9908
10016
|
## `sf template generate digital-experience site`
|
|
9909
10017
|
|
|
@@ -9957,7 +10065,7 @@ FLAG DESCRIPTIONS
|
|
|
9957
10065
|
project, defaults to the current directory.
|
|
9958
10066
|
```
|
|
9959
10067
|
|
|
9960
|
-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
10068
|
+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.15.2/src/commands/template/generate/digital-experience/site.ts)_
|
|
9961
10069
|
|
|
9962
10070
|
## `sf template generate flexipage`
|
|
9963
10071
|
|
|
@@ -10039,7 +10147,7 @@ FLAG DESCRIPTIONS
|
|
|
10039
10147
|
'Custom_Object__c'. This sets the `sobjectType` field in the FlexiPage metadata.
|
|
10040
10148
|
```
|
|
10041
10149
|
|
|
10042
|
-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
10150
|
+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.15.2/src/commands/template/generate/flexipage/index.ts)_
|
|
10043
10151
|
|
|
10044
10152
|
## `sf template generate lightning app`
|
|
10045
10153
|
|
|
@@ -10092,10 +10200,12 @@ FLAG DESCRIPTIONS
|
|
|
10092
10200
|
|
|
10093
10201
|
-t, --template=DefaultLightningApp Template to use for file creation.
|
|
10094
10202
|
|
|
10095
|
-
Supplied parameter values or default values are filled into a copy of the template.
|
|
10203
|
+
Supplied parameter values or default values are filled into a copy of the template. For Lightning Web Components, if
|
|
10204
|
+
this flag isn't specified, the CLI command automatically selects the template based on the "defaultLwcLanguage"
|
|
10205
|
+
field in the DX project's "sfdx-project.json" file.
|
|
10096
10206
|
```
|
|
10097
10207
|
|
|
10098
|
-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
10208
|
+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.15.2/src/commands/template/generate/lightning/app.ts)_
|
|
10099
10209
|
|
|
10100
10210
|
## `sf template generate lightning component`
|
|
10101
10211
|
|
|
@@ -10104,13 +10214,14 @@ Generate a bundle for an Aura component or a Lightning web component.
|
|
|
10104
10214
|
```
|
|
10105
10215
|
USAGE
|
|
10106
10216
|
$ sf template generate lightning component -n <value> [--json] [--flags-dir <value>] [-t
|
|
10107
|
-
default|analyticsDashboard|analyticsDashboardWithStep] [-d <value>] [--api-version <value>] [--type
|
|
10217
|
+
default|analyticsDashboard|analyticsDashboardWithStep|typescript] [-d <value>] [--api-version <value>] [--type
|
|
10218
|
+
aura|lwc]
|
|
10108
10219
|
|
|
10109
10220
|
FLAGS
|
|
10110
10221
|
-d, --output-dir=<value> [default: .] Directory for saving the created files.
|
|
10111
10222
|
-n, --name=<value> (required) Name of the generated Lightning Component.
|
|
10112
10223
|
-t, --template=<option> [default: default] Template to use for file creation.
|
|
10113
|
-
<options: default|analyticsDashboard|analyticsDashboardWithStep>
|
|
10224
|
+
<options: default|analyticsDashboard|analyticsDashboardWithStep|typescript>
|
|
10114
10225
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
10115
10226
|
--type=<option> [default: aura] Type of the component bundle.
|
|
10116
10227
|
<options: aura|lwc>
|
|
@@ -10150,6 +10261,10 @@ EXAMPLES
|
|
|
10150
10261
|
|
|
10151
10262
|
$ sf template generate lightning component --name mycomponent --type lwc --output-dir force-app/main/default/lwc
|
|
10152
10263
|
|
|
10264
|
+
Generate a TypeScript Lightning Web Component:
|
|
10265
|
+
|
|
10266
|
+
$ sf template generate lightning component --name mycomponent --type lwc --template typescript
|
|
10267
|
+
|
|
10153
10268
|
FLAG DESCRIPTIONS
|
|
10154
10269
|
-d, --output-dir=<value> Directory for saving the created files.
|
|
10155
10270
|
|
|
@@ -10160,12 +10275,14 @@ FLAG DESCRIPTIONS
|
|
|
10160
10275
|
|
|
10161
10276
|
The name can be up to 40 characters and must start with a letter.
|
|
10162
10277
|
|
|
10163
|
-
-t, --template=default|analyticsDashboard|analyticsDashboardWithStep Template to use for file creation.
|
|
10278
|
+
-t, --template=default|analyticsDashboard|analyticsDashboardWithStep|typescript Template to use for file creation.
|
|
10164
10279
|
|
|
10165
|
-
Supplied parameter values or default values are filled into a copy of the template.
|
|
10280
|
+
Supplied parameter values or default values are filled into a copy of the template. For Lightning Web Components, if
|
|
10281
|
+
this flag isn't specified, the CLI command automatically selects the template based on the "defaultLwcLanguage"
|
|
10282
|
+
field in the DX project's "sfdx-project.json" file.
|
|
10166
10283
|
```
|
|
10167
10284
|
|
|
10168
|
-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
10285
|
+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.15.2/src/commands/template/generate/lightning/component.ts)_
|
|
10169
10286
|
|
|
10170
10287
|
## `sf template generate lightning event`
|
|
10171
10288
|
|
|
@@ -10218,10 +10335,12 @@ FLAG DESCRIPTIONS
|
|
|
10218
10335
|
|
|
10219
10336
|
-t, --template=DefaultLightningEvt Template to use for file creation.
|
|
10220
10337
|
|
|
10221
|
-
Supplied parameter values or default values are filled into a copy of the template.
|
|
10338
|
+
Supplied parameter values or default values are filled into a copy of the template. For Lightning Web Components, if
|
|
10339
|
+
this flag isn't specified, the CLI command automatically selects the template based on the "defaultLwcLanguage"
|
|
10340
|
+
field in the DX project's "sfdx-project.json" file.
|
|
10222
10341
|
```
|
|
10223
10342
|
|
|
10224
|
-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
10343
|
+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.15.2/src/commands/template/generate/lightning/event.ts)_
|
|
10225
10344
|
|
|
10226
10345
|
## `sf template generate lightning interface`
|
|
10227
10346
|
|
|
@@ -10274,10 +10393,12 @@ FLAG DESCRIPTIONS
|
|
|
10274
10393
|
|
|
10275
10394
|
-t, --template=DefaultLightningIntf Template to use for file creation.
|
|
10276
10395
|
|
|
10277
|
-
Supplied parameter values or default values are filled into a copy of the template.
|
|
10396
|
+
Supplied parameter values or default values are filled into a copy of the template. For Lightning Web Components, if
|
|
10397
|
+
this flag isn't specified, the CLI command automatically selects the template based on the "defaultLwcLanguage"
|
|
10398
|
+
field in the DX project's "sfdx-project.json" file.
|
|
10278
10399
|
```
|
|
10279
10400
|
|
|
10280
|
-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
10401
|
+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.15.2/src/commands/template/generate/lightning/interface.ts)_
|
|
10281
10402
|
|
|
10282
10403
|
## `sf template generate lightning test`
|
|
10283
10404
|
|
|
@@ -10330,10 +10451,12 @@ FLAG DESCRIPTIONS
|
|
|
10330
10451
|
|
|
10331
10452
|
-t, --template=DefaultLightningTest Template to use for file creation.
|
|
10332
10453
|
|
|
10333
|
-
Supplied parameter values or default values are filled into a copy of the template.
|
|
10454
|
+
Supplied parameter values or default values are filled into a copy of the template. For Lightning Web Components, if
|
|
10455
|
+
this flag isn't specified, the CLI command automatically selects the template based on the "defaultLwcLanguage"
|
|
10456
|
+
field in the DX project's "sfdx-project.json" file.
|
|
10334
10457
|
```
|
|
10335
10458
|
|
|
10336
|
-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
10459
|
+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.15.2/src/commands/template/generate/lightning/test.ts)_
|
|
10337
10460
|
|
|
10338
10461
|
## `sf template generate project`
|
|
10339
10462
|
|
|
@@ -10343,7 +10466,7 @@ Generate a Salesforce DX project.
|
|
|
10343
10466
|
USAGE
|
|
10344
10467
|
$ sf template generate project -n <value> [--json] [--flags-dir <value>] [-t
|
|
10345
10468
|
standard|empty|analytics|reactinternalapp|reactexternalapp|agent] [-d <value>] [-s <value>] [-p <value>] [-x]
|
|
10346
|
-
[--api-version <value>]
|
|
10469
|
+
[--lwc-language javascript|typescript] [--api-version <value>]
|
|
10347
10470
|
|
|
10348
10471
|
FLAGS
|
|
10349
10472
|
-d, --output-dir=<value> [default: .] Directory for saving the created files.
|
|
@@ -10354,6 +10477,8 @@ FLAGS
|
|
|
10354
10477
|
<options: standard|empty|analytics|reactinternalapp|reactexternalapp|agent>
|
|
10355
10478
|
-x, --manifest Generate a manifest (package.xml) for change-set based development.
|
|
10356
10479
|
--api-version=<value> Will set this version as sourceApiVersion in the sfdx-project.json file
|
|
10480
|
+
--lwc-language=<option> Language of the Lightning Web Components. If not specified, "javascript" is used.
|
|
10481
|
+
<options: javascript|typescript>
|
|
10357
10482
|
|
|
10358
10483
|
GLOBAL FLAGS
|
|
10359
10484
|
--flags-dir=<value> Import flag values from a directory.
|
|
@@ -10391,6 +10516,10 @@ EXAMPLES
|
|
|
10391
10516
|
|
|
10392
10517
|
$ sf template generate project --name mywork --template empty
|
|
10393
10518
|
|
|
10519
|
+
Generate a project in which the Lightning Web Components use TypeScript rather than the default JavaScript:
|
|
10520
|
+
|
|
10521
|
+
$ sf template generate project --name mywork --lwc-language typescript
|
|
10522
|
+
|
|
10394
10523
|
FLAG DESCRIPTIONS
|
|
10395
10524
|
-d, --output-dir=<value> Directory for saving the created files.
|
|
10396
10525
|
|
|
@@ -10444,9 +10573,16 @@ FLAG DESCRIPTIONS
|
|
|
10444
10573
|
--api-version=<value> Will set this version as sourceApiVersion in the sfdx-project.json file
|
|
10445
10574
|
|
|
10446
10575
|
Override the api version used for api requests made by this command
|
|
10576
|
+
|
|
10577
|
+
--lwc-language=javascript|typescript Language of the Lightning Web Components. If not specified, "javascript" is used.
|
|
10578
|
+
|
|
10579
|
+
When set to `'typescript'`, generates TypeScript configuration files (tsconfig.json, package.json with TypeScript
|
|
10580
|
+
dependencies, and TypeScript-aware ESLint config). When you deploy the TypeScript-based Lightning Web Components,
|
|
10581
|
+
the TypeScript files are first compiled locally for validation and then the `.ts` files are deployed to your org for
|
|
10582
|
+
server-side type stripping.
|
|
10447
10583
|
```
|
|
10448
10584
|
|
|
10449
|
-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
10585
|
+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.15.2/src/commands/template/generate/project/index.ts)_
|
|
10450
10586
|
|
|
10451
10587
|
## `sf template generate static-resource`
|
|
10452
10588
|
|
|
@@ -10509,7 +10645,7 @@ FLAG DESCRIPTIONS
|
|
|
10509
10645
|
etc.
|
|
10510
10646
|
```
|
|
10511
10647
|
|
|
10512
|
-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
10648
|
+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.15.2/src/commands/template/generate/static-resource/index.ts)_
|
|
10513
10649
|
|
|
10514
10650
|
## `sf template generate ui-bundle`
|
|
10515
10651
|
|
|
@@ -10548,9 +10684,6 @@ DESCRIPTION
|
|
|
10548
10684
|
Use the --template flag for generating the files to get started with a speciic UI framework, such as React. Check out
|
|
10549
10685
|
the README.md file in the generated "uiBundles/<bundlename>" directory for more information about the template.
|
|
10550
10686
|
|
|
10551
|
-
ALIASES
|
|
10552
|
-
$ sf ui-bundle generate
|
|
10553
|
-
|
|
10554
10687
|
EXAMPLES
|
|
10555
10688
|
Generate a UI bundle called MyUiBundle in the current directory:
|
|
10556
10689
|
|
|
@@ -10596,7 +10729,7 @@ FLAG DESCRIPTIONS
|
|
|
10596
10729
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
10597
10730
|
```
|
|
10598
10731
|
|
|
10599
|
-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
10732
|
+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.15.2/src/commands/template/generate/ui-bundle/index.ts)_
|
|
10600
10733
|
|
|
10601
10734
|
## `sf template generate visualforce component`
|
|
10602
10735
|
|
|
@@ -10653,7 +10786,7 @@ FLAG DESCRIPTIONS
|
|
|
10653
10786
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
10654
10787
|
```
|
|
10655
10788
|
|
|
10656
|
-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
10789
|
+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.15.2/src/commands/template/generate/visualforce/component.ts)_
|
|
10657
10790
|
|
|
10658
10791
|
## `sf template generate visualforce page`
|
|
10659
10792
|
|
|
@@ -10704,7 +10837,7 @@ FLAG DESCRIPTIONS
|
|
|
10704
10837
|
The name can be up to 40 characters and must start with a letter.
|
|
10705
10838
|
```
|
|
10706
10839
|
|
|
10707
|
-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
10840
|
+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.15.2/src/commands/template/generate/visualforce/page.ts)_
|
|
10708
10841
|
|
|
10709
10842
|
## `sf update [CHANNEL]`
|
|
10710
10843
|
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/cli",
|
|
3
|
-
"version": "2.130.
|
|
3
|
+
"version": "2.130.7",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@salesforce/cli",
|
|
9
|
-
"version": "2.130.
|
|
9
|
+
"version": "2.130.7",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"dependencies": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@oclif/plugin-which": "3.2.47",
|
|
25
25
|
"@salesforce/core": "^8.28.0",
|
|
26
26
|
"@salesforce/kit": "^3.1.6",
|
|
27
|
-
"@salesforce/plugin-agent": "1.32.
|
|
27
|
+
"@salesforce/plugin-agent": "1.32.16",
|
|
28
28
|
"@salesforce/plugin-apex": "3.9.17",
|
|
29
29
|
"@salesforce/plugin-api": "1.3.14",
|
|
30
30
|
"@salesforce/plugin-auth": "4.3.3",
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"@salesforce/plugin-info": "3.4.115",
|
|
34
34
|
"@salesforce/plugin-limits": "3.3.83",
|
|
35
35
|
"@salesforce/plugin-marketplace": "1.3.14",
|
|
36
|
-
"@salesforce/plugin-org": "5.9.
|
|
36
|
+
"@salesforce/plugin-org": "5.9.79",
|
|
37
37
|
"@salesforce/plugin-packaging": "2.26.0",
|
|
38
38
|
"@salesforce/plugin-schema": "3.3.102",
|
|
39
39
|
"@salesforce/plugin-settings": "2.4.63",
|
|
40
40
|
"@salesforce/plugin-sobject": "1.4.93",
|
|
41
41
|
"@salesforce/plugin-telemetry": "3.8.7",
|
|
42
|
-
"@salesforce/plugin-templates": "56.
|
|
42
|
+
"@salesforce/plugin-templates": "56.15.2",
|
|
43
43
|
"@salesforce/plugin-trust": "3.7.119",
|
|
44
44
|
"@salesforce/plugin-user": "3.8.2",
|
|
45
45
|
"@salesforce/sf-plugins-core": "12.2.6",
|
|
@@ -4778,9 +4778,9 @@
|
|
|
4778
4778
|
}
|
|
4779
4779
|
},
|
|
4780
4780
|
"node_modules/@salesforce/core": {
|
|
4781
|
-
"version": "8.28.
|
|
4782
|
-
"resolved": "https://registry.npmjs.org/@salesforce/core/-/core-8.28.
|
|
4783
|
-
"integrity": "sha512-
|
|
4781
|
+
"version": "8.28.1",
|
|
4782
|
+
"resolved": "https://registry.npmjs.org/@salesforce/core/-/core-8.28.1.tgz",
|
|
4783
|
+
"integrity": "sha512-k9lPsULo+lOEZvpm1J1nJOFwKp5O5IfNqya7pw627QdKGcsWZm6v9caVHKUX9IjyB+S3dasNqaZT5O7l76C4oQ==",
|
|
4784
4784
|
"license": "BSD-3-Clause",
|
|
4785
4785
|
"dependencies": {
|
|
4786
4786
|
"@jsforce/jsforce-node": "^3.10.13",
|
|
@@ -5029,9 +5029,9 @@
|
|
|
5029
5029
|
}
|
|
5030
5030
|
},
|
|
5031
5031
|
"node_modules/@salesforce/plugin-agent": {
|
|
5032
|
-
"version": "1.32.
|
|
5033
|
-
"resolved": "https://registry.npmjs.org/@salesforce/plugin-agent/-/plugin-agent-1.32.
|
|
5034
|
-
"integrity": "sha512-
|
|
5032
|
+
"version": "1.32.16",
|
|
5033
|
+
"resolved": "https://registry.npmjs.org/@salesforce/plugin-agent/-/plugin-agent-1.32.16.tgz",
|
|
5034
|
+
"integrity": "sha512-eOpJo2qPRjgwvEkvBk3yRBLOSN4SYyvHiRLsERk9WpUVSGp8CNEF//UvpCUeqWPVk0oPiKW56cfpVBDFOQUe5g==",
|
|
5035
5035
|
"license": "Apache-2.0",
|
|
5036
5036
|
"dependencies": {
|
|
5037
5037
|
"@inquirer/core": "^10.3.2",
|
|
@@ -5425,17 +5425,17 @@
|
|
|
5425
5425
|
}
|
|
5426
5426
|
},
|
|
5427
5427
|
"node_modules/@salesforce/plugin-org": {
|
|
5428
|
-
"version": "5.9.
|
|
5429
|
-
"resolved": "https://registry.npmjs.org/@salesforce/plugin-org/-/plugin-org-5.9.
|
|
5430
|
-
"integrity": "sha512-
|
|
5428
|
+
"version": "5.9.79",
|
|
5429
|
+
"resolved": "https://registry.npmjs.org/@salesforce/plugin-org/-/plugin-org-5.9.79.tgz",
|
|
5430
|
+
"integrity": "sha512-SO6/oJDPove2MiLoKT70OZ8GarAEvb/477bJIzW0fklBP5DZo0DSI32MzB4QYRXqqON0fCEn7bLpwBbbc/dPPA==",
|
|
5431
5431
|
"license": "Apache-2.0",
|
|
5432
5432
|
"dependencies": {
|
|
5433
5433
|
"@oclif/core": "^4.10.3",
|
|
5434
5434
|
"@oclif/multi-stage-output": "^0.8.30",
|
|
5435
|
-
"@salesforce/core": "^8.
|
|
5435
|
+
"@salesforce/core": "^8.28.1",
|
|
5436
5436
|
"@salesforce/kit": "^3.2.4",
|
|
5437
5437
|
"@salesforce/sf-plugins-core": "^12.2.6",
|
|
5438
|
-
"@salesforce/source-deploy-retrieve": "^12.
|
|
5438
|
+
"@salesforce/source-deploy-retrieve": "^12.32.1",
|
|
5439
5439
|
"@salesforce/ts-types": "^2.0.12",
|
|
5440
5440
|
"ansis": "^3.16.0",
|
|
5441
5441
|
"change-case": "^5.4.4",
|
|
@@ -5756,14 +5756,14 @@
|
|
|
5756
5756
|
}
|
|
5757
5757
|
},
|
|
5758
5758
|
"node_modules/@salesforce/plugin-templates": {
|
|
5759
|
-
"version": "56.
|
|
5760
|
-
"resolved": "https://registry.npmjs.org/@salesforce/plugin-templates/-/plugin-templates-56.
|
|
5761
|
-
"integrity": "sha512-
|
|
5759
|
+
"version": "56.15.2",
|
|
5760
|
+
"resolved": "https://registry.npmjs.org/@salesforce/plugin-templates/-/plugin-templates-56.15.2.tgz",
|
|
5761
|
+
"integrity": "sha512-gIo9UEzwwmu1Ap3BA1B431cPT+oxXq+WeWf3HnNDJ0YrSbsxPRBc1/ar9u37aKN4DGZ1E6qeRRhc0KAg6V/mDw==",
|
|
5762
5762
|
"license": "Apache-2.0",
|
|
5763
5763
|
"dependencies": {
|
|
5764
5764
|
"@salesforce/core": "^8.27.1",
|
|
5765
5765
|
"@salesforce/sf-plugins-core": "^12",
|
|
5766
|
-
"@salesforce/templates": "^66.7.
|
|
5766
|
+
"@salesforce/templates": "^66.7.7"
|
|
5767
5767
|
},
|
|
5768
5768
|
"engines": {
|
|
5769
5769
|
"node": ">=18.0.0"
|
|
@@ -6145,18 +6145,18 @@
|
|
|
6145
6145
|
}
|
|
6146
6146
|
},
|
|
6147
6147
|
"node_modules/@salesforce/templates": {
|
|
6148
|
-
"version": "66.7.
|
|
6149
|
-
"resolved": "https://registry.npmjs.org/@salesforce/templates/-/templates-66.7.
|
|
6150
|
-
"integrity": "sha512-
|
|
6148
|
+
"version": "66.7.7",
|
|
6149
|
+
"resolved": "https://registry.npmjs.org/@salesforce/templates/-/templates-66.7.7.tgz",
|
|
6150
|
+
"integrity": "sha512-Il+MluaFhNWm75lMhsY8la8XApbyhOas60pffUYB5uTKqS8NY3FrOqwXKXN1eu5HmW77AnvAPGqB/Sne+JbXvA==",
|
|
6151
6151
|
"license": "BSD-3-Clause",
|
|
6152
6152
|
"dependencies": {
|
|
6153
|
-
"@salesforce/kit": "^3.2.
|
|
6153
|
+
"@salesforce/kit": "^3.2.6",
|
|
6154
6154
|
"ejs": "^3.1.10",
|
|
6155
6155
|
"got": "^11.8.6",
|
|
6156
6156
|
"hpagent": "^1.2.0",
|
|
6157
6157
|
"mime-types": "^3.0.2",
|
|
6158
6158
|
"proxy-from-env": "^1.1.0",
|
|
6159
|
-
"tar": "^7.5.
|
|
6159
|
+
"tar": "^7.5.13",
|
|
6160
6160
|
"tslib": "^2.8.1"
|
|
6161
6161
|
},
|
|
6162
6162
|
"engines": {
|
|
@@ -23044,9 +23044,9 @@
|
|
|
23044
23044
|
}
|
|
23045
23045
|
},
|
|
23046
23046
|
"node_modules/tar": {
|
|
23047
|
-
"version": "7.5.
|
|
23048
|
-
"resolved": "https://registry.npmjs.org/tar/-/tar-7.5.
|
|
23049
|
-
"integrity": "sha512-
|
|
23047
|
+
"version": "7.5.13",
|
|
23048
|
+
"resolved": "https://registry.npmjs.org/tar/-/tar-7.5.13.tgz",
|
|
23049
|
+
"integrity": "sha512-tOG/7GyXpFevhXVh8jOPJrmtRpOTsYqUIkVdVooZYJS/z8WhfQUX8RJILmeuJNinGAMSu1veBr4asSHFt5/hng==",
|
|
23050
23050
|
"license": "BlueOak-1.0.0",
|
|
23051
23051
|
"dependencies": {
|
|
23052
23052
|
"@isaacs/fs-minipass": "^4.0.0",
|
package/oclif.lock
CHANGED
|
@@ -2091,10 +2091,10 @@
|
|
|
2091
2091
|
strip-ansi "6.0.1"
|
|
2092
2092
|
ts-retry-promise "^0.8.1"
|
|
2093
2093
|
|
|
2094
|
-
"@salesforce/core@^8.18.7", "@salesforce/core@^8.25.1", "@salesforce/core@^8.26.2", "@salesforce/core@^8.26.3", "@salesforce/core@^8.27.0", "@salesforce/core@^8.27.1", "@salesforce/core@^8.28.0", "@salesforce/core@^8.5.1", "@salesforce/core@^8.8.0", "@salesforce/core@^8.8.5":
|
|
2095
|
-
version "8.28.
|
|
2096
|
-
resolved "https://registry.npmjs.org/@salesforce/core/-/core-8.28.
|
|
2097
|
-
integrity sha512-
|
|
2094
|
+
"@salesforce/core@^8.18.7", "@salesforce/core@^8.25.1", "@salesforce/core@^8.26.2", "@salesforce/core@^8.26.3", "@salesforce/core@^8.27.0", "@salesforce/core@^8.27.1", "@salesforce/core@^8.28.0", "@salesforce/core@^8.28.1", "@salesforce/core@^8.5.1", "@salesforce/core@^8.8.0", "@salesforce/core@^8.8.5":
|
|
2095
|
+
version "8.28.1"
|
|
2096
|
+
resolved "https://registry.npmjs.org/@salesforce/core/-/core-8.28.1.tgz"
|
|
2097
|
+
integrity sha512-k9lPsULo+lOEZvpm1J1nJOFwKp5O5IfNqya7pw627QdKGcsWZm6v9caVHKUX9IjyB+S3dasNqaZT5O7l76C4oQ==
|
|
2098
2098
|
dependencies:
|
|
2099
2099
|
"@jsforce/jsforce-node" "^3.10.13"
|
|
2100
2100
|
"@salesforce/kit" "^3.2.4"
|
|
@@ -2188,10 +2188,10 @@
|
|
|
2188
2188
|
jszip "^3.10.1"
|
|
2189
2189
|
object-treeify "^2"
|
|
2190
2190
|
|
|
2191
|
-
"@salesforce/plugin-agent@1.32.
|
|
2192
|
-
version "1.32.
|
|
2193
|
-
resolved "https://registry.npmjs.org/@salesforce/plugin-agent/-/plugin-agent-1.32.
|
|
2194
|
-
integrity sha512-
|
|
2191
|
+
"@salesforce/plugin-agent@1.32.16":
|
|
2192
|
+
version "1.32.16"
|
|
2193
|
+
resolved "https://registry.npmjs.org/@salesforce/plugin-agent/-/plugin-agent-1.32.16.tgz"
|
|
2194
|
+
integrity sha512-eOpJo2qPRjgwvEkvBk3yRBLOSN4SYyvHiRLsERk9WpUVSGp8CNEF//UvpCUeqWPVk0oPiKW56cfpVBDFOQUe5g==
|
|
2195
2195
|
dependencies:
|
|
2196
2196
|
"@inquirer/core" "^10.3.2"
|
|
2197
2197
|
"@inquirer/prompts" "^7.10.1"
|
|
@@ -2343,17 +2343,17 @@
|
|
|
2343
2343
|
got "^13.0.0"
|
|
2344
2344
|
proxy-agent "^6.5.0"
|
|
2345
2345
|
|
|
2346
|
-
"@salesforce/plugin-org@5.9.
|
|
2347
|
-
version "5.9.
|
|
2348
|
-
resolved "https://registry.npmjs.org/@salesforce/plugin-org/-/plugin-org-5.9.
|
|
2349
|
-
integrity sha512-
|
|
2346
|
+
"@salesforce/plugin-org@5.9.79":
|
|
2347
|
+
version "5.9.79"
|
|
2348
|
+
resolved "https://registry.npmjs.org/@salesforce/plugin-org/-/plugin-org-5.9.79.tgz"
|
|
2349
|
+
integrity sha512-SO6/oJDPove2MiLoKT70OZ8GarAEvb/477bJIzW0fklBP5DZo0DSI32MzB4QYRXqqON0fCEn7bLpwBbbc/dPPA==
|
|
2350
2350
|
dependencies:
|
|
2351
2351
|
"@oclif/core" "^4.10.3"
|
|
2352
2352
|
"@oclif/multi-stage-output" "^0.8.30"
|
|
2353
|
-
"@salesforce/core" "^8.
|
|
2353
|
+
"@salesforce/core" "^8.28.1"
|
|
2354
2354
|
"@salesforce/kit" "^3.2.4"
|
|
2355
2355
|
"@salesforce/sf-plugins-core" "^12.2.6"
|
|
2356
|
-
"@salesforce/source-deploy-retrieve" "^12.
|
|
2356
|
+
"@salesforce/source-deploy-retrieve" "^12.32.1"
|
|
2357
2357
|
"@salesforce/ts-types" "^2.0.12"
|
|
2358
2358
|
ansis "^3.16.0"
|
|
2359
2359
|
change-case "^5.4.4"
|
|
@@ -2449,14 +2449,14 @@
|
|
|
2449
2449
|
"@salesforce/ts-types" "^2.0.12"
|
|
2450
2450
|
debug "^4.4.3"
|
|
2451
2451
|
|
|
2452
|
-
"@salesforce/plugin-templates@56.
|
|
2453
|
-
version "56.
|
|
2454
|
-
resolved "https://registry.npmjs.org/@salesforce/plugin-templates/-/plugin-templates-56.
|
|
2455
|
-
integrity sha512-
|
|
2452
|
+
"@salesforce/plugin-templates@56.15.2":
|
|
2453
|
+
version "56.15.2"
|
|
2454
|
+
resolved "https://registry.npmjs.org/@salesforce/plugin-templates/-/plugin-templates-56.15.2.tgz"
|
|
2455
|
+
integrity sha512-gIo9UEzwwmu1Ap3BA1B431cPT+oxXq+WeWf3HnNDJ0YrSbsxPRBc1/ar9u37aKN4DGZ1E6qeRRhc0KAg6V/mDw==
|
|
2456
2456
|
dependencies:
|
|
2457
2457
|
"@salesforce/core" "^8.27.1"
|
|
2458
2458
|
"@salesforce/sf-plugins-core" "^12"
|
|
2459
|
-
"@salesforce/templates" "^66.7.
|
|
2459
|
+
"@salesforce/templates" "^66.7.7"
|
|
2460
2460
|
|
|
2461
2461
|
"@salesforce/plugin-trust@^3.7.69", "@salesforce/plugin-trust@3.7.119":
|
|
2462
2462
|
version "3.7.119"
|
|
@@ -2529,7 +2529,7 @@
|
|
|
2529
2529
|
cli-progress "^3.12.0"
|
|
2530
2530
|
terminal-link "^3.0.0"
|
|
2531
2531
|
|
|
2532
|
-
"@salesforce/source-deploy-retrieve@^12.31.
|
|
2532
|
+
"@salesforce/source-deploy-retrieve@^12.31.14", "@salesforce/source-deploy-retrieve@^12.31.30", "@salesforce/source-deploy-retrieve@^12.32.1":
|
|
2533
2533
|
version "12.32.1"
|
|
2534
2534
|
resolved "https://registry.npmjs.org/@salesforce/source-deploy-retrieve/-/source-deploy-retrieve-12.32.1.tgz"
|
|
2535
2535
|
integrity sha512-q3u6bxgv3b4UscVvtWXCllgf5WouQd86IG7Kg76kyFryTTMBoSJIygRXNm5EMwlsHwBvfJhTn8zdpesJ1HkgPQ==
|
|
@@ -2576,18 +2576,18 @@
|
|
|
2576
2576
|
o11y_schema "^260.52.0"
|
|
2577
2577
|
proxy-agent "^6.5.0"
|
|
2578
2578
|
|
|
2579
|
-
"@salesforce/templates@^66.7.
|
|
2580
|
-
version "66.7.
|
|
2581
|
-
resolved "https://registry.npmjs.org/@salesforce/templates/-/templates-66.7.
|
|
2582
|
-
integrity sha512-
|
|
2579
|
+
"@salesforce/templates@^66.7.7":
|
|
2580
|
+
version "66.7.7"
|
|
2581
|
+
resolved "https://registry.npmjs.org/@salesforce/templates/-/templates-66.7.7.tgz"
|
|
2582
|
+
integrity sha512-Il+MluaFhNWm75lMhsY8la8XApbyhOas60pffUYB5uTKqS8NY3FrOqwXKXN1eu5HmW77AnvAPGqB/Sne+JbXvA==
|
|
2583
2583
|
dependencies:
|
|
2584
|
-
"@salesforce/kit" "^3.2.
|
|
2584
|
+
"@salesforce/kit" "^3.2.6"
|
|
2585
2585
|
ejs "^3.1.10"
|
|
2586
2586
|
got "^11.8.6"
|
|
2587
2587
|
hpagent "^1.2.0"
|
|
2588
2588
|
mime-types "^3.0.2"
|
|
2589
2589
|
proxy-from-env "^1.1.0"
|
|
2590
|
-
tar "^7.5.
|
|
2590
|
+
tar "^7.5.13"
|
|
2591
2591
|
tslib "^2.8.1"
|
|
2592
2592
|
|
|
2593
2593
|
"@salesforce/ts-sinon@^1.4.33":
|
|
@@ -11024,10 +11024,10 @@ tar@^6.1.11:
|
|
|
11024
11024
|
mkdirp "^1.0.3"
|
|
11025
11025
|
yallist "^4.0.0"
|
|
11026
11026
|
|
|
11027
|
-
tar@^7.4.3, tar@^7.5.11, tar@^7.5.
|
|
11028
|
-
version "7.5.
|
|
11029
|
-
resolved "https://registry.npmjs.org/tar/-/tar-7.5.
|
|
11030
|
-
integrity sha512-
|
|
11027
|
+
tar@^7.4.3, tar@^7.5.11, tar@^7.5.13:
|
|
11028
|
+
version "7.5.13"
|
|
11029
|
+
resolved "https://registry.npmjs.org/tar/-/tar-7.5.13.tgz"
|
|
11030
|
+
integrity sha512-tOG/7GyXpFevhXVh8jOPJrmtRpOTsYqUIkVdVooZYJS/z8WhfQUX8RJILmeuJNinGAMSu1veBr4asSHFt5/hng==
|
|
11031
11031
|
dependencies:
|
|
11032
11032
|
"@isaacs/fs-minipass" "^4.0.0"
|
|
11033
11033
|
chownr "^3.0.0"
|
package/oclif.manifest.json
CHANGED
|
@@ -4226,6 +4226,104 @@
|
|
|
4226
4226
|
"snapshot:get:org"
|
|
4227
4227
|
]
|
|
4228
4228
|
},
|
|
4229
|
+
"ui-bundle:dev": {
|
|
4230
|
+
"aliases": [],
|
|
4231
|
+
"args": {},
|
|
4232
|
+
"description": "A UI bundle refers to an application that runs on Salesforce Platform that uses a non-native UI framework, such as React. Salesforce provides native UI frameworks, such as Lighting Web Components (LWC), to build applications that run on the Salesforce Platform. But you can also use non-native JavaScript- or TypeScript-based UI frameworks, such as React, to build a UI experience for the Salesforce Platform and that you can launch from the App Launcher. UI bundles are defined by the UiBundle metadata type in your DX project.\n\nThis command starts a local development (dev) server so you can preview a UI bundle using the local metadata files in your DX project. Using a local preview helps you quickly develop UI bundles, because you don't have to continually deploy metadata to your org.\n\nThe command also launches a local proxy server that sits between your UI bundle and Salesforce, automatically injecting authentication headers from Salesforce CLI's stored tokens. The proxy allows your UI bundle to make authenticated API calls to Salesforce without exposing credentials.\n\nEven though you're previewing the UI bundle locally and not deploying anything to an org, you're still required to authorize and specify an org to use this command.",
|
|
4233
|
+
"examples": [
|
|
4234
|
+
"Start the local development (dev) server by automatically discovering the UI bundle's ui-bundle.json file; use the org with alias \"myorg\":\n<%= config.bin %> <%= command.id %> --target-org myorg",
|
|
4235
|
+
"Start the dev server by explicitly specifying the UI bundle's name:\n<%= config.bin %> <%= command.id %> --name myBundle --target-org myorg",
|
|
4236
|
+
"Start at the specified dev server URL:\n<%= config.bin %> <%= command.id %> --name myBundle --url http://localhost:5173 --target-org myorg",
|
|
4237
|
+
"Start with a custom proxy port and automatically open the proxy server URL in your browser:\n<%= config.bin %> <%= command.id %> --target-org myorg --port 4546 --open",
|
|
4238
|
+
"Start with debug logging enabled by specifing the SF_LOG_LEVEL environment variable before running the command:\nSF_LOG_LEVEL=debug <%= config.bin %> <%= command.id %> --target-org myorg"
|
|
4239
|
+
],
|
|
4240
|
+
"flags": {
|
|
4241
|
+
"json": {
|
|
4242
|
+
"description": "Format output as json.",
|
|
4243
|
+
"helpGroup": "GLOBAL",
|
|
4244
|
+
"name": "json",
|
|
4245
|
+
"allowNo": false,
|
|
4246
|
+
"type": "boolean"
|
|
4247
|
+
},
|
|
4248
|
+
"flags-dir": {
|
|
4249
|
+
"helpGroup": "GLOBAL",
|
|
4250
|
+
"name": "flags-dir",
|
|
4251
|
+
"summary": "Import flag values from a directory.",
|
|
4252
|
+
"hasDynamicHelp": false,
|
|
4253
|
+
"multiple": false,
|
|
4254
|
+
"type": "option"
|
|
4255
|
+
},
|
|
4256
|
+
"name": {
|
|
4257
|
+
"char": "n",
|
|
4258
|
+
"description": "The unique name of the UI bundle, as defined by the \"name\" property in the ui-bundle.json runtime configuration file. The ui-bundle.json file is located in the \"uiBundles\" metadata directory of your DX project, such as force-app/main/default/uiBundles/MyBundle/ui-bundle.json.\n\nIf you don't specify this flag, the command automatically discovers the ui-bundle.json files in the current directory and subdirectories. If the command finds only one ui-bundle.json, it automatically uses it. If it finds multiple files, the command prompts you to select one.",
|
|
4259
|
+
"name": "name",
|
|
4260
|
+
"required": false,
|
|
4261
|
+
"summary": "Name of the UI bundle to preview.",
|
|
4262
|
+
"hasDynamicHelp": false,
|
|
4263
|
+
"multiple": false,
|
|
4264
|
+
"type": "option"
|
|
4265
|
+
},
|
|
4266
|
+
"url": {
|
|
4267
|
+
"char": "u",
|
|
4268
|
+
"description": "You must specify this flag if the UI bundle's ui-bundle.json file doesn't contain a value for either the \"dev.command\" or \"dev.url\" configuration properties. All non-Salesforce API requests are forwarded to this URL.\n\nIf you specify this flag, it overrides the value in the ui-bundle.json file.\n\nThis is the order of precedence that the dev server uses for the URL: --url flag > manifest dev.url > URL from the dev server process (which was started using either manifest dev.command or default npm run dev).",
|
|
4269
|
+
"name": "url",
|
|
4270
|
+
"required": false,
|
|
4271
|
+
"summary": "URL where your developer server runs, such as https://localhost:5173. All UI, static, and hot deployment requests are forwarded to this URL.",
|
|
4272
|
+
"hasDynamicHelp": false,
|
|
4273
|
+
"multiple": false,
|
|
4274
|
+
"type": "option"
|
|
4275
|
+
},
|
|
4276
|
+
"port": {
|
|
4277
|
+
"char": "p",
|
|
4278
|
+
"description": "Be sure your browser connects to this port, and not directly to the dev server. The proxy then forwards authenticated requests to Salesforce and other requests to your local dev server.",
|
|
4279
|
+
"name": "port",
|
|
4280
|
+
"required": false,
|
|
4281
|
+
"summary": "Local port where the proxy server listens.",
|
|
4282
|
+
"hasDynamicHelp": false,
|
|
4283
|
+
"multiple": false,
|
|
4284
|
+
"type": "option"
|
|
4285
|
+
},
|
|
4286
|
+
"target-org": {
|
|
4287
|
+
"char": "o",
|
|
4288
|
+
"name": "target-org",
|
|
4289
|
+
"noCacheDefault": true,
|
|
4290
|
+
"required": true,
|
|
4291
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
4292
|
+
"hasDynamicHelp": true,
|
|
4293
|
+
"multiple": false,
|
|
4294
|
+
"type": "option"
|
|
4295
|
+
},
|
|
4296
|
+
"open": {
|
|
4297
|
+
"char": "b",
|
|
4298
|
+
"description": "This flag saves you from manually copying and pasting the URL. The browser opens to the proxy URL, and not the dev server URL directly, which ensures that all requests are property authenticated.",
|
|
4299
|
+
"name": "open",
|
|
4300
|
+
"summary": "Automatically open the proxy server URL in your default browser when the dev server is ready.",
|
|
4301
|
+
"allowNo": false,
|
|
4302
|
+
"type": "boolean"
|
|
4303
|
+
}
|
|
4304
|
+
},
|
|
4305
|
+
"hasDynamicHelp": true,
|
|
4306
|
+
"hiddenAliases": [],
|
|
4307
|
+
"id": "ui-bundle:dev",
|
|
4308
|
+
"pluginAlias": "@salesforce/plugin-ui-bundle-dev",
|
|
4309
|
+
"pluginName": "@salesforce/plugin-ui-bundle-dev",
|
|
4310
|
+
"pluginType": "jit",
|
|
4311
|
+
"strict": true,
|
|
4312
|
+
"summary": "Preview a UI bundle locally and in real-time, without deploying it to your org.",
|
|
4313
|
+
"enableJsonFlag": true,
|
|
4314
|
+
"isESM": true,
|
|
4315
|
+
"relativePath": [
|
|
4316
|
+
"lib",
|
|
4317
|
+
"commands",
|
|
4318
|
+
"ui-bundle",
|
|
4319
|
+
"dev.js"
|
|
4320
|
+
],
|
|
4321
|
+
"aliasPermutations": [],
|
|
4322
|
+
"permutations": [
|
|
4323
|
+
"ui-bundle:dev",
|
|
4324
|
+
"dev:ui-bundle"
|
|
4325
|
+
]
|
|
4326
|
+
},
|
|
4229
4327
|
"force:lightning:lwc:test:create": {
|
|
4230
4328
|
"id": "force:lightning:lwc:test:create",
|
|
4231
4329
|
"description": "creates a Lightning web component test file with boilerplate code inside a __tests__ directory.",
|
|
@@ -4435,5 +4533,5 @@
|
|
|
4435
4533
|
"requiresProject": true
|
|
4436
4534
|
}
|
|
4437
4535
|
},
|
|
4438
|
-
"version": "2.130.
|
|
4536
|
+
"version": "2.130.7"
|
|
4439
4537
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/cli",
|
|
3
3
|
"description": "The Salesforce CLI",
|
|
4
|
-
"version": "2.130.
|
|
4
|
+
"version": "2.130.7",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bin": {
|
|
7
7
|
"sf": "./bin/run.js",
|
|
@@ -84,6 +84,7 @@
|
|
|
84
84
|
"@salesforce/plugin-flow": "1.0.5",
|
|
85
85
|
"@salesforce/plugin-lightning-dev": "6.2.17",
|
|
86
86
|
"@salesforce/plugin-signups": "2.6.60",
|
|
87
|
+
"@salesforce/plugin-ui-bundle-dev": "1.2.2",
|
|
87
88
|
"@salesforce/sfdx-plugin-lwc-test": "1.2.1"
|
|
88
89
|
},
|
|
89
90
|
"devPlugins": [
|
|
@@ -158,7 +159,7 @@
|
|
|
158
159
|
"@oclif/plugin-which": "3.2.47",
|
|
159
160
|
"@salesforce/core": "^8.28.0",
|
|
160
161
|
"@salesforce/kit": "^3.1.6",
|
|
161
|
-
"@salesforce/plugin-agent": "1.32.
|
|
162
|
+
"@salesforce/plugin-agent": "1.32.16",
|
|
162
163
|
"@salesforce/plugin-apex": "3.9.17",
|
|
163
164
|
"@salesforce/plugin-api": "1.3.14",
|
|
164
165
|
"@salesforce/plugin-auth": "4.3.3",
|
|
@@ -167,13 +168,13 @@
|
|
|
167
168
|
"@salesforce/plugin-info": "3.4.115",
|
|
168
169
|
"@salesforce/plugin-limits": "3.3.83",
|
|
169
170
|
"@salesforce/plugin-marketplace": "1.3.14",
|
|
170
|
-
"@salesforce/plugin-org": "5.9.
|
|
171
|
+
"@salesforce/plugin-org": "5.9.79",
|
|
171
172
|
"@salesforce/plugin-packaging": "2.26.0",
|
|
172
173
|
"@salesforce/plugin-schema": "3.3.102",
|
|
173
174
|
"@salesforce/plugin-settings": "2.4.63",
|
|
174
175
|
"@salesforce/plugin-sobject": "1.4.93",
|
|
175
176
|
"@salesforce/plugin-telemetry": "3.8.7",
|
|
176
|
-
"@salesforce/plugin-templates": "56.
|
|
177
|
+
"@salesforce/plugin-templates": "56.15.2",
|
|
177
178
|
"@salesforce/plugin-trust": "3.7.119",
|
|
178
179
|
"@salesforce/plugin-user": "3.8.2",
|
|
179
180
|
"@salesforce/sf-plugins-core": "12.2.6",
|