@salesforce/plugin-org 5.11.20 → 5.11.22

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.
Files changed (3) hide show
  1. package/README.md +20 -20
  2. package/oclif.manifest.json +300 -300
  3. package/package.json +5 -5
package/README.md CHANGED
@@ -161,7 +161,7 @@ EXAMPLES
161
161
  $ sf org auth show-access-token --target-org my-org --json
162
162
  ```
163
163
 
164
- _See code: [src/commands/org/auth/show-access-token.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.20/src/commands/org/auth/show-access-token.ts)_
164
+ _See code: [src/commands/org/auth/show-access-token.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.22/src/commands/org/auth/show-access-token.ts)_
165
165
 
166
166
  ## `sf org auth show-sfdx-auth-url`
167
167
 
@@ -205,7 +205,7 @@ EXAMPLES
205
205
  $ sf org auth show-sfdx-auth-url --target-org my-org --json
206
206
  ```
207
207
 
208
- _See code: [src/commands/org/auth/show-sfdx-auth-url.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.20/src/commands/org/auth/show-sfdx-auth-url.ts)_
208
+ _See code: [src/commands/org/auth/show-sfdx-auth-url.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.22/src/commands/org/auth/show-sfdx-auth-url.ts)_
209
209
 
210
210
  ## `sf org auth show-user-password`
211
211
 
@@ -252,7 +252,7 @@ EXAMPLES
252
252
  $ sf org auth show-user-password --target-org my-org --json
253
253
  ```
254
254
 
255
- _See code: [src/commands/org/auth/show-user-password.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.20/src/commands/org/auth/show-user-password.ts)_
255
+ _See code: [src/commands/org/auth/show-user-password.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.22/src/commands/org/auth/show-user-password.ts)_
256
256
 
257
257
  ## `sf org create agent-user`
258
258
 
@@ -330,7 +330,7 @@ FLAG DESCRIPTIONS
330
330
  "agent.user.<GUID>@your-org-domain.com".
331
331
  ```
332
332
 
333
- _See code: [src/commands/org/create/agent-user.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.20/src/commands/org/create/agent-user.ts)_
333
+ _See code: [src/commands/org/create/agent-user.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.22/src/commands/org/create/agent-user.ts)_
334
334
 
335
335
  ## `sf org create sandbox`
336
336
 
@@ -464,7 +464,7 @@ FLAG DESCRIPTIONS
464
464
  You can specify either --source-sandbox-name or --source-id when cloning an existing sandbox, but not both.
465
465
  ```
466
466
 
467
- _See code: [src/commands/org/create/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.20/src/commands/org/create/sandbox.ts)_
467
+ _See code: [src/commands/org/create/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.22/src/commands/org/create/sandbox.ts)_
468
468
 
469
469
  ## `sf org create scratch`
470
470
 
@@ -646,7 +646,7 @@ FLAG DESCRIPTIONS
646
646
  Omit this flag to have Salesforce generate a unique username for your org.
647
647
  ```
648
648
 
649
- _See code: [src/commands/org/create/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.20/src/commands/org/create/scratch.ts)_
649
+ _See code: [src/commands/org/create/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.22/src/commands/org/create/scratch.ts)_
650
650
 
651
651
  ## `sf org delete sandbox`
652
652
 
@@ -692,7 +692,7 @@ EXAMPLES
692
692
  $ sf org delete sandbox --target-org my-sandbox --no-prompt
693
693
  ```
694
694
 
695
- _See code: [src/commands/org/delete/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.20/src/commands/org/delete/sandbox.ts)_
695
+ _See code: [src/commands/org/delete/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.22/src/commands/org/delete/sandbox.ts)_
696
696
 
697
697
  ## `sf org delete scratch`
698
698
 
@@ -736,7 +736,7 @@ EXAMPLES
736
736
  $ sf org delete scratch --target-org my-scratch-org --no-prompt
737
737
  ```
738
738
 
739
- _See code: [src/commands/org/delete/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.20/src/commands/org/delete/scratch.ts)_
739
+ _See code: [src/commands/org/delete/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.22/src/commands/org/delete/scratch.ts)_
740
740
 
741
741
  ## `sf org disable tracking`
742
742
 
@@ -775,7 +775,7 @@ EXAMPLES
775
775
  $ sf org disable tracking
776
776
  ```
777
777
 
778
- _See code: [src/commands/org/disable/tracking.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.20/src/commands/org/disable/tracking.ts)_
778
+ _See code: [src/commands/org/disable/tracking.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.22/src/commands/org/disable/tracking.ts)_
779
779
 
780
780
  ## `sf org display`
781
781
 
@@ -820,7 +820,7 @@ EXAMPLES
820
820
  $ sf org display --target-org TestOrg1 --verbose
821
821
  ```
822
822
 
823
- _See code: [src/commands/org/display.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.20/src/commands/org/display.ts)_
823
+ _See code: [src/commands/org/display.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.22/src/commands/org/display.ts)_
824
824
 
825
825
  ## `sf org enable tracking`
826
826
 
@@ -862,7 +862,7 @@ EXAMPLES
862
862
  $ sf org enable tracking
863
863
  ```
864
864
 
865
- _See code: [src/commands/org/enable/tracking.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.20/src/commands/org/enable/tracking.ts)_
865
+ _See code: [src/commands/org/enable/tracking.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.22/src/commands/org/enable/tracking.ts)_
866
866
 
867
867
  ## `sf org list`
868
868
 
@@ -901,7 +901,7 @@ EXAMPLES
901
901
  $ sf org list --clean
902
902
  ```
903
903
 
904
- _See code: [src/commands/org/list.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.20/src/commands/org/list.ts)_
904
+ _See code: [src/commands/org/list.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.22/src/commands/org/list.ts)_
905
905
 
