@salesforce/cli 2.93.7 → 2.94.0
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 +65 -76
- package/npm-shrinkwrap.json +21 -21
- package/oclif.lock +19 -19
- package/oclif.manifest.json +1 -1
- package/package.json +5 -5
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.
|
|
28
|
+
@salesforce/cli/2.94.0 linux-x64 node-v22.16.0
|
|
29
29
|
$ sf --help [COMMAND]
|
|
30
30
|
USAGE
|
|
31
31
|
$ sf COMMAND
|
|
@@ -262,7 +262,7 @@ EXAMPLES
|
|
|
262
262
|
$ sf agent create --name "Resort Manager" --spec specs/resortManagerAgent.yaml --preview
|
|
263
263
|
```
|
|
264
264
|
|
|
265
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
265
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.22.8/src/commands/agent/create.ts)_
|
|
266
266
|
|
|
267
267
|
## `sf agent generate agent-spec`
|
|
268
268
|
|
|
@@ -367,7 +367,7 @@ EXAMPLES
|
|
|
367
367
|
$ sf agent generate agent-spec --tone formal --agent-user resortmanager@myorg.com
|
|
368
368
|
```
|
|
369
369
|
|
|
370
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
370
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.22.8/src/commands/agent/generate/agent-spec.ts)_
|
|
371
371
|
|
|
372
372
|
## `sf agent generate template`
|
|
373
373
|
|
|
@@ -415,7 +415,7 @@ EXAMPLES
|
|
|
415
415
|
force-app/main/default/bots/My_Awesome_Agent/My_Awesome_Agent.bot-meta.xml --agent-version 1
|
|
416
416
|
```
|
|
417
417
|
|
|
418
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
418
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.22.8/src/commands/agent/generate/template.ts)_
|
|
419
419
|
|
|
420
420
|
## `sf agent generate test-spec`
|
|
421
421
|
|
|
@@ -473,7 +473,7 @@ EXAMPLES
|
|
|
473
473
|
force-app//main/default/aiEvaluationDefinitions/Resort_Manager_Tests.aiEvaluationDefinition-meta.xml
|
|
474
474
|
```
|
|
475
475
|
|
|
476
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
476
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.22.8/src/commands/agent/generate/test-spec.ts)_
|
|
477
477
|
|
|
478
478
|
## `sf agent preview`
|
|
479
479
|
|
|
@@ -481,19 +481,18 @@ Interact with an active agent to preview how the agent responds to your statemen
|
|
|
481
481
|
|
|
482
482
|
```
|
|
483
483
|
USAGE
|
|
484
|
-
$ sf agent preview
|
|
485
|
-
|
|
484
|
+
$ sf agent preview -o <value> -a <value> [--flags-dir <value>] [--api-version <value>] [-n <value>] [-d <value>]
|
|
485
|
+
[-x]
|
|
486
486
|
|
|
487
487
|
FLAGS
|
|
488
|
-
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
-
|
|
492
|
-
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
--api-version=<value> Override the api version used for api requests made by this command
|
|
488
|
+
-a, --connected-app-user=<value> (required) Username or alias of the connected app user that's configured with
|
|
489
|
+
web-based access tokens to the agent.
|
|
490
|
+
-d, --output-dir=<value> Directory where conversation transcripts are saved.
|
|
491
|
+
-n, --api-name=<value> API name of the agent you want to interact with.
|
|
492
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
493
|
+
configuration variable is already set.
|
|
494
|
+
-x, --apex-debug Enable Apex debug logging during the agent preview conversation.
|
|
495
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
497
496
|
|
|
498
497
|
GLOBAL FLAGS
|
|
499
498
|
--flags-dir=<value> Import flag values from a directory.
|
|
@@ -520,57 +519,55 @@ DESCRIPTION
|
|
|
520
519
|
|
|
521
520
|
Before you use this command, you must complete these steps:
|
|
522
521
|
|
|
523
|
-
1.
|
|
524
|
-
|
|
525
|
-
|
|
522
|
+
1. Create a connected app in your org as described in the "Create a Connected App" section here:
|
|
523
|
+
https://developer.salesforce.com/docs/einstein/genai/guide/agent-api-get-started.html#create-a-connected-app. Do these
|
|
524
|
+
four additional steps:
|
|
526
525
|
|
|
527
526
|
a. When specifying the connected app's Callback URL, add this second callback URL on a new line:
|
|
528
527
|
"http://localhost:1717/OauthRedirect".
|
|
529
528
|
|
|
530
529
|
b. When adding the scopes to the connected app, add "Manage user data via Web browsers (web)".
|
|
531
530
|
|
|
531
|
+
c. Ensure that the "Require Secret for Web Server Flow" option is not selected.
|
|
532
|
+
|
|
533
|
+
d. Make note of the user that you specified as the "Run As" user when updating the Client Credentials Flow section.
|
|
534
|
+
|
|
532
535
|
2. Add the connected app to your agent as described in the "Add Connected App to Agent" section here:
|
|
533
536
|
https://developer.salesforce.com/docs/einstein/genai/guide/agent-api-get-started.html#add-connected-app-to-agent.
|
|
534
537
|
|
|
535
538
|
3. Copy the consumer key from your connected app as described in the "Obtain Credentials" section here:
|
|
536
539
|
https://developer.salesforce.com/docs/einstein/genai/guide/agent-api-get-started.html#obtain-credentials.
|
|
537
540
|
|
|
538
|
-
4.
|
|
539
|
-
the
|
|
541
|
+
4. Set the "SFDX_AUTH_SCOPES" environment variable to "refresh_token sfap_api chatbot_api web api". This step ensures
|
|
542
|
+
that you get the specific OAuth scopes required by this command.
|
|
540
543
|
|
|
541
|
-
5.
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
to specify the consumer key you previously copied. Finally, use --scopes as indicated to specify the required API
|
|
545
|
-
scopes. Here's an example:
|
|
546
|
-
|
|
547
|
-
sf org login web --client-app agent-app --username <username> --client-id <consumer-key> --scopes "sfap_api
|
|
548
|
-
chatbot_api refresh_token api web"
|
|
544
|
+
5. Using the username of the user you specified as the "Run As" user above, authorize your org using the web server
|
|
545
|
+
flow, as described in this document:
|
|
546
|
+
https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_auth_web_flow.htm.
|
|
549
547
|
|
|
550
548
|
IMPORTANT: You must use the "--client-id <CONNECTED-APP-CONSUMER-KEY>" flag of "org login web", where
|
|
551
549
|
CONNECTED-APP-CONSUMER-KEY is the consumer key you previously copied. This step ensures that the "org login web"
|
|
552
550
|
command uses your custom connected app, and not the default CLI connected app.
|
|
553
551
|
|
|
554
|
-
|
|
552
|
+
Press Enter to skip sharing the client secret.
|
|
555
553
|
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
Use the "org display" command to get the list of client apps associated with an org.
|
|
554
|
+
6. When you run this command to interact with an agent, specify the username you authorized in the preceding step with
|
|
555
|
+
the --connected-app-user (-a) flag.
|
|
559
556
|
|
|
560
557
|
EXAMPLES
|
|
561
|
-
Interact with an agent with API name "Resort_Manager" in the org with alias "my-org"
|
|
562
|
-
|
|
558
|
+
Interact with an agent with API name "Resort_Manager" in the org with alias "my-org". Connect to your agent using
|
|
559
|
+
the alias "my-agent-user"; this alias must point to the username who is authorized using the Web server flow:
|
|
563
560
|
|
|
564
|
-
$ sf agent preview --api-name "Resort_Manager" --target-org my-org --
|
|
561
|
+
$ sf agent preview --api-name "Resort_Manager" --target-org my-org --connected-app-user my-agent-user
|
|
565
562
|
|
|
566
563
|
Same as the preceding example, but this time save the conversation transcripts to the "./transcripts/my-preview"
|
|
567
564
|
directory rather than the default "./temp/agent-preview":
|
|
568
565
|
|
|
569
|
-
$ sf agent preview --api-name "Resort_Manager" --target-org my-org --
|
|
570
|
-
"transcripts/my-preview"
|
|
566
|
+
$ sf agent preview --api-name "Resort_Manager" --target-org my-org --connected-app-user my-agent-user \
|
|
567
|
+
--output-dir "transcripts/my-preview"
|
|
571
568
|
```
|
|
572
569
|
|
|
573
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
570
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.22.8/src/commands/agent/preview.ts)_
|
|
574
571
|
|
|
575
572
|
## `sf agent test create`
|
|
576
573
|
|
|
@@ -625,7 +622,7 @@ EXAMPLES
|
|
|
625
622
|
$ sf agent test create --spec specs/Resort_Manager-testSpec.yaml --api-name Resort_Manager_Test --preview
|
|
626
623
|
```
|
|
627
624
|
|
|
628
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
625
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.22.8/src/commands/agent/test/create.ts)_
|
|
629
626
|
|
|
630
627
|
## `sf agent test list`
|
|
631
628
|
|
|
@@ -660,7 +657,7 @@ EXAMPLES
|
|
|
660
657
|
$ sf agent test list --target-org my-org
|
|
661
658
|
```
|
|
662
659
|
|
|
663
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
660
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.22.8/src/commands/agent/test/list.ts)_
|
|
664
661
|
|
|
665
662
|
## `sf agent test results`
|
|
666
663
|
|
|
@@ -716,7 +713,7 @@ FLAG DESCRIPTIONS
|
|
|
716
713
|
test results aren't written.
|
|
717
714
|
```
|
|
718
715
|
|
|
719
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
716
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.22.8/src/commands/agent/test/results.ts)_
|
|
720
717
|
|
|
721
718
|
## `sf agent test resume`
|
|
722
719
|
|
|
@@ -779,7 +776,7 @@ FLAG DESCRIPTIONS
|
|
|
779
776
|
test results aren't written.
|
|
780
777
|
```
|
|
781
778
|
|
|
782
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
779
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.22.8/src/commands/agent/test/resume.ts)_
|
|
783
780
|
|
|
784
781
|
## `sf agent test run`
|
|
785
782
|
|
|
@@ -843,7 +840,7 @@ FLAG DESCRIPTIONS
|
|
|
843
840
|
test results aren't written.
|
|
844
841
|
```
|
|
845
842
|
|
|
846
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
843
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.22.8/src/commands/agent/test/run.ts)_
|
|
847
844
|
|
|
848
845
|
## `sf alias list`
|
|
849
846
|
|
|
@@ -3807,7 +3804,7 @@ FLAG DESCRIPTIONS
|
|
|
3807
3804
|
You can specify either --source-sandbox-name or --source-id when cloning an existing sandbox, but not both.
|
|
3808
3805
|
```
|
|
3809
3806
|
|
|
3810
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.
|
|
3807
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.14/src/commands/org/create/sandbox.ts)_
|
|
3811
3808
|
|
|
3812
3809
|
## `sf org create scratch`
|
|
3813
3810
|
|
|
@@ -3989,7 +3986,7 @@ FLAG DESCRIPTIONS
|
|
|
3989
3986
|
Omit this flag to have Salesforce generate a unique username for your org.
|
|
3990
3987
|
```
|
|
3991
3988
|
|
|
3992
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.
|
|
3989
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.14/src/commands/org/create/scratch.ts)_
|
|
3993
3990
|
|
|
3994
3991
|
## `sf org create user`
|
|
3995
3992
|
|
|
@@ -4143,7 +4140,7 @@ EXAMPLES
|
|
|
4143
4140
|
$ sf org delete sandbox --target-org my-sandbox --no-prompt
|
|
4144
4141
|
```
|
|
4145
4142
|
|
|
4146
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.
|
|
4143
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.14/src/commands/org/delete/sandbox.ts)_
|
|
4147
4144
|
|
|
4148
4145
|
## `sf org delete scratch`
|
|
4149
4146
|
|
|
@@ -4187,7 +4184,7 @@ EXAMPLES
|
|
|
4187
4184
|
$ sf org delete scratch --target-org my-scratch-org --no-prompt
|
|
4188
4185
|
```
|
|
4189
4186
|
|
|
4190
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.
|
|
4187
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.14/src/commands/org/delete/scratch.ts)_
|
|
4191
4188
|
|
|
4192
4189
|
## `sf org disable tracking`
|
|
4193
4190
|
|
|
@@ -4226,7 +4223,7 @@ EXAMPLES
|
|
|
4226
4223
|
$ sf org disable tracking
|
|
4227
4224
|
```
|
|
4228
4225
|
|
|
4229
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.
|
|
4226
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.14/src/commands/org/disable/tracking.ts)_
|
|
4230
4227
|
|
|
4231
4228
|
## `sf org display`
|
|
4232
4229
|
|
|
@@ -4271,7 +4268,7 @@ EXAMPLES
|
|
|
4271
4268
|
$ sf org display --target-org TestOrg1 --verbose
|
|
4272
4269
|
```
|
|
4273
4270
|
|
|
4274
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.
|
|
4271
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.14/src/commands/org/display.ts)_
|
|
4275
4272
|
|
|
4276
4273
|
## `sf org display user`
|
|
4277
4274
|
|
|
@@ -4352,7 +4349,7 @@ EXAMPLES
|
|
|
4352
4349
|
$ sf org enable tracking
|
|
4353
4350
|
```
|
|
4354
4351
|
|
|
4355
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.
|
|
4352
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.14/src/commands/org/enable/tracking.ts)_
|
|
4356
4353
|
|
|
4357
4354
|
## `sf org generate password`
|
|
4358
4355
|
|
|
@@ -4458,7 +4455,7 @@ EXAMPLES
|
|
|
4458
4455
|
$ sf org list --clean
|
|
4459
4456
|
```
|
|
4460
4457
|
|
|
4461
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.
|
|
4458
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.14/src/commands/org/list.ts)_
|
|
4462
4459
|
|
|
4463
4460
|
## `sf org list auth`
|
|
4464
4461
|
|
|
@@ -4490,7 +4487,7 @@ EXAMPLES
|
|
|
4490
4487
|
$ sf org list auth
|
|
4491
4488
|
```
|
|
4492
4489
|
|
|
4493
|
-
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.
|
|
4490
|
+
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.6.129/src/commands/org/list/auth.ts)_
|
|
4494
4491
|
|
|
4495
4492
|
## `sf org list limits`
|
|
4496
4493
|
|
|
@@ -4597,7 +4594,7 @@ FLAG DESCRIPTIONS
|
|
|
4597
4594
|
Examples of metadata types that use folders are Dashboard, Document, EmailTemplate, and Report.
|
|
4598
4595
|
```
|
|
4599
4596
|
|
|
4600
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.
|
|
4597
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.14/src/commands/org/list/metadata.ts)_
|
|
4601
4598
|
|
|
4602
4599
|
## `sf org list metadata-types`
|
|
4603
4600
|
|
|
@@ -4652,7 +4649,7 @@ FLAG DESCRIPTIONS
|
|
|
4652
4649
|
Override the api version used for api requests made by this command
|
|
4653
4650
|
```
|
|
4654
4651
|
|
|
4655
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.
|
|
4652
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.14/src/commands/org/list/metadata-types.ts)_
|
|
4656
4653
|
|
|
4657
4654
|
## `sf org list sobject record-counts`
|
|
4658
4655
|
|
|
@@ -4790,7 +4787,7 @@ FLAG DESCRIPTIONS
|
|
|
4790
4787
|
To specify a sandbox, set --instance-url to "https://<MyDomainName>--<SandboxName>.sandbox.my.salesforce.com".
|
|
4791
4788
|
```
|
|
4792
4789
|
|
|
4793
|
-
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.
|
|
4790
|
+
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.6.129/src/commands/org/login/access-token.ts)_
|
|
4794
4791
|
|
|
4795
4792
|
## `sf org login device`
|
|
4796
4793
|
|
|
@@ -4850,7 +4847,7 @@ FLAG DESCRIPTIONS
|
|
|
4850
4847
|
To specify a sandbox, set --instance-url to "https://<MyDomainName>--<SandboxName>.sandbox.my.salesforce.com".
|
|
4851
4848
|
```
|
|
4852
4849
|
|
|
4853
|
-
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.
|
|
4850
|
+
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.6.129/src/commands/org/login/device.ts)_
|
|
4854
4851
|
|
|
4855
4852
|
## `sf org login jwt`
|
|
4856
4853
|
|
|
@@ -4941,7 +4938,7 @@ FLAG DESCRIPTIONS
|
|
|
4941
4938
|
To specify a sandbox, set --instance-url to "https://<MyDomainName>--<SandboxName>.sandbox.my.salesforce.com".
|
|
4942
4939
|
```
|
|
4943
4940
|
|
|
4944
|
-
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.
|
|
4941
|
+
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.6.129/src/commands/org/login/jwt.ts)_
|
|
4945
4942
|
|
|
4946
4943
|
## `sf org login sfdx-url`
|
|
4947
4944
|
|
|
@@ -5011,7 +5008,7 @@ EXAMPLES
|
|
|
5011
5008
|
$ echo url | sf org login sfdx-url --sfdx-url-stdin
|
|
5012
5009
|
```
|
|
5013
5010
|
|
|
5014
|
-
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.
|
|
5011
|
+
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.6.129/src/commands/org/login/sfdx-url.ts)_
|
|
5015
5012
|
|
|
5016
5013
|
## `sf org login web`
|
|
5017
5014
|
|
|
@@ -5020,19 +5017,16 @@ Log in to a Salesforce org using the web server flow.
|
|
|
5020
5017
|
```
|
|
5021
5018
|
USAGE
|
|
5022
5019
|
$ sf org login web [--json] [--flags-dir <value>] [-b chrome|edge|firefox] [-i <value>] [-r <value>] [-d] [-s]
|
|
5023
|
-
[-a <value>]
|
|
5020
|
+
[-a <value>]
|
|
5024
5021
|
|
|
5025
5022
|
FLAGS
|
|
5026
5023
|
-a, --alias=<value> Alias for the org.
|
|
5027
5024
|
-b, --browser=<option> Browser in which to open the org.
|
|
5028
5025
|
<options: chrome|edge|firefox>
|
|
5029
|
-
-c, --client-app=<value> Name of the connected app or external client app to link to the user.
|
|
5030
5026
|
-d, --set-default-dev-hub Set the authenticated org as the default Dev Hub.
|
|
5031
5027
|
-i, --client-id=<value> OAuth client ID (also called consumer key) of your custom connected app.
|
|
5032
5028
|
-r, --instance-url=<value> URL of the instance that the org lives on.
|
|
5033
5029
|
-s, --set-default Set the authenticated org as the default that all org-related commands run against.
|
|
5034
|
-
--scopes=<value> Authentication scopes to request.
|
|
5035
|
-
--username=<value> Username to link client app to.
|
|
5036
5030
|
|
|
5037
5031
|
GLOBAL FLAGS
|
|
5038
5032
|
--flags-dir=<value> Import flag values from a directory.
|
|
@@ -5101,7 +5095,7 @@ FLAG DESCRIPTIONS
|
|
|
5101
5095
|
To specify a sandbox, set --instance-url to "https://<MyDomainName>--<SandboxName>.sandbox.my.salesforce.com".
|
|
5102
5096
|
```
|
|
5103
5097
|
|
|
5104
|
-
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.
|
|
5098
|
+
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.6.129/src/commands/org/login/web.ts)_
|
|
5105
5099
|
|
|
5106
5100
|
## `sf org logout`
|
|
5107
5101
|
|
|
@@ -5109,11 +5103,10 @@ Log out of a Salesforce org.
|
|
|
5109
5103
|
|
|
5110
5104
|
```
|
|
5111
5105
|
USAGE
|
|
5112
|
-
$ sf org logout [--json] [--flags-dir <value>] [-
|
|
5106
|
+
$ sf org logout [--json] [--flags-dir <value>] [-a | -o <value>] [-p]
|
|
5113
5107
|
|
|
5114
5108
|
FLAGS
|
|
5115
5109
|
-a, --all Include all authenticated orgs.
|
|
5116
|
-
-c, --client-app=<value> Client app to log out of.
|
|
5117
5110
|
-o, --target-org=<value> Username or alias of the target org.
|
|
5118
5111
|
-p, --no-prompt Don't prompt for confirmation.
|
|
5119
5112
|
|
|
@@ -5136,10 +5129,6 @@ DESCRIPTION
|
|
|
5136
5129
|
Be careful! If you log out of a scratch org without having access to its password, you can't access the scratch org
|
|
5137
5130
|
again, either through the CLI or the Salesforce UI.
|
|
5138
5131
|
|
|
5139
|
-
Use the --client-app flag to log out of the link you previously created between an authenticated user and a connected
|
|
5140
|
-
app or external client app; you create these links with "org login web --client-app". Run "org display" to get the
|
|
5141
|
-
list of client app names.
|
|
5142
|
-
|
|
5143
5132
|
ALIASES
|
|
5144
5133
|
$ sf force auth logout
|
|
5145
5134
|
$ sf auth logout
|
|
@@ -5167,7 +5156,7 @@ FLAG DESCRIPTIONS
|
|
|
5167
5156
|
All orgs includes Dev Hubs, sandboxes, DE orgs, and expired, deleted, and unknown-status scratch orgs.
|
|
5168
5157
|
```
|
|
5169
5158
|
|
|
5170
|
-
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.
|
|
5159
|
+
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/3.6.129/src/commands/org/logout.ts)_
|
|
5171
5160
|
|
|
5172
5161
|
## `sf org open`
|
|
5173
5162
|
|
|
@@ -5243,7 +5232,7 @@ EXAMPLES
|
|
|
5243
5232
|
$ sf org open --source-file force-app/main/default/bots/Coral_Cloud_Agent/Coral_Cloud_Agent.bot-meta.xml
|
|
5244
5233
|
```
|
|
5245
5234
|
|
|
5246
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.
|
|
5235
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.14/src/commands/org/open.ts)_
|
|
5247
5236
|
|
|
5248
5237
|
## `sf org open agent`
|
|
5249
5238
|
|
|
@@ -5294,7 +5283,7 @@ EXAMPLES
|
|
|
5294
5283
|
$ sf org open agent --target-org MyTestOrg1 --browser firefox --api-name Coral_Cloud_Agent
|
|
5295
5284
|
```
|
|
5296
5285
|
|
|
5297
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.
|
|
5286
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.14/src/commands/org/open/agent.ts)_
|
|
5298
5287
|
|
|
5299
5288
|
## `sf org refresh sandbox`
|
|
5300
5289
|
|
|
@@ -5397,7 +5386,7 @@ FLAG DESCRIPTIONS
|
|
|
5397
5386
|
You can specify either --source-sandbox-name or --source-id when refreshing an existing sandbox, but not both.
|
|
5398
5387
|
```
|
|
5399
5388
|
|
|
5400
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.
|
|
5389
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.14/src/commands/org/refresh/sandbox.ts)_
|
|
5401
5390
|
|
|
5402
5391
|
## `sf org resume sandbox`
|
|
5403
5392
|
|
|
@@ -5460,7 +5449,7 @@ FLAG DESCRIPTIONS
|
|
|
5460
5449
|
returns the job ID. To resume checking the sandbox creation, rerun this command.
|
|
5461
5450
|
```
|
|
5462
5451
|
|
|
5463
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.
|
|
5452
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.14/src/commands/org/resume/sandbox.ts)_
|
|
5464
5453
|
|
|
5465
5454
|
## `sf org resume scratch`
|
|
5466
5455
|
|
|
@@ -5513,7 +5502,7 @@ FLAG DESCRIPTIONS
|
|
|
5513
5502
|
returns the job ID. To resume checking the scratch creation, rerun this command.
|
|
5514
5503
|
```
|
|
5515
5504
|
|
|
5516
|
-
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.
|
|
5505
|
+
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.14/src/commands/org/resume/scratch.ts)_
|
|
5517
5506
|
|
|
5518
5507
|
## `sf package convert`
|
|
5519
5508
|
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/cli",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.94.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@salesforce/cli",
|
|
9
|
-
"version": "2.
|
|
9
|
+
"version": "2.94.0",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"dependencies": {
|
|
@@ -22,18 +22,18 @@
|
|
|
22
22
|
"@oclif/plugin-version": "2.2.29",
|
|
23
23
|
"@oclif/plugin-warn-if-update-available": "3.1.41",
|
|
24
24
|
"@oclif/plugin-which": "3.2.35",
|
|
25
|
-
"@salesforce/core": "8.
|
|
25
|
+
"@salesforce/core": "^8.9.1",
|
|
26
26
|
"@salesforce/kit": "^3.1.6",
|
|
27
|
-
"@salesforce/plugin-agent": "1.
|
|
27
|
+
"@salesforce/plugin-agent": "1.22.8",
|
|
28
28
|
"@salesforce/plugin-apex": "3.6.19",
|
|
29
29
|
"@salesforce/plugin-api": "1.3.3",
|
|
30
|
-
"@salesforce/plugin-auth": "3.
|
|
30
|
+
"@salesforce/plugin-auth": "3.6.129",
|
|
31
31
|
"@salesforce/plugin-data": "4.0.39",
|
|
32
32
|
"@salesforce/plugin-deploy-retrieve": "3.22.22",
|
|
33
33
|
"@salesforce/plugin-info": "3.4.66",
|
|
34
34
|
"@salesforce/plugin-limits": "3.3.56",
|
|
35
35
|
"@salesforce/plugin-marketplace": "1.3.8",
|
|
36
|
-
"@salesforce/plugin-org": "5.
|
|
36
|
+
"@salesforce/plugin-org": "5.7.14",
|
|
37
37
|
"@salesforce/plugin-packaging": "2.15.4",
|
|
38
38
|
"@salesforce/plugin-schema": "3.3.66",
|
|
39
39
|
"@salesforce/plugin-settings": "2.4.31",
|
|
@@ -4809,9 +4809,9 @@
|
|
|
4809
4809
|
}
|
|
4810
4810
|
},
|
|
4811
4811
|
"node_modules/@salesforce/core": {
|
|
4812
|
-
"version": "8.
|
|
4813
|
-
"resolved": "https://registry.npmjs.org/@salesforce/core/-/core-8.
|
|
4814
|
-
"integrity": "sha512-
|
|
4812
|
+
"version": "8.12.0",
|
|
4813
|
+
"resolved": "https://registry.npmjs.org/@salesforce/core/-/core-8.12.0.tgz",
|
|
4814
|
+
"integrity": "sha512-LJIjoQ3UQJ1r/xxdQcaG5bU8MfxeO/LJhrfK/7LZeHVtp1iOIgedbwPuVNzTzYciDWh8elborarrPM4uWjtu5g==",
|
|
4815
4815
|
"license": "BSD-3-Clause",
|
|
4816
4816
|
"dependencies": {
|
|
4817
4817
|
"@jsforce/jsforce-node": "^3.8.2",
|
|
@@ -5040,9 +5040,9 @@
|
|
|
5040
5040
|
}
|
|
5041
5041
|
},
|
|
5042
5042
|
"node_modules/@salesforce/plugin-agent": {
|
|
5043
|
-
"version": "1.
|
|
5044
|
-
"resolved": "https://registry.npmjs.org/@salesforce/plugin-agent/-/plugin-agent-1.
|
|
5045
|
-
"integrity": "sha512-
|
|
5043
|
+
"version": "1.22.8",
|
|
5044
|
+
"resolved": "https://registry.npmjs.org/@salesforce/plugin-agent/-/plugin-agent-1.22.8.tgz",
|
|
5045
|
+
"integrity": "sha512-sW4z5IABAxmnmY18/C3eWoF0ep2IXthRZ3G+ABun0BEHz5vG58EaOHh79oGJkP7EswyFbh8hWaNLq9bR3tsZcA==",
|
|
5046
5046
|
"license": "BSD-3-Clause",
|
|
5047
5047
|
"dependencies": {
|
|
5048
5048
|
"@inquirer/core": "^10.1.6",
|
|
@@ -5050,7 +5050,7 @@
|
|
|
5050
5050
|
"@oclif/core": "^4",
|
|
5051
5051
|
"@oclif/multi-stage-output": "^0.7.12",
|
|
5052
5052
|
"@salesforce/agents": "0.15.0",
|
|
5053
|
-
"@salesforce/core": "^8.
|
|
5053
|
+
"@salesforce/core": "^8.10.2",
|
|
5054
5054
|
"@salesforce/kit": "^3.2.3",
|
|
5055
5055
|
"@salesforce/sf-plugins-core": "^12.2.0",
|
|
5056
5056
|
"@salesforce/source-deploy-retrieve": "^12.19.3",
|
|
@@ -5289,15 +5289,15 @@
|
|
|
5289
5289
|
}
|
|
5290
5290
|
},
|
|
5291
5291
|
"node_modules/@salesforce/plugin-auth": {
|
|
5292
|
-
"version": "3.
|
|
5293
|
-
"resolved": "https://registry.npmjs.org/@salesforce/plugin-auth/-/plugin-auth-3.
|
|
5294
|
-
"integrity": "sha512-
|
|
5292
|
+
"version": "3.6.129",
|
|
5293
|
+
"resolved": "https://registry.npmjs.org/@salesforce/plugin-auth/-/plugin-auth-3.6.129.tgz",
|
|
5294
|
+
"integrity": "sha512-Uvo432RbMJFeyRzbjmQhHWCgViC+ewFjSDC5reACGnspdpw00E6TLJoy9XBN+xetQ+LhOO7a98/j/YrTLhwZKw==",
|
|
5295
5295
|
"license": "Apache-2.0",
|
|
5296
5296
|
"dependencies": {
|
|
5297
5297
|
"@inquirer/checkbox": "^2.5.0",
|
|
5298
5298
|
"@inquirer/select": "^2.5.0",
|
|
5299
5299
|
"@oclif/core": "^4",
|
|
5300
|
-
"@salesforce/core": "^8.
|
|
5300
|
+
"@salesforce/core": "^8.12.0",
|
|
5301
5301
|
"@salesforce/kit": "^3.2.3",
|
|
5302
5302
|
"@salesforce/plugin-info": "^3.4.65",
|
|
5303
5303
|
"@salesforce/sf-plugins-core": "^12.2.2",
|
|
@@ -5519,14 +5519,14 @@
|
|
|
5519
5519
|
}
|
|
5520
5520
|
},
|
|
5521
5521
|
"node_modules/@salesforce/plugin-org": {
|
|
5522
|
-
"version": "5.
|
|
5523
|
-
"resolved": "https://registry.npmjs.org/@salesforce/plugin-org/-/plugin-org-5.
|
|
5524
|
-
"integrity": "sha512-
|
|
5522
|
+
"version": "5.7.14",
|
|
5523
|
+
"resolved": "https://registry.npmjs.org/@salesforce/plugin-org/-/plugin-org-5.7.14.tgz",
|
|
5524
|
+
"integrity": "sha512-771lumsOK5EQY5HAWyHVws7qISUuVbmP3GhjfigmZ/+zxI691DTPHrep4rR3+wbdFMtf2EYN5HfOj3kVhU6FgA==",
|
|
5525
5525
|
"license": "Apache-2.0",
|
|
5526
5526
|
"dependencies": {
|
|
5527
5527
|
"@oclif/core": "^4.3.0",
|
|
5528
5528
|
"@oclif/multi-stage-output": "^0.8.13",
|
|
5529
|
-
"@salesforce/core": "^8.
|
|
5529
|
+
"@salesforce/core": "^8.12.0",
|
|
5530
5530
|
"@salesforce/kit": "^3.2.3",
|
|
5531
5531
|
"@salesforce/sf-plugins-core": "^12.2.2",
|
|
5532
5532
|
"@salesforce/source-deploy-retrieve": "^12.19.7",
|
package/oclif.lock
CHANGED
|
@@ -1995,10 +1995,10 @@
|
|
|
1995
1995
|
strip-ansi "6.0.1"
|
|
1996
1996
|
ts-retry-promise "^0.8.1"
|
|
1997
1997
|
|
|
1998
|
-
"@salesforce/core@^8.10.0", "@salesforce/core@^8.10.1", "@salesforce/core@^8.10.
|
|
1999
|
-
version "8.
|
|
2000
|
-
resolved "https://registry.npmjs.org/@salesforce/core/-/core-8.
|
|
2001
|
-
integrity sha512-
|
|
1998
|
+
"@salesforce/core@^8.10.0", "@salesforce/core@^8.10.1", "@salesforce/core@^8.10.2", "@salesforce/core@^8.10.3", "@salesforce/core@^8.11.1", "@salesforce/core@^8.11.4", "@salesforce/core@^8.12.0", "@salesforce/core@^8.5.1", "@salesforce/core@^8.8.0", "@salesforce/core@^8.8.1", "@salesforce/core@^8.8.5", "@salesforce/core@^8.9.1":
|
|
1999
|
+
version "8.12.0"
|
|
2000
|
+
resolved "https://registry.npmjs.org/@salesforce/core/-/core-8.12.0.tgz"
|
|
2001
|
+
integrity sha512-LJIjoQ3UQJ1r/xxdQcaG5bU8MfxeO/LJhrfK/7LZeHVtp1iOIgedbwPuVNzTzYciDWh8elborarrPM4uWjtu5g==
|
|
2002
2002
|
dependencies:
|
|
2003
2003
|
"@jsforce/jsforce-node" "^3.8.2"
|
|
2004
2004
|
"@salesforce/kit" "^3.2.2"
|
|
@@ -2083,17 +2083,17 @@
|
|
|
2083
2083
|
jszip "^3.10.1"
|
|
2084
2084
|
object-treeify "^2"
|
|
2085
2085
|
|
|
2086
|
-
"@salesforce/plugin-agent@1.
|
|
2087
|
-
version "1.
|
|
2088
|
-
resolved "https://registry.npmjs.org/@salesforce/plugin-agent/-/plugin-agent-1.
|
|
2089
|
-
integrity sha512-
|
|
2086
|
+
"@salesforce/plugin-agent@1.22.8":
|
|
2087
|
+
version "1.22.8"
|
|
2088
|
+
resolved "https://registry.npmjs.org/@salesforce/plugin-agent/-/plugin-agent-1.22.8.tgz"
|
|
2089
|
+
integrity sha512-sW4z5IABAxmnmY18/C3eWoF0ep2IXthRZ3G+ABun0BEHz5vG58EaOHh79oGJkP7EswyFbh8hWaNLq9bR3tsZcA==
|
|
2090
2090
|
dependencies:
|
|
2091
2091
|
"@inquirer/core" "^10.1.6"
|
|
2092
2092
|
"@inquirer/prompts" "^7.2.0"
|
|
2093
2093
|
"@oclif/core" "^4"
|
|
2094
2094
|
"@oclif/multi-stage-output" "^0.7.12"
|
|
2095
2095
|
"@salesforce/agents" "0.15.0"
|
|
2096
|
-
"@salesforce/core" "^8.
|
|
2096
|
+
"@salesforce/core" "^8.10.2"
|
|
2097
2097
|
"@salesforce/kit" "^3.2.3"
|
|
2098
2098
|
"@salesforce/sf-plugins-core" "^12.2.0"
|
|
2099
2099
|
"@salesforce/source-deploy-retrieve" "^12.19.3"
|
|
@@ -2132,15 +2132,15 @@
|
|
|
2132
2132
|
got "^13.0.0"
|
|
2133
2133
|
proxy-agent "^6.4.0"
|
|
2134
2134
|
|
|
2135
|
-
"@salesforce/plugin-auth@3.
|
|
2136
|
-
version "3.
|
|
2137
|
-
resolved "https://registry.npmjs.org/@salesforce/plugin-auth/-/plugin-auth-3.
|
|
2138
|
-
integrity sha512-
|
|
2135
|
+
"@salesforce/plugin-auth@3.6.129":
|
|
2136
|
+
version "3.6.129"
|
|
2137
|
+
resolved "https://registry.npmjs.org/@salesforce/plugin-auth/-/plugin-auth-3.6.129.tgz"
|
|
2138
|
+
integrity sha512-Uvo432RbMJFeyRzbjmQhHWCgViC+ewFjSDC5reACGnspdpw00E6TLJoy9XBN+xetQ+LhOO7a98/j/YrTLhwZKw==
|
|
2139
2139
|
dependencies:
|
|
2140
2140
|
"@inquirer/checkbox" "^2.5.0"
|
|
2141
2141
|
"@inquirer/select" "^2.5.0"
|
|
2142
2142
|
"@oclif/core" "^4"
|
|
2143
|
-
"@salesforce/core" "^8.
|
|
2143
|
+
"@salesforce/core" "^8.12.0"
|
|
2144
2144
|
"@salesforce/kit" "^3.2.3"
|
|
2145
2145
|
"@salesforce/plugin-info" "^3.4.65"
|
|
2146
2146
|
"@salesforce/sf-plugins-core" "^12.2.2"
|
|
@@ -2235,14 +2235,14 @@
|
|
|
2235
2235
|
got "^13.0.0"
|
|
2236
2236
|
proxy-agent "^6.4.0"
|
|
2237
2237
|
|
|
2238
|
-
"@salesforce/plugin-org@5.
|
|
2239
|
-
version "5.
|
|
2240
|
-
resolved "https://registry.npmjs.org/@salesforce/plugin-org/-/plugin-org-5.
|
|
2241
|
-
integrity sha512-
|
|
2238
|
+
"@salesforce/plugin-org@5.7.14":
|
|
2239
|
+
version "5.7.14"
|
|
2240
|
+
resolved "https://registry.npmjs.org/@salesforce/plugin-org/-/plugin-org-5.7.14.tgz"
|
|
2241
|
+
integrity sha512-771lumsOK5EQY5HAWyHVws7qISUuVbmP3GhjfigmZ/+zxI691DTPHrep4rR3+wbdFMtf2EYN5HfOj3kVhU6FgA==
|
|
2242
2242
|
dependencies:
|
|
2243
2243
|
"@oclif/core" "^4.3.0"
|
|
2244
2244
|
"@oclif/multi-stage-output" "^0.8.13"
|
|
2245
|
-
"@salesforce/core" "^8.
|
|
2245
|
+
"@salesforce/core" "^8.12.0"
|
|
2246
2246
|
"@salesforce/kit" "^3.2.3"
|
|
2247
2247
|
"@salesforce/sf-plugins-core" "^12.2.2"
|
|
2248
2248
|
"@salesforce/source-deploy-retrieve" "^12.19.7"
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/cli",
|
|
3
3
|
"description": "The Salesforce CLI",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.94.0",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bin": {
|
|
7
7
|
"sf": "./bin/run.js",
|
|
@@ -156,18 +156,18 @@
|
|
|
156
156
|
"@oclif/plugin-version": "2.2.29",
|
|
157
157
|
"@oclif/plugin-warn-if-update-available": "3.1.41",
|
|
158
158
|
"@oclif/plugin-which": "3.2.35",
|
|
159
|
-
"@salesforce/core": "8.
|
|
159
|
+
"@salesforce/core": "^8.9.1",
|
|
160
160
|
"@salesforce/kit": "^3.1.6",
|
|
161
|
-
"@salesforce/plugin-agent": "1.
|
|
161
|
+
"@salesforce/plugin-agent": "1.22.8",
|
|
162
162
|
"@salesforce/plugin-apex": "3.6.19",
|
|
163
163
|
"@salesforce/plugin-api": "1.3.3",
|
|
164
|
-
"@salesforce/plugin-auth": "3.
|
|
164
|
+
"@salesforce/plugin-auth": "3.6.129",
|
|
165
165
|
"@salesforce/plugin-data": "4.0.39",
|
|
166
166
|
"@salesforce/plugin-deploy-retrieve": "3.22.22",
|
|
167
167
|
"@salesforce/plugin-info": "3.4.66",
|
|
168
168
|
"@salesforce/plugin-limits": "3.3.56",
|
|
169
169
|
"@salesforce/plugin-marketplace": "1.3.8",
|
|
170
|
-
"@salesforce/plugin-org": "5.
|
|
170
|
+
"@salesforce/plugin-org": "5.7.14",
|
|
171
171
|
"@salesforce/plugin-packaging": "2.15.4",
|
|
172
172
|
"@salesforce/plugin-schema": "3.3.66",
|
|
173
173
|
"@salesforce/plugin-settings": "2.4.31",
|