906
906
  ## `sf org list metadata`
907
907
 
@@ -968,7 +968,7 @@ FLAG DESCRIPTIONS
968
968
  Examples of metadata types that use folders are Dashboard, Document, EmailTemplate, and Report.
969
969
  ```
970
970
 
971
- _See code: [src/commands/org/list/metadata.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.20/src/commands/org/list/metadata.ts)_
971
+ _See code: [src/commands/org/list/metadata.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.22/src/commands/org/list/metadata.ts)_
972
972
 
973
973
  ## `sf org list metadata-types`
974
974
 
@@ -1023,7 +1023,7 @@ FLAG DESCRIPTIONS
1023
1023
  Override the api version used for api requests made by this command
1024
1024
  ```
1025
1025
 
1026
- _See code: [src/commands/org/list/metadata-types.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.20/src/commands/org/list/metadata-types.ts)_
1026
+ _See code: [src/commands/org/list/metadata-types.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.22/src/commands/org/list/metadata-types.ts)_
1027
1027
 
1028
1028
  ## `sf org open`
1029
1029
 
@@ -1099,7 +1099,7 @@ EXAMPLES
1099
1099
  $ sf org open --source-file force-app/main/default/bots/Coral_Cloud_Agent/Coral_Cloud_Agent.bot-meta.xml
1100
1100
  ```
1101
1101
 
1102
- _See code: [src/commands/org/open.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.20/src/commands/org/open.ts)_
1102
+ _See code: [src/commands/org/open.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.22/src/commands/org/open.ts)_
1103
1103
 
1104
1104
  ## `sf org open agent`
1105
1105
 
@@ -1163,7 +1163,7 @@ EXAMPLES
1163
1163
  $ sf org open agent --authoring-bundle Coral_Cloud_Agent --version 1
1164
1164
  ```
1165
1165
 
1166
- _See code: [src/commands/org/open/agent.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.20/src/commands/org/open/agent.ts)_
1166
+ _See code: [src/commands/org/open/agent.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.22/src/commands/org/open/agent.ts)_
1167
1167
 
1168
1168
  ## `sf org open authoring-bundle`
1169
1169
 
@@ -1209,7 +1209,7 @@ EXAMPLES
1209
1209
  $ sf org open authoring-bundle --target-org MyTestOrg1 --browser firefox
1210
1210
  ```
1211
1211
 
1212
- _See code: [src/commands/org/open/authoring-bundle.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.20/src/commands/org/open/authoring-bundle.ts)_
1212
+ _See code: [src/commands/org/open/authoring-bundle.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.22/src/commands/org/open/authoring-bundle.ts)_
1213
1213
 
1214
1214
  ## `sf org refresh sandbox`
1215
1215
 
@@ -1312,7 +1312,7 @@ FLAG DESCRIPTIONS
1312
1312
  You can specify either --source-sandbox-name or --source-id when refreshing an existing sandbox, but not both.
1313
1313
  ```
1314
1314
 
1315
- _See code: [src/commands/org/refresh/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.20/src/commands/org/refresh/sandbox.ts)_
1315
+ _See code: [src/commands/org/refresh/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.22/src/commands/org/refresh/sandbox.ts)_
1316
1316
 
1317
1317
  ## `sf org resume sandbox`
1318
1318
 
@@ -1375,7 +1375,7 @@ FLAG DESCRIPTIONS
1375
1375
  returns the job ID. To resume checking the sandbox creation, rerun this command.
1376
1376
  ```
1377
1377
 
1378
- _See code: [src/commands/org/resume/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.20/src/commands/org/resume/sandbox.ts)_
1378
+ _See code: [src/commands/org/resume/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.22/src/commands/org/resume/sandbox.ts)_
1379
1379
 
1380
1380
  ## `sf org resume scratch`
1381
1381
 
@@ -1428,6 +1428,6 @@ FLAG DESCRIPTIONS
1428
1428
  returns the job ID. To resume checking the scratch creation, rerun this command.
1429
1429
  ```
1430
1430
 
1431
- _See code: [src/commands/org/resume/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.20/src/commands/org/resume/scratch.ts)_
1431
+ _See code: [src/commands/org/resume/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.22/src/commands/org/resume/scratch.ts)_
1432
1432
 
1433
1433
  <!-- commandsstop -->
@@ -385,6 +385,219 @@
385
385
  "open:org"
386
386
  ]
387
387
  },
388
+ "org:auth:show-access-token": {
389
+ "aliases": [],
390
+ "args": {},
391
+ "description": "Because access tokens are sensitive credentials that grant full access to an org, this command prompts for confirmation before revealing the token. Skip confirmation by specifying either the --no-prompt or --json flag.",
392
+ "examples": [
393
+ "Show the access token for the default org:\n<%= config.bin %> <%= command.id %>",
394
+ "Show the access token for an org with alias \"my-org\":\n<%= config.bin %> <%= command.id %> --target-org my-org",
395
+ "Show the access token without the confirmation prompt:\n<%= config.bin %> <%= command.id %> --target-org my-org --no-prompt",
396
+ "Get the access token as JSON for use in scripts:\n<%= config.bin %> <%= command.id %> --target-org my-org --json"
397
+ ],
398
+ "flags": {
399
+ "json": {
400
+ "description": "Format output as json.",
401
+ "helpGroup": "GLOBAL",
402
+ "name": "json",
403
+ "allowNo": false,
404
+ "type": "boolean"
405
+ },
406
+ "flags-dir": {
407
+ "helpGroup": "GLOBAL",
408
+ "name": "flags-dir",
409
+ "summary": "Import flag values from a directory.",
410
+ "hasDynamicHelp": false,
411
+ "multiple": false,
412
+ "type": "option"
413
+ },
414
+ "target-org": {
415
+ "char": "o",
416
+ "name": "target-org",
417
+ "noCacheDefault": true,
418
+ "required": true,
419
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
420
+ "hasDynamicHelp": true,
421
+ "multiple": false,
422
+ "type": "option"
423
+ },
424
+ "no-prompt": {
425
+ "char": "p",
426
+ "name": "no-prompt",
427
+ "summary": "Skip the security warning and reveal the access token without confirmation.",
428
+ "allowNo": false,
429
+ "type": "boolean"
430
+ }
431
+ },
432
+ "hasDynamicHelp": true,
433
+ "hiddenAliases": [],
434
+ "id": "org:auth:show-access-token",
435
+ "pluginAlias": "@salesforce/plugin-org",
436
+ "pluginName": "@salesforce/plugin-org",
437
+ "pluginType": "core",
438
+ "strict": true,
439
+ "summary": "Show the current access token for an org.",
440
+ "enableJsonFlag": true,
441
+ "isESM": true,
442
+ "relativePath": [
443
+ "lib",
444
+ "commands",
445
+ "org",
446
+ "auth",
447
+ "show-access-token.js"
448
+ ],
449
+ "aliasPermutations": [],
450
+ "permutations": [
451
+ "org:auth:show-access-token",
452
+ "auth:org:show-access-token",
453
+ "auth:show-access-token:org",
454
+ "org:show-access-token:auth",
455
+ "show-access-token:org:auth",
456
+ "show-access-token:auth:org"
457
+ ]
458
+ },
459
+ "org:auth:show-sfdx-auth-url": {
460
+ "aliases": [],
461
+ "args": {},
462
+ "description": "Shows the SFDX Auth URL for an org. This URL is only available for orgs authenticated via a web-based OAuth flow. This command prompts for confirmation before revealing it. Skip confirmation by specifying either the --no-prompt or --json flag.",
463
+ "examples": [
464
+ "Show the SFDX Auth URL for the default org:\n<%= config.bin %> <%= command.id %>",
465
+ "Show the SFDX Auth URL for an org with alias \"my-org\":\n<%= config.bin %> <%= command.id %> --target-org my-org",
466
+ "Show the SFDX Auth URL without the confirmation prompt:\n<%= config.bin %> <%= command.id %> --target-org my-org --no-prompt",
467
+ "Get the SFDX Auth URL as JSON for use in scripts:\n<%= config.bin %> <%= command.id %> --target-org my-org --json"
468
+ ],
469
+ "flags": {
470
+ "json": {
471
+ "description": "Format output as json.",
472
+ "helpGroup": "GLOBAL",
473
+ "name": "json",
474
+ "allowNo": false,
475
+ "type": "boolean"
476
+ },
477
+ "flags-dir": {
478
+ "helpGroup": "GLOBAL",
479
+ "name": "flags-dir",
480
+ "summary": "Import flag values from a directory.",
481
+ "hasDynamicHelp": false,
482
+ "multiple": false,
483
+ "type": "option"
484
+ },
485
+ "target-org": {
486
+ "char": "o",
487
+ "name": "target-org",
488
+ "noCacheDefault": true,
489
+ "required": true,
490
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
491
+ "hasDynamicHelp": true,
492
+ "multiple": false,
493
+ "type": "option"
494
+ },
495
+ "no-prompt": {
496
+ "char": "p",
497
+ "name": "no-prompt",
498
+ "summary": "Skip the security warning and reveal the SFDX Auth URL without confirmation.",
499
+ "allowNo": false,
500
+ "type": "boolean"
501
+ }
502
+ },
503
+ "hasDynamicHelp": true,
504
+ "hiddenAliases": [],
505
+ "id": "org:auth:show-sfdx-auth-url",
506
+ "pluginAlias": "@salesforce/plugin-org",
507
+ "pluginName": "@salesforce/plugin-org",
508
+ "pluginType": "core",
509
+ "strict": true,
510
+ "summary": "Show the SFDX Auth URL for an org.",
511
+ "enableJsonFlag": true,
512
+ "isESM": true,
513
+ "relativePath": [
514
+ "lib",
515
+ "commands",
516
+ "org",
517
+ "auth",
518
+ "show-sfdx-auth-url.js"
519
+ ],
520
+ "aliasPermutations": [],
521
+ "permutations": [
522
+ "org:auth:show-sfdx-auth-url",
523
+ "auth:org:show-sfdx-auth-url",
524
+ "auth:show-sfdx-auth-url:org",
525
+ "org:show-sfdx-auth-url:auth",
526
+ "show-sfdx-auth-url:org:auth",
527
+ "show-sfdx-auth-url:auth:org"
528
+ ]
529
+ },
530
+ "org:auth:show-user-password": {
531
+ "aliases": [],
532
+ "args": {},
533
+ "description": "This command shows only passwords that were generated locally in your DX project with either the \"org generate password\" or \"org create user\" CLI command. If you generated a password for a user in Setup in your org, you can't show it with this command.\n\nBecause passwords are sensitive credentials, this command prompts for confirmation before revealing it. Skip confirmation by specifying either the --no-prompt or --json flag.",
534
+ "examples": [
535
+ "Show the password for the default org's user:\n<%= config.bin %> <%= command.id %>",
536
+ "Show the password for an org with alias \"my-org\":\n<%= config.bin %> <%= command.id %> --target-org my-org",
537
+ "Show the password without the confirmation prompt:\n<%= config.bin %> <%= command.id %> --target-org my-org --no-prompt",
538
+ "Get the password as JSON for use in scripts:\n<%= config.bin %> <%= command.id %> --target-org my-org --json"
539
+ ],
540
+ "flags": {
541
+ "json": {
542
+ "description": "Format output as json.",
543
+ "helpGroup": "GLOBAL",
544
+ "name": "json",
545
+ "allowNo": false,
546
+ "type": "boolean"
547
+ },
548
+ "flags-dir": {
549
+ "helpGroup": "GLOBAL",
550
+ "name": "flags-dir",
551
+ "summary": "Import flag values from a directory.",
552
+ "hasDynamicHelp": false,
553
+ "multiple": false,
554
+ "type": "option"
555
+ },
556
+ "target-org": {
557
+ "char": "o",
558
+ "name": "target-org",
559
+ "noCacheDefault": true,
560
+ "required": true,
561
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
562
+ "hasDynamicHelp": true,
563
+ "multiple": false,
564
+ "type": "option"
565
+ },
566
+ "no-prompt": {
567
+ "char": "p",
568
+ "name": "no-prompt",
569
+ "summary": "Skip the security warning and reveal the password without confirmation.",
570
+ "allowNo": false,
571
+ "type": "boolean"
572
+ }
573
+ },
574
+ "hasDynamicHelp": true,
575
+ "hiddenAliases": [],
576
+ "id": "org:auth:show-user-password",
577
+ "pluginAlias": "@salesforce/plugin-org",
578
+ "pluginName": "@salesforce/plugin-org",
579
+ "pluginType": "core",
580
+ "strict": true,
581
+ "summary": "Show the stored password for an org's user.",
582
+ "enableJsonFlag": true,
583
+ "isESM": true,
584
+ "relativePath": [
585
+ "lib",
586
+ "commands",
587
+ "org",
588
+ "auth",
589
+ "show-user-password.js"
590
+ ],
591
+ "aliasPermutations": [],
592
+ "permutations": [
593
+ "org:auth:show-user-password",
594
+ "auth:org:show-user-password",
595
+ "auth:show-user-password:org",
596
+ "org:show-user-password:auth",
597
+ "show-user-password:org:auth",
598
+ "show-user-password:auth:org"
599
+ ]
600
+ },
388
601
  "org:create:agent-user": {
389
602
  "aliases": [],
390
603
  "args": {},
@@ -945,15 +1158,17 @@
945
1158
  "scratch:create:org"
946
1159
  ]
947
1160
  },
948
- "org:auth:show-access-token": {
949
- "aliases": [],
1161
+ "org:delete:sandbox": {
1162
+ "aliases": [
1163
+ "env:delete:sandbox"
1164
+ ],
950
1165
  "args": {},
951
- "description": "Because access tokens are sensitive credentials that grant full access to an org, this command prompts for confirmation before revealing the token. Skip confirmation by specifying either the --no-prompt or --json flag.",
1166
+ "deprecateAliases": true,
1167
+ "description": "Salesforce CLI marks the org for deletion in the production org that contains the sandbox licenses and then deletes all local references to the org from your computer.\nSpecify a sandbox with either the username you used when you logged into it, or the alias you gave the sandbox when you created it. Run \"<%= config.bin %> org list\" to view all your orgs, including sandboxes, and their aliases.\nBoth the sandbox and the associated production org must already be authenticated with the CLI to successfully delete the sandbox.",
952
1168
  "examples": [
953
- "Show the access token for the default org:\n<%= config.bin %> <%= command.id %>",
954
- "Show the access token for an org with alias \"my-org\":\n<%= config.bin %> <%= command.id %> --target-org my-org",
955
- "Show the access token without the confirmation prompt:\n<%= config.bin %> <%= command.id %> --target-org my-org --no-prompt",
956
- "Get the access token as JSON for use in scripts:\n<%= config.bin %> <%= command.id %> --target-org my-org --json"
1169
+ "Delete a sandbox with alias my-sandbox:\n<%= config.bin %> <%= command.id %> --target-org my-sandbox",
1170
+ "Specify a username instead of an alias:\n<%= config.bin %> <%= command.id %> --target-org myusername@example.com.qa",
1171
+ "Delete the sandbox without prompting to confirm:\n<%= config.bin %> <%= command.id %> --target-org my-sandbox --no-prompt"
957
1172
  ],
958
1173
  "flags": {
959
1174
  "json": {
@@ -972,9 +1187,13 @@
972
1187
  "type": "option"
973
1188
  },
974
1189
  "target-org": {
1190
+ "aliases": [
1191
+ "targetusername",
1192
+ "u"
1193
+ ],
975
1194
  "char": "o",
1195
+ "deprecateAliases": true,
976
1196
  "name": "target-org",
977
- "noCacheDefault": true,
978
1197
  "required": true,
979
1198
  "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
980
1199
  "hasDynamicHelp": true,
@@ -984,191 +1203,56 @@
984
1203
  "no-prompt": {
985
1204
  "char": "p",
986
1205
  "name": "no-prompt",
987
- "summary": "Skip the security warning and reveal the access token without confirmation.",
1206
+ "summary": "Don't prompt the user to confirm the deletion.",
988
1207
  "allowNo": false,
989
1208
  "type": "boolean"
990
1209
  }
991
1210
  },
992
1211
  "hasDynamicHelp": true,
993
1212
  "hiddenAliases": [],
994
- "id": "org:auth:show-access-token",
1213
+ "id": "org:delete:sandbox",
995
1214
  "pluginAlias": "@salesforce/plugin-org",
996
1215
  "pluginName": "@salesforce/plugin-org",
997
1216
  "pluginType": "core",
998
1217
  "strict": true,
999
- "summary": "Show the current access token for an org.",
1218
+ "summary": "Delete a sandbox.",
1000
1219
  "enableJsonFlag": true,
1001
1220
  "isESM": true,
1002
1221
  "relativePath": [
1003
1222
  "lib",
1004
1223
  "commands",
1005
1224
  "org",
1006
- "auth",
1007
- "show-access-token.js"
1225
+ "delete",
1226
+ "sandbox.js"
1227
+ ],
1228
+ "aliasPermutations": [
1229
+ "env:delete:sandbox",
1230
+ "delete:env:sandbox",
1231
+ "delete:sandbox:env",
1232
+ "env:sandbox:delete",
1233
+ "sandbox:env:delete",
1234
+ "sandbox:delete:env"
1008
1235
  ],
1009
- "aliasPermutations": [],
1010
1236
  "permutations": [
1011
- "org:auth:show-access-token",
1012
- "auth:org:show-access-token",
1013
- "auth:show-access-token:org",
1014
- "org:show-access-token:auth",
1015
- "show-access-token:org:auth",
1016
- "show-access-token:auth:org"
1017
- ]
1018
- },
1019
- "org:auth:show-sfdx-auth-url": {
1020
- "aliases": [],
1021
- "args": {},
1022
- "description": "Shows the SFDX Auth URL for an org. This URL is only available for orgs authenticated via a web-based OAuth flow. This command prompts for confirmation before revealing it. Skip confirmation by specifying either the --no-prompt or --json flag.",
1023
- "examples": [
1024
- "Show the SFDX Auth URL for the default org:\n<%= config.bin %> <%= command.id %>",
1025
- "Show the SFDX Auth URL for an org with alias \"my-org\":\n<%= config.bin %> <%= command.id %> --target-org my-org",
1026
- "Show the SFDX Auth URL without the confirmation prompt:\n<%= config.bin %> <%= command.id %> --target-org my-org --no-prompt",
1027
- "Get the SFDX Auth URL as JSON for use in scripts:\n<%= config.bin %> <%= command.id %> --target-org my-org --json"
1028
- ],
1029
- "flags": {
1030
- "json": {
1031
- "description": "Format output as json.",
1032
- "helpGroup": "GLOBAL",
1033
- "name": "json",
1034
- "allowNo": false,
1035
- "type": "boolean"
1036
- },
1037
- "flags-dir": {
1038
- "helpGroup": "GLOBAL",
1039
- "name": "flags-dir",
1040
- "summary": "Import flag values from a directory.",
1041
- "hasDynamicHelp": false,
1042
- "multiple": false,
1043
- "type": "option"
1044
- },
1045
- "target-org": {
1046
- "char": "o",
1047
- "name": "target-org",
1048
- "noCacheDefault": true,
1049
- "required": true,
1050
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
1051
- "hasDynamicHelp": true,
1052
- "multiple": false,
1053
- "type": "option"
1054
- },
1055
- "no-prompt": {
1056
- "char": "p",
1057
- "name": "no-prompt",
1058
- "summary": "Skip the security warning and reveal the SFDX Auth URL without confirmation.",
1059
- "allowNo": false,
1060
- "type": "boolean"
1061
- }
1062
- },
1063
- "hasDynamicHelp": true,
1064
- "hiddenAliases": [],
1065
- "id": "org:auth:show-sfdx-auth-url",
1066
- "pluginAlias": "@salesforce/plugin-org",
1067
- "pluginName": "@salesforce/plugin-org",
1068
- "pluginType": "core",
1069
- "strict": true,
1070
- "summary": "Show the SFDX Auth URL for an org.",
1071
- "enableJsonFlag": true,
1072
- "isESM": true,
1073
- "relativePath": [
1074
- "lib",
1075
- "commands",
1076
- "org",
1077
- "auth",
1078
- "show-sfdx-auth-url.js"
1079
- ],
1080
- "aliasPermutations": [],
1081
- "permutations": [
1082
- "org:auth:show-sfdx-auth-url",
1083
- "auth:org:show-sfdx-auth-url",
1084
- "auth:show-sfdx-auth-url:org",
1085
- "org:show-sfdx-auth-url:auth",
1086
- "show-sfdx-auth-url:org:auth",
1087
- "show-sfdx-auth-url:auth:org"
1088
- ]
1089
- },
1090
- "org:auth:show-user-password": {
1091
- "aliases": [],
1092
- "args": {},
1093
- "description": "This command shows only passwords that were generated locally in your DX project with either the \"org generate password\" or \"org create user\" CLI command. If you generated a password for a user in Setup in your org, you can't show it with this command.\n\nBecause passwords are sensitive credentials, this command prompts for confirmation before revealing it. Skip confirmation by specifying either the --no-prompt or --json flag.",
1094
- "examples": [
1095
- "Show the password for the default org's user:\n<%= config.bin %> <%= command.id %>",
1096
- "Show the password for an org with alias \"my-org\":\n<%= config.bin %> <%= command.id %> --target-org my-org",
1097
- "Show the password without the confirmation prompt:\n<%= config.bin %> <%= command.id %> --target-org my-org --no-prompt",
1098
- "Get the password as JSON for use in scripts:\n<%= config.bin %> <%= command.id %> --target-org my-org --json"
1099
- ],
1100
- "flags": {
1101
- "json": {
1102
- "description": "Format output as json.",
1103
- "helpGroup": "GLOBAL",
1104
- "name": "json",
1105
- "allowNo": false,
1106
- "type": "boolean"
1107
- },
1108
- "flags-dir": {
1109
- "helpGroup": "GLOBAL",
1110
- "name": "flags-dir",
1111
- "summary": "Import flag values from a directory.",
1112
- "hasDynamicHelp": false,
1113
- "multiple": false,
1114
- "type": "option"
1115
- },
1116
- "target-org": {
1117
- "char": "o",
1118
- "name": "target-org",
1119
- "noCacheDefault": true,
1120
- "required": true,
1121
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
1122
- "hasDynamicHelp": true,
1123
- "multiple": false,
1124
- "type": "option"
1125
- },
1126
- "no-prompt": {
1127
- "char": "p",
1128
- "name": "no-prompt",
1129
- "summary": "Skip the security warning and reveal the password without confirmation.",
1130
- "allowNo": false,
1131
- "type": "boolean"
1132
- }
1133
- },
1134
- "hasDynamicHelp": true,
1135
- "hiddenAliases": [],
1136
- "id": "org:auth:show-user-password",
1137
- "pluginAlias": "@salesforce/plugin-org",
1138
- "pluginName": "@salesforce/plugin-org",
1139
- "pluginType": "core",
1140
- "strict": true,
1141
- "summary": "Show the stored password for an org's user.",
1142
- "enableJsonFlag": true,
1143
- "isESM": true,
1144
- "relativePath": [
1145
- "lib",
1146
- "commands",
1147
- "org",
1148
- "auth",
1149
- "show-user-password.js"
1150
- ],
1151
- "aliasPermutations": [],
1152
- "permutations": [
1153
- "org:auth:show-user-password",
1154
- "auth:org:show-user-password",
1155
- "auth:show-user-password:org",
1156
- "org:show-user-password:auth",
1157
- "show-user-password:org:auth",
1158
- "show-user-password:auth:org"
1237
+ "org:delete:sandbox",
1238
+ "delete:org:sandbox",
1239
+ "delete:sandbox:org",
1240
+ "org:sandbox:delete",
1241
+ "sandbox:org:delete",
1242
+ "sandbox:delete:org"
1159
1243
  ]
1160
1244
  },
1161
- "org:delete:sandbox": {
1245
+ "org:delete:scratch": {
1162
1246
  "aliases": [
1163
- "env:delete:sandbox"
1247
+ "env:delete:scratch"
1164
1248
  ],
1165
1249
  "args": {},
1166
1250
  "deprecateAliases": true,
1167
- "description": "Salesforce CLI marks the org for deletion in the production org that contains the sandbox licenses and then deletes all local references to the org from your computer.\nSpecify a sandbox with either the username you used when you logged into it, or the alias you gave the sandbox when you created it. Run \"<%= config.bin %> org list\" to view all your orgs, including sandboxes, and their aliases.\nBoth the sandbox and the associated production org must already be authenticated with the CLI to successfully delete the sandbox.",
1251
+ "description": "Salesforce CLI marks the org for deletion in the Dev Hub org and then deletes all local references to the org from your computer.\nSpecify a scratch org with either the username or the alias you gave the scratch org when you created it. Run \"<%= config.bin %> org list\" to view all your orgs, including scratch orgs, and their aliases.",
1168
1252
  "examples": [
1169
- "Delete a sandbox with alias my-sandbox:\n<%= config.bin %> <%= command.id %> --target-org my-sandbox",
1170
- "Specify a username instead of an alias:\n<%= config.bin %> <%= command.id %> --target-org myusername@example.com.qa",
1171
- "Delete the sandbox without prompting to confirm:\n<%= config.bin %> <%= command.id %> --target-org my-sandbox --no-prompt"
1253
+ "Delete a scratch org with alias my-scratch-org:\n<%= config.bin %> <%= command.id %> --target-org my-scratch-org",
1254
+ "Specify a username instead of an alias:\n<%= config.bin %> <%= command.id %> --target-org test-123456-abcdefg@example.com",
1255
+ "Delete the scratch org without prompting to confirm :\n<%= config.bin %> <%= command.id %> --target-org my-scratch-org --no-prompt"
1172
1256
  ],
1173
1257
  "flags": {
1174
1258
  "json": {
@@ -1210,12 +1294,12 @@
1210
1294
  },
1211
1295
  "hasDynamicHelp": true,
1212
1296
  "hiddenAliases": [],
1213
- "id": "org:delete:sandbox",
1297
+ "id": "org:delete:scratch",
1214
1298
  "pluginAlias": "@salesforce/plugin-org",
1215
1299
  "pluginName": "@salesforce/plugin-org",
1216
1300
  "pluginType": "core",
1217
1301
  "strict": true,
1218
- "summary": "Delete a sandbox.",
1302
+ "summary": "Delete a scratch org.",
1219
1303
  "enableJsonFlag": true,
1220
1304
  "isESM": true,
1221
1305
  "relativePath": [
@@ -1223,36 +1307,33 @@
1223
1307
  "commands",
1224
1308
  "org",
1225
1309
  "delete",
1226
- "sandbox.js"
1310
+ "scratch.js"
1227
1311
  ],
1228
1312
  "aliasPermutations": [
1229
- "env:delete:sandbox",
1230
- "delete:env:sandbox",
1231
- "delete:sandbox:env",
1232
- "env:sandbox:delete",
1233
- "sandbox:env:delete",
1234
- "sandbox:delete:env"
1313
+ "env:delete:scratch",
1314
+ "delete:env:scratch",
1315
+ "delete:scratch:env",
1316
+ "env:scratch:delete",
1317
+ "scratch:env:delete",
1318
+ "scratch:delete:env"
1235
1319
  ],
1236
1320
  "permutations": [
1237
- "org:delete:sandbox",
1238
- "delete:org:sandbox",
1239
- "delete:sandbox:org",
1240
- "org:sandbox:delete",
1241
- "sandbox:org:delete",
1242
- "sandbox:delete:org"
1321
+ "org:delete:scratch",
1322
+ "delete:org:scratch",
1323
+ "delete:scratch:org",
1324
+ "org:scratch:delete",
1325
+ "scratch:org:delete",
1326
+ "scratch:delete:org"
1243
1327
  ]
1244
1328
  },
1245
- "org:delete:scratch": {
1246
- "aliases": [
1247
- "env:delete:scratch"
1248
- ],
1329
+ "org:disable:tracking": {
1330
+ "aliases": [],
1249
1331
  "args": {},
1250
- "deprecateAliases": true,
1251
- "description": "Salesforce CLI marks the org for deletion in the Dev Hub org and then deletes all local references to the org from your computer.\nSpecify a scratch org with either the username or the alias you gave the scratch org when you created it. Run \"<%= config.bin %> org list\" to view all your orgs, including scratch orgs, and their aliases.",
1332
+ "description": "Disabling source tracking has no direct effect on the org, it affects only your local environment. Specifically, Salesforce CLI stores the setting in the org's local configuration file so that no source tracking operations are executed when working with the org.",
1252
1333
  "examples": [
1253
- "Delete a scratch org with alias my-scratch-org:\n<%= config.bin %> <%= command.id %> --target-org my-scratch-org",
1254
- "Specify a username instead of an alias:\n<%= config.bin %> <%= command.id %> --target-org test-123456-abcdefg@example.com",
1255
- "Delete the scratch org without prompting to confirm :\n<%= config.bin %> <%= command.id %> --target-org my-scratch-org --no-prompt"
1334
+ "Disable source tracking for an org with alias \"myscratch\":\n<%= config.bin %> <%= command.id %> --target-org myscratch",
1335
+ "Disable source tracking for an org using a username:\n<%= config.bin %> <%= command.id %> --target-org you@example.com",
1336
+ "Disable source tracking for your default org:\n<%= config.bin %> <%= command.id %>"
1256
1337
  ],
1257
1338
  "flags": {
1258
1339
  "json": {
@@ -1271,69 +1352,51 @@
1271
1352
  "type": "option"
1272
1353
  },
1273
1354
  "target-org": {
1274
- "aliases": [
1275
- "targetusername",
1276
- "u"
1277
- ],
1278
1355
  "char": "o",
1279
- "deprecateAliases": true,
1280
1356
  "name": "target-org",
1357
+ "noCacheDefault": true,
1281
1358
  "required": true,
1282
1359
  "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
1283
1360
  "hasDynamicHelp": true,
1284
1361
  "multiple": false,
1285
1362
  "type": "option"
1286
- },
1287
- "no-prompt": {
1288
- "char": "p",
1289
- "name": "no-prompt",
1290
- "summary": "Don't prompt the user to confirm the deletion.",
1291
- "allowNo": false,
1292
- "type": "boolean"
1293
1363
  }
1294
1364
  },
1295
1365
  "hasDynamicHelp": true,
1296
1366
  "hiddenAliases": [],
1297
- "id": "org:delete:scratch",
1367
+ "id": "org:disable:tracking",
1298
1368
  "pluginAlias": "@salesforce/plugin-org",
1299
1369
  "pluginName": "@salesforce/plugin-org",
1300
1370
  "pluginType": "core",
1301
1371
  "strict": true,
1302
- "summary": "Delete a scratch org.",
1372
+ "summary": "Prevent Salesforce CLI from tracking changes in your source files between your project and an org.",
1303
1373
  "enableJsonFlag": true,
1304
1374
  "isESM": true,
1305
1375
  "relativePath": [
1306
1376
  "lib",
1307
1377
  "commands",
1308
1378
  "org",
1309
- "delete",
1310
- "scratch.js"
1311
- ],
1312
- "aliasPermutations": [
1313
- "env:delete:scratch",
1314
- "delete:env:scratch",
1315
- "delete:scratch:env",
1316
- "env:scratch:delete",
1317
- "scratch:env:delete",
1318
- "scratch:delete:env"
1379
+ "disable",
1380
+ "tracking.js"
1319
1381
  ],
1382
+ "aliasPermutations": [],
1320
1383
  "permutations": [
1321
- "org:delete:scratch",
1322
- "delete:org:scratch",
1323
- "delete:scratch:org",
1324
- "org:scratch:delete",
1325
- "scratch:org:delete",
1326
- "scratch:delete:org"
1384
+ "org:disable:tracking",
1385
+ "disable:org:tracking",
1386
+ "disable:tracking:org",
1387
+ "org:tracking:disable",
1388
+ "tracking:org:disable",
1389
+ "tracking:disable:org"
1327
1390
  ]
1328
1391
  },
1329
- "org:disable:tracking": {
1392
+ "org:enable:tracking": {
1330
1393
  "aliases": [],
1331
1394
  "args": {},
1332
- "description": "Disabling source tracking has no direct effect on the org, it affects only your local environment. Specifically, Salesforce CLI stores the setting in the org's local configuration file so that no source tracking operations are executed when working with the org.",
1395
+ "description": "Enabling source tracking has no direct effect on the org, it affects only your local environment. Specifically, Salesforce CLI stores the setting in the org's local configuration file so that source tracking operations are executed when working with the org.\n\nThis command throws an error if the org doesn't support tracking. Examples of orgs that don't support source tracking include Developer Edition orgs, production orgs, Partial Copy sandboxes, and Full sandboxes.",
1333
1396
  "examples": [
1334
- "Disable source tracking for an org with alias \"myscratch\":\n<%= config.bin %> <%= command.id %> --target-org myscratch",
1335
- "Disable source tracking for an org using a username:\n<%= config.bin %> <%= command.id %> --target-org you@example.com",
1336
- "Disable source tracking for your default org:\n<%= config.bin %> <%= command.id %>"
1397
+ "Enable source tracking for an org with alias \"myscratch\":\n<%= config.bin %> <%= command.id %> --target-org myscratch",
1398
+ "Enable source tracking for an org using a username:\n<%= config.bin %> <%= command.id %> --target-org you@example.com",
1399
+ "Enable source tracking for your default org:\n<%= config.bin %> <%= command.id %>"
1337
1400
  ],
1338
1401
  "flags": {
1339
1402
  "json": {
@@ -1364,29 +1427,29 @@
1364
1427
  },
1365
1428
  "hasDynamicHelp": true,
1366
1429
  "hiddenAliases": [],
1367
- "id": "org:disable:tracking",
1430
+ "id": "org:enable:tracking",
1368
1431
  "pluginAlias": "@salesforce/plugin-org",
1369
1432
  "pluginName": "@salesforce/plugin-org",
1370
1433
  "pluginType": "core",
1371
1434
  "strict": true,
1372
- "summary": "Prevent Salesforce CLI from tracking changes in your source files between your project and an org.",
1435
+ "summary": "Allow Salesforce CLI to track changes in your source files between your project and an org.",
1373
1436
  "enableJsonFlag": true,
1374
1437
  "isESM": true,
1375
1438
  "relativePath": [
1376
1439
  "lib",
1377
1440
  "commands",
1378
1441
  "org",
1379
- "disable",
1442
+ "enable",
1380
1443
  "tracking.js"
1381
1444
  ],
1382
1445
  "aliasPermutations": [],
1383
1446
  "permutations": [
1384
- "org:disable:tracking",
1385
- "disable:org:tracking",
1386
- "disable:tracking:org",
1387
- "org:tracking:disable",
1388
- "tracking:org:disable",
1389
- "tracking:disable:org"
1447
+ "org:enable:tracking",
1448
+ "enable:org:tracking",
1449
+ "enable:tracking:org",
1450
+ "org:tracking:enable",
1451
+ "tracking:org:enable",
1452
+ "tracking:enable:org"
1390
1453
  ]
1391
1454
  },
1392
1455
  "org:list:metadata-types": {
@@ -1648,69 +1711,6 @@
1648
1711
  "metadata:list:org"
1649
1712
  ]
1650
1713
  },
1651
- "org:enable:tracking": {
1652
- "aliases": [],
1653
- "args": {},
1654
- "description": "Enabling source tracking has no direct effect on the org, it affects only your local environment. Specifically, Salesforce CLI stores the setting in the org's local configuration file so that source tracking operations are executed when working with the org.\n\nThis command throws an error if the org doesn't support tracking. Examples of orgs that don't support source tracking include Developer Edition orgs, production orgs, Partial Copy sandboxes, and Full sandboxes.",
1655
- "examples": [
1656
- "Enable source tracking for an org with alias \"myscratch\":\n<%= config.bin %> <%= command.id %> --target-org myscratch",
1657
- "Enable source tracking for an org using a username:\n<%= config.bin %> <%= command.id %> --target-org you@example.com",
1658
- "Enable source tracking for your default org:\n<%= config.bin %> <%= command.id %>"
1659
- ],
1660
- "flags": {
1661
- "json": {
1662
- "description": "Format output as json.",
1663
- "helpGroup": "GLOBAL",
1664
- "name": "json",
1665
- "allowNo": false,
1666
- "type": "boolean"
1667
- },
1668
- "flags-dir": {
1669
- "helpGroup": "GLOBAL",
1670
- "name": "flags-dir",
1671
- "summary": "Import flag values from a directory.",
1672
- "hasDynamicHelp": false,
1673
- "multiple": false,
1674
- "type": "option"
1675
- },
1676
- "target-org": {
1677
- "char": "o",
1678
- "name": "target-org",
1679
- "noCacheDefault": true,
1680
- "required": true,
1681
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
1682
- "hasDynamicHelp": true,
1683
- "multiple": false,
1684
- "type": "option"
1685
- }
1686
- },
1687
- "hasDynamicHelp": true,
1688
- "hiddenAliases": [],
1689
- "id": "org:enable:tracking",
1690
- "pluginAlias": "@salesforce/plugin-org",
1691
- "pluginName": "@salesforce/plugin-org",
1692
- "pluginType": "core",
1693
- "strict": true,
1694
- "summary": "Allow Salesforce CLI to track changes in your source files between your project and an org.",
1695
- "enableJsonFlag": true,
1696
- "isESM": true,
1697
- "relativePath": [
1698
- "lib",
1699
- "commands",
1700
- "org",
1701
- "enable",
1702
- "tracking.js"
1703
- ],
1704
- "aliasPermutations": [],
1705
- "permutations": [
1706
- "org:enable:tracking",
1707
- "enable:org:tracking",
1708
- "enable:tracking:org",
1709
- "org:tracking:enable",
1710
- "tracking:org:enable",
1711
- "tracking:enable:org"
1712
- ]
1713
- },
1714
1714
  "org:open:agent": {
1715
1715
  "aliases": [],
1716
1716
  "args": {},
@@ -2309,5 +2309,5 @@
2309
2309
  ]
2310
2310
  }
2311
2311
  },
2312
- "version": "5.11.20"
2312
+ "version": "5.11.22"
2313
2313
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-org",
3
3
  "description": "Commands to interact with Salesforce orgs",
4
- "version": "5.11.20",
4
+ "version": "5.11.22",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "enableO11y": true,
@@ -9,10 +9,10 @@
9
9
  "dependencies": {
10
10
  "@oclif/core": "^4.11.14",
11
11
  "@oclif/multi-stage-output": "^0.8.44",
12
- "@salesforce/core": "^8.32.2",
12
+ "@salesforce/core": "^8.32.4",
13
13
  "@salesforce/kit": "^3.2.4",
14
14
  "@salesforce/sf-plugins-core": "^12.2.26",
15
- "@salesforce/source-deploy-retrieve": "^12.37.1",
15
+ "@salesforce/source-deploy-retrieve": "^12.37.2",
16
16
  "@salesforce/ts-types": "^2.0.12",
17
17
  "ansis": "^3.16.0",
18
18
  "change-case": "^5.4.4",
@@ -233,7 +233,7 @@
233
233
  "exports": "./lib/index.js",
234
234
  "type": "module",
235
235
  "sfdx": {
236
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/5.11.20.crt",
237
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/5.11.20.sig"
236
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/5.11.22.crt",
237
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/5.11.22.sig"
238
238
  }
239
239
  }