@salesforce/plugin-deploy-retrieve 3.15.1 → 3.15.2

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 +17 -17
  2. package/oclif.manifest.json +428 -428
  3. package/package.json +5 -5
package/README.md CHANGED
@@ -141,7 +141,7 @@ FLAG DESCRIPTIONS
141
141
  If you specify this parameter, don’t specify --metadata or --source-dir.
142
142
  ```
143
143
 
144
- _See code: [src/commands/project/convert/mdapi.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.15.1/src/commands/project/convert/mdapi.ts)_
144
+ _See code: [src/commands/project/convert/mdapi.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.15.2/src/commands/project/convert/mdapi.ts)_
145
145
 
146
146
  ## `sf project convert source`
147
147
 
@@ -214,7 +214,7 @@ FLAG DESCRIPTIONS
214
214
  Override the api version used for api requests made by this command
215
215
  ```
216
216
 
217
- _See code: [src/commands/project/convert/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.15.1/src/commands/project/convert/source.ts)_
217
+ _See code: [src/commands/project/convert/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.15.2/src/commands/project/convert/source.ts)_
218
218
 
219
219
  ## `sf project convert source-behavior`
220
220
 
@@ -272,7 +272,7 @@ EXAMPLES
272
272
  $ sf project convert source-behavior --behavior decomposePermissionSetBeta --dry-run --preserve-temp-dir
273
273
  ```
274
274
 
275
- _See code: [src/commands/project/convert/source-behavior.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.15.1/src/commands/project/convert/source-behavior.ts)_
275
+ _See code: [src/commands/project/convert/source-behavior.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.15.2/src/commands/project/convert/source-behavior.ts)_
276
276
 
277
277
  ## `sf project delete source`
278
278
 
@@ -412,7 +412,7 @@ FLAG DESCRIPTIONS
412
412
  - Separate the test names with spaces: --tests Test1 Test2 "Test With Space"
413
413
  ```
414
414
 
415
- _See code: [src/commands/project/delete/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.15.1/src/commands/project/delete/source.ts)_
415
+ _See code: [src/commands/project/delete/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.15.2/src/commands/project/delete/source.ts)_
416
416
 
417
417
  ## `sf project delete tracking`
418
418
 
@@ -449,7 +449,7 @@ EXAMPLES
449
449
  $ sf project delete tracking --target-org my-scratch
450
450
  ```
451
451
 
452
- _See code: [src/commands/project/delete/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.15.1/src/commands/project/delete/tracking.ts)_
452
+ _See code: [src/commands/project/delete/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.15.2/src/commands/project/delete/tracking.ts)_
453
453
 
454
454
  ## `sf project deploy cancel`
455
455
 
@@ -521,7 +521,7 @@ FLAG DESCRIPTIONS
521
521
  project deploy report".
522
522
  ```
523
523
 
524
- _See code: [src/commands/project/deploy/cancel.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.15.1/src/commands/project/deploy/cancel.ts)_
524
+ _See code: [src/commands/project/deploy/cancel.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.15.2/src/commands/project/deploy/cancel.ts)_
525
525
 
526
526
  ## `sf project deploy preview`
527
527
 
@@ -604,7 +604,7 @@ FLAG DESCRIPTIONS
604
604
  All child components are included. If you specify this flag, don’t specify --metadata or --source-dir.
605
605
  ```
606
606
 
607
- _See code: [src/commands/project/deploy/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.15.1/src/commands/project/deploy/preview.ts)_
607
+ _See code: [src/commands/project/deploy/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.15.2/src/commands/project/deploy/preview.ts)_
608
608
 
609
609
  ## `sf project deploy quick`
610
610
 
@@ -688,7 +688,7 @@ FLAG DESCRIPTIONS
688
688
  deploy report".
689
689
  ```
690
690
 
691
- _See code: [src/commands/project/deploy/quick.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.15.1/src/commands/project/deploy/quick.ts)_
691
+ _See code: [src/commands/project/deploy/quick.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.15.2/src/commands/project/deploy/quick.ts)_
692
692
 
693
693
  ## `sf project deploy report`
694
694
 
@@ -780,7 +780,7 @@ FLAG DESCRIPTIONS
780
780
  --coverage-formatters lcov --coverage-formatters clover
781
781
  ```
782
782
 
783
- _See code: [src/commands/project/deploy/report.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.15.1/src/commands/project/deploy/report.ts)_
783
+ _See code: [src/commands/project/deploy/report.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.15.2/src/commands/project/deploy/report.ts)_
784
784
 
785
785
  ## `sf project deploy resume`
786
786
 
@@ -865,7 +865,7 @@ FLAG DESCRIPTIONS
865
865
  --coverage-formatters lcov --coverage-formatters clover
866
866
  ```
867
867
 
868
- _See code: [src/commands/project/deploy/resume.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.15.1/src/commands/project/deploy/resume.ts)_
868
+ _See code: [src/commands/project/deploy/resume.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.15.2/src/commands/project/deploy/resume.ts)_
869
869
 
870
870
  ## `sf project deploy start`
871
871
 
@@ -1101,7 +1101,7 @@ FLAG DESCRIPTIONS
1101
1101
  --coverage-formatters lcov --coverage-formatters clover
1102
1102
  ```
1103
1103
 
1104
- _See code: [src/commands/project/deploy/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.15.1/src/commands/project/deploy/start.ts)_
1104
+ _See code: [src/commands/project/deploy/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.15.2/src/commands/project/deploy/start.ts)_
1105
1105
 
1106
1106
  ## `sf project deploy validate`
1107
1107
 
@@ -1274,7 +1274,7 @@ FLAG DESCRIPTIONS
1274
1274
  --coverage-formatters lcov --coverage-formatters clover
1275
1275
  ```
1276
1276
 
1277
- _See code: [src/commands/project/deploy/validate.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.15.1/src/commands/project/deploy/validate.ts)_
1277
+ _See code: [src/commands/project/deploy/validate.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.15.2/src/commands/project/deploy/validate.ts)_
1278
1278
 
1279
1279
  ## `sf project generate manifest`
1280
1280
 
@@ -1351,7 +1351,7 @@ EXAMPLES
1351
1351
  $ sf project generate manifest --from-org test@myorg.com --include-packages unlocked
1352
1352
  ```
1353
1353
 
1354
- _See code: [src/commands/project/generate/manifest.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.15.1/src/commands/project/generate/manifest.ts)_
1354
+ _See code: [src/commands/project/generate/manifest.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.15.2/src/commands/project/generate/manifest.ts)_
1355
1355
 
1356
1356
  ## `sf project list ignored`
1357
1357
 
@@ -1393,7 +1393,7 @@ EXAMPLES
1393
1393
  $ sf project list ignored --source-dir package.xml
1394
1394
  ```
1395
1395
 
1396
- _See code: [src/commands/project/list/ignored.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.15.1/src/commands/project/list/ignored.ts)_
1396
+ _See code: [src/commands/project/list/ignored.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.15.2/src/commands/project/list/ignored.ts)_
1397
1397
 
1398
1398
  ## `sf project reset tracking`
1399
1399
 
@@ -1442,7 +1442,7 @@ EXAMPLES
1442
1442
  $ sf project reset tracking --revision 30
1443
1443
  ```
1444
1444
 
1445
- _See code: [src/commands/project/reset/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.15.1/src/commands/project/reset/tracking.ts)_
1445
+ _See code: [src/commands/project/reset/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.15.2/src/commands/project/reset/tracking.ts)_
1446
1446
 
1447
1447
  ## `sf project retrieve preview`
1448
1448
 
@@ -1496,7 +1496,7 @@ FLAG DESCRIPTIONS
1496
1496
  production orgs.
1497
1497
  ```
1498
1498
 
1499
- _See code: [src/commands/project/retrieve/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.15.1/src/commands/project/retrieve/preview.ts)_
1499
+ _See code: [src/commands/project/retrieve/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.15.2/src/commands/project/retrieve/preview.ts)_
1500
1500
 
1501
1501
  ## `sf project retrieve start`
1502
1502
 
@@ -1665,6 +1665,6 @@ FLAG DESCRIPTIONS
1665
1665
  If you specify this parameter, don’t specify --metadata or --source-dir.
1666
1666
  ```
1667
1667
 
1668
- _See code: [src/commands/project/retrieve/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.15.1/src/commands/project/retrieve/start.ts)_
1668
+ _See code: [src/commands/project/retrieve/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.15.2/src/commands/project/retrieve/start.ts)_
1669
1669
 
1670
1670
  <!-- commandsstop -->
@@ -404,18 +404,16 @@
404
404
  "source:convert:project"
405
405
  ]
406
406
  },
407
- "project:delete:source": {
407
+ "project:deploy:cancel": {
408
408
  "aliases": [
409
- "force:source:delete"
409
+ "deploy:metadata:cancel"
410
410
  ],
411
411
  "args": {},
412
412
  "deprecateAliases": true,
413
- "description": "Use this command to delete components from orgs that don’t have source tracking. To remove deleted items from orgs that have source tracking enabled, \"<%= config.bin %> project deploy start\".\n\nWhen you run this command, both the local source file and the metadata component in the org are deleted.\n\nTo delete multiple metadata components, either set multiple --metadata <name> flags or a single --metadata flag with multiple names separated by spaces. Enclose names that contain spaces in one set of double quotes. The same syntax applies to --manifest and --source-dir.",
413
+ "description": "Use this command to cancel a deploy operation that hasn't yet completed in the org. Deploy operations include standard deploys, quick deploys, deploy validations, and deploy cancellations.\n\nRun this command by either passing it a job ID or specifying the --use-most-recent flag to use the job ID of the most recent deploy operation.",
414
414
  "examples": [
415
- "Delete all local Apex source files and all Apex classes from the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --metadata ApexClass --target-org my-scratch",
416
- "Delete a specific Apex class and a Profile that has a space in it from your default org; don't prompt for confirmation:\n<%= config.bin %> <%= command.id %> --metadata ApexClass:MyFabulousApexClass --metadata \"Profile: My Profile\" --no-prompt",
417
- "Run the tests that aren’t in any managed packages as part of the deletion; if the delete succeeds, and the org has source-tracking enabled, update the source tracking information:\n<%= config.bin %> <%= command.id %> --metadata ApexClass --test-level RunLocalTests --track-source",
418
- "Delete the Apex source files in a directory and the corresponding components from your default org:\n<%= config.bin %> <%= command.id %> --source-dir force-app/main/default/classes"
415
+ "Cancel a deploy operation using a job ID:\n<%= config.bin %> <%= command.id %> --job-id 0Af0x000017yLUFCA2",
416
+ "Cancel the most recent deploy operation:\n<%= config.bin %> <%= command.id %> --use-most-recent"
419
417
  ],
420
418
  "flags": {
421
419
  "json": {
@@ -433,206 +431,103 @@
433
431
  "multiple": false,
434
432
  "type": "option"
435
433
  },
436
- "api-version": {
437
- "aliases": [
438
- "apiversion"
439
- ],
440
- "deprecateAliases": true,
441
- "description": "Override the api version used for api requests made by this command",
442
- "name": "api-version",
443
- "hasDynamicHelp": false,
444
- "multiple": false,
445
- "type": "option"
446
- },
447
- "loglevel": {
448
- "deprecated": {
449
- "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
450
- },
451
- "hidden": true,
452
- "name": "loglevel",
453
- "hasDynamicHelp": false,
454
- "multiple": false,
455
- "type": "option"
456
- },
457
434
  "target-org": {
458
- "aliases": [
459
- "targetusername",
460
- "u"
461
- ],
462
435
  "char": "o",
463
- "deprecateAliases": true,
464
436
  "name": "target-org",
465
437
  "noCacheDefault": true,
466
- "required": true,
467
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
438
+ "summary": "Username or alias of the target org.",
468
439
  "hasDynamicHelp": true,
469
440
  "multiple": false,
470
441
  "type": "option"
471
442
  },
472
- "check-only": {
473
- "aliases": [
474
- "checkonly"
443
+ "async": {
444
+ "description": "The command immediately returns the control of the terminal to you. This way, you can continue to use the CLI. To resume watching the cancellation, run \"<%= config.bin %> project deploy resume\". To check the status of the cancellation, run \"<%= config.bin %> project deploy report\".",
445
+ "exclusive": [
446
+ "wait"
475
447
  ],
476
- "char": "c",
477
- "deprecateAliases": true,
478
- "description": "IMPORTANT: Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.\n\nValidates the deleted metadata and runs all Apex tests, but prevents the deletion from being saved to the org.\n\nIf you change a field type from Master-Detail to Lookup or vice versa, that change isn’t supported when using the --check-only parameter to test a deletion (validation). This kind of change isn’t supported for test deletions to avoid the risk of data loss or corruption. If a change that isn’t supported for test deletions is included in a deletion package, the test deletion fails and issues an error.\n\nIf your deletion package changes a field type from Master-Detail to Lookup or vice versa, you can still validate the changes prior to deploying to Production by performing a full deletion to another test Sandbox. A full deletion includes a validation of the changes as part of the deletion process.\n\nNote: A Metadata API deletion that includes Master-Detail relationships deletes all detail records in the Recycle Bin in the following cases.\n\n 1. For a deletion with a new Master-Detail field, soft delete (send to the Recycle Bin) all detail records before proceeding to delete the Master-Detail field, or the deletion fails. During the deletion, detail records are permanently deleted from the Recycle Bin and cannot be recovered.\n\n 2. For a deletion that converts a Lookup field relationship to a Master-Detail relationship, detail records must reference a master record or be soft-deleted (sent to the Recycle Bin) for the deletion to succeed. However, a successful deletion permanently deletes any detail records in the Recycle Bin.",
479
- "name": "check-only",
480
- "summary": "Validate delete command but don't delete anything from the org or the local project.",
448
+ "name": "async",
449
+ "summary": "Run the command asynchronously.",
481
450
  "allowNo": false,
482
451
  "type": "boolean"
483
452
  },
484
- "wait": {
485
- "char": "w",
486
- "description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you.",
487
- "name": "wait",
488
- "summary": "Number of minutes to wait for the command to finish.",
489
- "hasDynamicHelp": true,
490
- "multiple": false,
491
- "type": "option"
492
- },
493
- "tests": {
494
- "description": "If a test name contains a space, enclose it in double quotes.\nFor multiple test names, use one of the following formats:\n\n- Repeat the flag for multiple test names: --tests Test1 --tests Test2 --tests \"Test With Space\"\n- Separate the test names with spaces: --tests Test1 Test2 \"Test With Space\"",
495
- "helpGroup": "Test",
496
- "name": "tests",
497
- "summary": "Apex tests to run when --test-level is RunSpecifiedTests.",
498
- "hasDynamicHelp": false,
499
- "multiple": true,
500
- "type": "option"
501
- },
502
- "test-level": {
503
- "aliases": [
504
- "testlevel"
505
- ],
506
- "char": "l",
507
- "deprecateAliases": true,
508
- "description": "Valid values are:\n\n- NoTestRun — No tests are run. This test level applies only to deployments to development environments, such as sandbox, Developer Edition, or trial orgs. This test level is the default for development environments.\n\n- RunSpecifiedTests — Runs only the tests that you specify with the --tests flag. Code coverage requirements differ from the default coverage requirements when using this test level. Executed tests must comprise a minimum of 75% code coverage for each class and trigger in the deployment package. This coverage is computed for each class and trigger individually and is different than the overall coverage percentage.\n\n- RunLocalTests — All tests in your org are run, except the ones that originate from installed managed and unlocked packages. This test level is the default for production deployments that include Apex classes or triggers.\n\n- RunAllTestsInOrg — All tests in your org are run, including tests of managed packages.\n\nIf you don’t specify a test level, the default behavior depends on the contents of your deployment package and target org. For more information, see “Running Tests in a Deployment” in the Metadata API Developer Guide.",
509
- "helpGroup": "Test",
510
- "name": "test-level",
511
- "summary": "Deployment Apex testing level.",
453
+ "job-id": {
454
+ "char": "i",
455
+ "description": "These commands return a job ID if they time out or you specified the --async flag:\n\n- <%= config.bin %> project deploy start\n- <%= config.bin %> project deploy validate\n- <%= config.bin %> project deploy quick\n- <%= config.bin %> project deploy cancel\n\nThe job ID is valid for 10 days from when you started the deploy operation.",
456
+ "name": "job-id",
457
+ "summary": "Job ID of the deploy operation you want to cancel.",
512
458
  "hasDynamicHelp": false,
513
459
  "multiple": false,
514
- "options": [
515
- "NoTestRun",
516
- "RunSpecifiedTests",
517
- "RunLocalTests",
518
- "RunAllTestsInOrg"
519
- ],
520
460
  "type": "option"
521
461
  },
522
- "no-prompt": {
523
- "aliases": [
524
- "noprompt"
525
- ],
462
+ "use-most-recent": {
526
463
  "char": "r",
527
- "deprecateAliases": true,
528
- "name": "no-prompt",
529
- "summary": "Don't prompt for delete confirmation.",
464
+ "description": "For performance reasons, this flag uses job IDs for deploy operations that started only in the past 3 days or less. If your most recent deploy operations was more than 3 days ago, this flag won't find a job ID.",
465
+ "name": "use-most-recent",
466
+ "summary": "Use the job ID of the most recent deploy operation.",
530
467
  "allowNo": false,
531
468
  "type": "boolean"
532
469
  },
533
- "metadata": {
534
- "char": "m",
535
- "description": "If you specify this parameter, don’t specify --source-dir.",
536
- "name": "metadata",
537
- "summary": "Metadata components to delete.",
538
- "delimiter": ",",
539
- "hasDynamicHelp": false,
540
- "multiple": true,
541
- "type": "option"
542
- },
543
- "source-dir": {
544
- "aliases": [
545
- "sourcepath"
546
- ],
547
- "char": "p",
548
- "deprecateAliases": true,
549
- "description": "The supplied paths can be a single file (in which case the operation is applied to only one file) or a folder (in which case the operation is applied to all metadata types in the directory and its sub-directories).\n\nIf you specify this parameter, don’t specify --metadata.",
550
- "name": "source-dir",
551
- "summary": "Source file paths to delete.",
552
- "delimiter": ",",
553
- "hasDynamicHelp": false,
554
- "multiple": true,
555
- "type": "option"
556
- },
557
- "track-source": {
558
- "aliases": [
559
- "tracksource"
560
- ],
561
- "char": "t",
562
- "deprecateAliases": true,
470
+ "wait": {
471
+ "char": "w",
472
+ "description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you. To resume watching the cancellation, run \"<%= config.bin %> project deploy resume\". To check the status of the cancellation, run \"<%= config.bin %> project deploy report\".",
563
473
  "exclusive": [
564
- "check-only"
565
- ],
566
- "name": "track-source",
567
- "summary": "If the delete succeeds, update the source tracking information.",
568
- "allowNo": false,
569
- "type": "boolean"
570
- },
571
- "force-overwrite": {
572
- "aliases": [
573
- "forceoverwrite"
574
- ],
575
- "char": "f",
576
- "dependsOn": [
577
- "track-source"
474
+ "async"
578
475
  ],
579
- "deprecateAliases": true,
580
- "name": "force-overwrite",
581
- "summary": "Ignore conflict warnings and overwrite changes to the org.",
582
- "allowNo": false,
583
- "type": "boolean"
584
- },
585
- "verbose": {
586
- "name": "verbose",
587
- "summary": "Verbose output of the delete result.",
588
- "allowNo": false,
589
- "type": "boolean"
476
+ "name": "wait",
477
+ "summary": "Number of minutes to wait for the command to complete and display results.",
478
+ "hasDynamicHelp": true,
479
+ "helpValue": "<minutes>",
480
+ "multiple": false,
481
+ "type": "option"
590
482
  }
591
483
  },
592
484
  "hasDynamicHelp": true,
593
485
  "hiddenAliases": [],
594
- "id": "project:delete:source",
486
+ "id": "project:deploy:cancel",
595
487
  "pluginAlias": "@salesforce/plugin-deploy-retrieve",
596
488
  "pluginName": "@salesforce/plugin-deploy-retrieve",
597
489
  "pluginType": "core",
598
490
  "strict": true,
599
- "summary": "Delete source from your project and from a non-source-tracked org.",
491
+ "summary": "Cancel a deploy operation.",
600
492
  "enableJsonFlag": true,
601
- "requiresProject": true,
602
493
  "isESM": true,
603
494
  "relativePath": [
604
495
  "lib",
605
496
  "commands",
606
497
  "project",
607
- "delete",
608
- "source.js"
498
+ "deploy",
499
+ "cancel.js"
609
500
  ],
610
501
  "aliasPermutations": [
611
- "force:source:delete",
612
- "source:force:delete",
613
- "source:delete:force",
614
- "force:delete:source",
615
- "delete:force:source",
616
- "delete:source:force"
502
+ "deploy:metadata:cancel",
503
+ "metadata:deploy:cancel",
504
+ "metadata:cancel:deploy",
505
+ "deploy:cancel:metadata",
506
+ "cancel:deploy:metadata",
507
+ "cancel:metadata:deploy"
617
508
  ],
618
509
  "permutations": [
619
- "project:delete:source",
620
- "delete:project:source",
621
- "delete:source:project",
622
- "project:source:delete",
623
- "source:project:delete",
624
- "source:delete:project"
510
+ "project:deploy:cancel",
511
+ "deploy:project:cancel",
512
+ "deploy:cancel:project",
513
+ "project:cancel:deploy",
514
+ "cancel:project:deploy",
515
+ "cancel:deploy:project"
625
516
  ]
626
517
  },
627
- "project:delete:tracking": {
518
+ "project:deploy:preview": {
628
519
  "aliases": [
629
- "force:source:tracking:clear"
520
+ "deploy:metadata:preview"
630
521
  ],
631
522
  "args": {},
632
523
  "deprecateAliases": true,
633
- "description": "WARNING: This command deletes or overwrites all existing source tracking files. Use with extreme caution.\n\nDeletes all local source tracking information. When you next run 'project deploy preview', Salesforce CLI displays all local and remote files as changed, and any files with the same name are listed as conflicts.",
524
+ "description": "You must run this command from within a project.\n\nThe command outputs a table that describes what will happen if you run the \"<%= config.bin %> project deploy start\" command. The table lists the metadata components that will be deployed and deleted. The table also lists the current conflicts between files in your local project and components in the org. Finally, the table lists the files that won't be deployed because they're included in your .forceignore file.\n\nIf your org allows source tracking, then this command displays potential conflicts between the org and your local project. Some orgs, such as production org, never allow source tracking. Source tracking is enabled by default on scratch and sandbox orgs; you can disable source tracking when you create the orgs by specifying the --no-track-source flag on the \"<%= config.bin %> org create scratch|sandbox\" commands.\n\nTo preview the deployment of multiple metadata components, either set multiple --metadata <name> flags or a single --metadata flag with multiple names separated by spaces. Enclose names that contain spaces in one set of double quotes. The same syntax applies to --manifest and --source-dir.",
634
525
  "examples": [
635
- "Delete local source tracking for the org with alias \"my-scratch\":\n$ <%= config.bin %> <%= command.id %> --target-org my-scratch"
526
+ "NOTE: The commands to preview a deployment and actually deploy it use similar flags. We provide a few preview examples here, but see the help for \"<%= config.bin %> project deploy start\" for more examples that you can adapt for previewing.",
527
+ "Preview the deployment of source files in a directory, such as force-app, to your default org:\n<%= config.bin %> <%= command.id %> --source-dir force-app",
528
+ "Preview the deployment of all Apex classes to an org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --metadata ApexClass --target-org my-scratch",
529
+ "Preview deployment of a specific Apex class:\n<%= config.bin %> <%= command.id %> --metadata ApexClass:MyApexClass",
530
+ "Preview deployment of all components listed in a manifest:\n<%= config.bin %> <%= command.id %> --manifest path/to/package.xml"
636
531
  ],
637
532
  "flags": {
638
533
  "json": {
@@ -650,279 +545,37 @@
650
545
  "multiple": false,
651
546
  "type": "option"
652
547
  },
653
- "api-version": {
654
- "aliases": [
655
- "apiversion"
548
+ "ignore-conflicts": {
549
+ "char": "c",
550
+ "description": "This flag applies only to orgs that allow source tracking. It has no effect on orgs that don't allow it, such as production orgs.",
551
+ "name": "ignore-conflicts",
552
+ "summary": "Don't display conflicts in preview of the deployment.",
553
+ "allowNo": false,
554
+ "type": "boolean"
555
+ },
556
+ "manifest": {
557
+ "char": "x",
558
+ "description": "All child components are included. If you specify this flag, don’t specify --metadata or --source-dir.",
559
+ "exclusive": [
560
+ "source-dir",
561
+ "metadata"
656
562
  ],
657
- "deprecateAliases": true,
658
- "description": "Override the api version used for api requests made by this command",
659
- "name": "api-version",
563
+ "name": "manifest",
564
+ "summary": "Full file path for manifest (package.xml) of components to preview.",
660
565
  "hasDynamicHelp": false,
661
566
  "multiple": false,
662
567
  "type": "option"
663
568
  },
664
- "loglevel": {
665
- "deprecated": {
666
- "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
667
- },
668
- "hidden": true,
669
- "name": "loglevel",
569
+ "metadata": {
570
+ "char": "m",
571
+ "exclusive": [
572
+ "manifest",
573
+ "source-dir"
574
+ ],
575
+ "name": "metadata",
576
+ "summary": "Metadata component names to preview.",
670
577
  "hasDynamicHelp": false,
671
- "multiple": false,
672
- "type": "option"
673
- },
674
- "target-org": {
675
- "aliases": [
676
- "targetusername",
677
- "u"
678
- ],
679
- "char": "o",
680
- "deprecateAliases": true,
681
- "name": "target-org",
682
- "noCacheDefault": true,
683
- "required": true,
684
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
685
- "hasDynamicHelp": true,
686
- "multiple": false,
687
- "type": "option"
688
- },
689
- "no-prompt": {
690
- "aliases": [
691
- "noprompt"
692
- ],
693
- "char": "p",
694
- "deprecateAliases": true,
695
- "name": "no-prompt",
696
- "summary": "Don't prompt for source tracking override confirmation.",
697
- "allowNo": false,
698
- "type": "boolean"
699
- }
700
- },
701
- "hasDynamicHelp": true,
702
- "hiddenAliases": [],
703
- "id": "project:delete:tracking",
704
- "pluginAlias": "@salesforce/plugin-deploy-retrieve",
705
- "pluginName": "@salesforce/plugin-deploy-retrieve",
706
- "pluginType": "core",
707
- "strict": true,
708
- "summary": "Delete all local source tracking information.",
709
- "enableJsonFlag": true,
710
- "requiresProject": true,
711
- "isESM": true,
712
- "relativePath": [
713
- "lib",
714
- "commands",
715
- "project",
716
- "delete",
717
- "tracking.js"
718
- ],
719
- "aliasPermutations": [
720
- "force:source:tracking:clear",
721
- "source:force:tracking:clear",
722
- "source:tracking:force:clear",
723
- "source:tracking:clear:force",
724
- "force:tracking:source:clear",
725
- "tracking:force:source:clear",
726
- "tracking:source:force:clear",
727
- "tracking:source:clear:force",
728
- "force:tracking:clear:source",
729
- "tracking:force:clear:source",
730
- "tracking:clear:force:source",
731
- "tracking:clear:source:force",
732
- "force:source:clear:tracking",
733
- "source:force:clear:tracking",
734
- "source:clear:force:tracking",
735
- "source:clear:tracking:force",
736
- "force:clear:source:tracking",
737
- "clear:force:source:tracking",
738
- "clear:source:force:tracking",
739
- "clear:source:tracking:force",
740
- "force:clear:tracking:source",
741
- "clear:force:tracking:source",
742
- "clear:tracking:force:source",
743
- "clear:tracking:source:force"
744
- ],
745
- "permutations": [
746
- "project:delete:tracking",
747
- "delete:project:tracking",
748
- "delete:tracking:project",
749
- "project:tracking:delete",
750
- "tracking:project:delete",
751
- "tracking:delete:project"
752
- ]
753
- },
754
- "project:deploy:cancel": {
755
- "aliases": [
756
- "deploy:metadata:cancel"
757
- ],
758
- "args": {},
759
- "deprecateAliases": true,
760
- "description": "Use this command to cancel a deploy operation that hasn't yet completed in the org. Deploy operations include standard deploys, quick deploys, deploy validations, and deploy cancellations.\n\nRun this command by either passing it a job ID or specifying the --use-most-recent flag to use the job ID of the most recent deploy operation.",
761
- "examples": [
762
- "Cancel a deploy operation using a job ID:\n<%= config.bin %> <%= command.id %> --job-id 0Af0x000017yLUFCA2",
763
- "Cancel the most recent deploy operation:\n<%= config.bin %> <%= command.id %> --use-most-recent"
764
- ],
765
- "flags": {
766
- "json": {
767
- "description": "Format output as json.",
768
- "helpGroup": "GLOBAL",
769
- "name": "json",
770
- "allowNo": false,
771
- "type": "boolean"
772
- },
773
- "flags-dir": {
774
- "helpGroup": "GLOBAL",
775
- "name": "flags-dir",
776
- "summary": "Import flag values from a directory.",
777
- "hasDynamicHelp": false,
778
- "multiple": false,
779
- "type": "option"
780
- },
781
- "target-org": {
782
- "char": "o",
783
- "name": "target-org",
784
- "noCacheDefault": true,
785
- "summary": "Username or alias of the target org.",
786
- "hasDynamicHelp": true,
787
- "multiple": false,
788
- "type": "option"
789
- },
790
- "async": {
791
- "description": "The command immediately returns the control of the terminal to you. This way, you can continue to use the CLI. To resume watching the cancellation, run \"<%= config.bin %> project deploy resume\". To check the status of the cancellation, run \"<%= config.bin %> project deploy report\".",
792
- "exclusive": [
793
- "wait"
794
- ],
795
- "name": "async",
796
- "summary": "Run the command asynchronously.",
797
- "allowNo": false,
798
- "type": "boolean"
799
- },
800
- "job-id": {
801
- "char": "i",
802
- "description": "These commands return a job ID if they time out or you specified the --async flag:\n\n- <%= config.bin %> project deploy start\n- <%= config.bin %> project deploy validate\n- <%= config.bin %> project deploy quick\n- <%= config.bin %> project deploy cancel\n\nThe job ID is valid for 10 days from when you started the deploy operation.",
803
- "name": "job-id",
804
- "summary": "Job ID of the deploy operation you want to cancel.",
805
- "hasDynamicHelp": false,
806
- "multiple": false,
807
- "type": "option"
808
- },
809
- "use-most-recent": {
810
- "char": "r",
811
- "description": "For performance reasons, this flag uses job IDs for deploy operations that started only in the past 3 days or less. If your most recent deploy operations was more than 3 days ago, this flag won't find a job ID.",
812
- "name": "use-most-recent",
813
- "summary": "Use the job ID of the most recent deploy operation.",
814
- "allowNo": false,
815
- "type": "boolean"
816
- },
817
- "wait": {
818
- "char": "w",
819
- "description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you. To resume watching the cancellation, run \"<%= config.bin %> project deploy resume\". To check the status of the cancellation, run \"<%= config.bin %> project deploy report\".",
820
- "exclusive": [
821
- "async"
822
- ],
823
- "name": "wait",
824
- "summary": "Number of minutes to wait for the command to complete and display results.",
825
- "hasDynamicHelp": true,
826
- "helpValue": "<minutes>",
827
- "multiple": false,
828
- "type": "option"
829
- }
830
- },
831
- "hasDynamicHelp": true,
832
- "hiddenAliases": [],
833
- "id": "project:deploy:cancel",
834
- "pluginAlias": "@salesforce/plugin-deploy-retrieve",
835
- "pluginName": "@salesforce/plugin-deploy-retrieve",
836
- "pluginType": "core",
837
- "strict": true,
838
- "summary": "Cancel a deploy operation.",
839
- "enableJsonFlag": true,
840
- "isESM": true,
841
- "relativePath": [
842
- "lib",
843
- "commands",
844
- "project",
845
- "deploy",
846
- "cancel.js"
847
- ],
848
- "aliasPermutations": [
849
- "deploy:metadata:cancel",
850
- "metadata:deploy:cancel",
851
- "metadata:cancel:deploy",
852
- "deploy:cancel:metadata",
853
- "cancel:deploy:metadata",
854
- "cancel:metadata:deploy"
855
- ],
856
- "permutations": [
857
- "project:deploy:cancel",
858
- "deploy:project:cancel",
859
- "deploy:cancel:project",
860
- "project:cancel:deploy",
861
- "cancel:project:deploy",
862
- "cancel:deploy:project"
863
- ]
864
- },
865
- "project:deploy:preview": {
866
- "aliases": [
867
- "deploy:metadata:preview"
868
- ],
869
- "args": {},
870
- "deprecateAliases": true,
871
- "description": "You must run this command from within a project.\n\nThe command outputs a table that describes what will happen if you run the \"<%= config.bin %> project deploy start\" command. The table lists the metadata components that will be deployed and deleted. The table also lists the current conflicts between files in your local project and components in the org. Finally, the table lists the files that won't be deployed because they're included in your .forceignore file.\n\nIf your org allows source tracking, then this command displays potential conflicts between the org and your local project. Some orgs, such as production org, never allow source tracking. Source tracking is enabled by default on scratch and sandbox orgs; you can disable source tracking when you create the orgs by specifying the --no-track-source flag on the \"<%= config.bin %> org create scratch|sandbox\" commands.\n\nTo preview the deployment of multiple metadata components, either set multiple --metadata <name> flags or a single --metadata flag with multiple names separated by spaces. Enclose names that contain spaces in one set of double quotes. The same syntax applies to --manifest and --source-dir.",
872
- "examples": [
873
- "NOTE: The commands to preview a deployment and actually deploy it use similar flags. We provide a few preview examples here, but see the help for \"<%= config.bin %> project deploy start\" for more examples that you can adapt for previewing.",
874
- "Preview the deployment of source files in a directory, such as force-app, to your default org:\n<%= config.bin %> <%= command.id %> --source-dir force-app",
875
- "Preview the deployment of all Apex classes to an org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --metadata ApexClass --target-org my-scratch",
876
- "Preview deployment of a specific Apex class:\n<%= config.bin %> <%= command.id %> --metadata ApexClass:MyApexClass",
877
- "Preview deployment of all components listed in a manifest:\n<%= config.bin %> <%= command.id %> --manifest path/to/package.xml"
878
- ],
879
- "flags": {
880
- "json": {
881
- "description": "Format output as json.",
882
- "helpGroup": "GLOBAL",
883
- "name": "json",
884
- "allowNo": false,
885
- "type": "boolean"
886
- },
887
- "flags-dir": {
888
- "helpGroup": "GLOBAL",
889
- "name": "flags-dir",
890
- "summary": "Import flag values from a directory.",
891
- "hasDynamicHelp": false,
892
- "multiple": false,
893
- "type": "option"
894
- },
895
- "ignore-conflicts": {
896
- "char": "c",
897
- "description": "This flag applies only to orgs that allow source tracking. It has no effect on orgs that don't allow it, such as production orgs.",
898
- "name": "ignore-conflicts",
899
- "summary": "Don't display conflicts in preview of the deployment.",
900
- "allowNo": false,
901
- "type": "boolean"
902
- },
903
- "manifest": {
904
- "char": "x",
905
- "description": "All child components are included. If you specify this flag, don’t specify --metadata or --source-dir.",
906
- "exclusive": [
907
- "source-dir",
908
- "metadata"
909
- ],
910
- "name": "manifest",
911
- "summary": "Full file path for manifest (package.xml) of components to preview.",
912
- "hasDynamicHelp": false,
913
- "multiple": false,
914
- "type": "option"
915
- },
916
- "metadata": {
917
- "char": "m",
918
- "exclusive": [
919
- "manifest",
920
- "source-dir"
921
- ],
922
- "name": "metadata",
923
- "summary": "Metadata component names to preview.",
924
- "hasDynamicHelp": false,
925
- "multiple": true,
578
+ "multiple": true,
926
579
  "type": "option"
927
580
  },
928
581
  "source-dir": {
@@ -2246,6 +1899,353 @@
2246
1899
  "validate:deploy:project"
2247
1900
  ]
2248
1901
  },
1902
+ "project:delete:source": {
1903
+ "aliases": [
1904
+ "force:source:delete"
1905
+ ],
1906
+ "args": {},
1907
+ "deprecateAliases": true,
1908
+ "description": "Use this command to delete components from orgs that don’t have source tracking. To remove deleted items from orgs that have source tracking enabled, \"<%= config.bin %> project deploy start\".\n\nWhen you run this command, both the local source file and the metadata component in the org are deleted.\n\nTo delete multiple metadata components, either set multiple --metadata <name> flags or a single --metadata flag with multiple names separated by spaces. Enclose names that contain spaces in one set of double quotes. The same syntax applies to --manifest and --source-dir.",
1909
+ "examples": [
1910
+ "Delete all local Apex source files and all Apex classes from the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --metadata ApexClass --target-org my-scratch",
1911
+ "Delete a specific Apex class and a Profile that has a space in it from your default org; don't prompt for confirmation:\n<%= config.bin %> <%= command.id %> --metadata ApexClass:MyFabulousApexClass --metadata \"Profile: My Profile\" --no-prompt",
1912
+ "Run the tests that aren’t in any managed packages as part of the deletion; if the delete succeeds, and the org has source-tracking enabled, update the source tracking information:\n<%= config.bin %> <%= command.id %> --metadata ApexClass --test-level RunLocalTests --track-source",
1913
+ "Delete the Apex source files in a directory and the corresponding components from your default org:\n<%= config.bin %> <%= command.id %> --source-dir force-app/main/default/classes"
1914
+ ],
1915
+ "flags": {
1916
+ "json": {
1917
+ "description": "Format output as json.",
1918
+ "helpGroup": "GLOBAL",
1919
+ "name": "json",
1920
+ "allowNo": false,
1921
+ "type": "boolean"
1922
+ },
1923
+ "flags-dir": {
1924
+ "helpGroup": "GLOBAL",
1925
+ "name": "flags-dir",
1926
+ "summary": "Import flag values from a directory.",
1927
+ "hasDynamicHelp": false,
1928
+ "multiple": false,
1929
+ "type": "option"
1930
+ },
1931
+ "api-version": {
1932
+ "aliases": [
1933
+ "apiversion"
1934
+ ],
1935
+ "deprecateAliases": true,
1936
+ "description": "Override the api version used for api requests made by this command",
1937
+ "name": "api-version",
1938
+ "hasDynamicHelp": false,
1939
+ "multiple": false,
1940
+ "type": "option"
1941
+ },
1942
+ "loglevel": {
1943
+ "deprecated": {
1944
+ "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
1945
+ },
1946
+ "hidden": true,
1947
+ "name": "loglevel",
1948
+ "hasDynamicHelp": false,
1949
+ "multiple": false,
1950
+ "type": "option"
1951
+ },
1952
+ "target-org": {
1953
+ "aliases": [
1954
+ "targetusername",
1955
+ "u"
1956
+ ],
1957
+ "char": "o",
1958
+ "deprecateAliases": true,
1959
+ "name": "target-org",
1960
+ "noCacheDefault": true,
1961
+ "required": true,
1962
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
1963
+ "hasDynamicHelp": true,
1964
+ "multiple": false,
1965
+ "type": "option"
1966
+ },
1967
+ "check-only": {
1968
+ "aliases": [
1969
+ "checkonly"
1970
+ ],
1971
+ "char": "c",
1972
+ "deprecateAliases": true,
1973
+ "description": "IMPORTANT: Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.\n\nValidates the deleted metadata and runs all Apex tests, but prevents the deletion from being saved to the org.\n\nIf you change a field type from Master-Detail to Lookup or vice versa, that change isn’t supported when using the --check-only parameter to test a deletion (validation). This kind of change isn’t supported for test deletions to avoid the risk of data loss or corruption. If a change that isn’t supported for test deletions is included in a deletion package, the test deletion fails and issues an error.\n\nIf your deletion package changes a field type from Master-Detail to Lookup or vice versa, you can still validate the changes prior to deploying to Production by performing a full deletion to another test Sandbox. A full deletion includes a validation of the changes as part of the deletion process.\n\nNote: A Metadata API deletion that includes Master-Detail relationships deletes all detail records in the Recycle Bin in the following cases.\n\n 1. For a deletion with a new Master-Detail field, soft delete (send to the Recycle Bin) all detail records before proceeding to delete the Master-Detail field, or the deletion fails. During the deletion, detail records are permanently deleted from the Recycle Bin and cannot be recovered.\n\n 2. For a deletion that converts a Lookup field relationship to a Master-Detail relationship, detail records must reference a master record or be soft-deleted (sent to the Recycle Bin) for the deletion to succeed. However, a successful deletion permanently deletes any detail records in the Recycle Bin.",
1974
+ "name": "check-only",
1975
+ "summary": "Validate delete command but don't delete anything from the org or the local project.",
1976
+ "allowNo": false,
1977
+ "type": "boolean"
1978
+ },
1979
+ "wait": {
1980
+ "char": "w",
1981
+ "description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you.",
1982
+ "name": "wait",
1983
+ "summary": "Number of minutes to wait for the command to finish.",
1984
+ "hasDynamicHelp": true,
1985
+ "multiple": false,
1986
+ "type": "option"
1987
+ },
1988
+ "tests": {
1989
+ "description": "If a test name contains a space, enclose it in double quotes.\nFor multiple test names, use one of the following formats:\n\n- Repeat the flag for multiple test names: --tests Test1 --tests Test2 --tests \"Test With Space\"\n- Separate the test names with spaces: --tests Test1 Test2 \"Test With Space\"",
1990
+ "helpGroup": "Test",
1991
+ "name": "tests",
1992
+ "summary": "Apex tests to run when --test-level is RunSpecifiedTests.",
1993
+ "hasDynamicHelp": false,
1994
+ "multiple": true,
1995
+ "type": "option"
1996
+ },
1997
+ "test-level": {
1998
+ "aliases": [
1999
+ "testlevel"
2000
+ ],
2001
+ "char": "l",
2002
+ "deprecateAliases": true,
2003
+ "description": "Valid values are:\n\n- NoTestRun — No tests are run. This test level applies only to deployments to development environments, such as sandbox, Developer Edition, or trial orgs. This test level is the default for development environments.\n\n- RunSpecifiedTests — Runs only the tests that you specify with the --tests flag. Code coverage requirements differ from the default coverage requirements when using this test level. Executed tests must comprise a minimum of 75% code coverage for each class and trigger in the deployment package. This coverage is computed for each class and trigger individually and is different than the overall coverage percentage.\n\n- RunLocalTests — All tests in your org are run, except the ones that originate from installed managed and unlocked packages. This test level is the default for production deployments that include Apex classes or triggers.\n\n- RunAllTestsInOrg — All tests in your org are run, including tests of managed packages.\n\nIf you don’t specify a test level, the default behavior depends on the contents of your deployment package and target org. For more information, see “Running Tests in a Deployment” in the Metadata API Developer Guide.",
2004
+ "helpGroup": "Test",
2005
+ "name": "test-level",
2006
+ "summary": "Deployment Apex testing level.",
2007
+ "hasDynamicHelp": false,
2008
+ "multiple": false,
2009
+ "options": [
2010
+ "NoTestRun",
2011
+ "RunSpecifiedTests",
2012
+ "RunLocalTests",
2013
+ "RunAllTestsInOrg"
2014
+ ],
2015
+ "type": "option"
2016
+ },
2017
+ "no-prompt": {
2018
+ "aliases": [
2019
+ "noprompt"
2020
+ ],
2021
+ "char": "r",
2022
+ "deprecateAliases": true,
2023
+ "name": "no-prompt",
2024
+ "summary": "Don't prompt for delete confirmation.",
2025
+ "allowNo": false,
2026
+ "type": "boolean"
2027
+ },
2028
+ "metadata": {
2029
+ "char": "m",
2030
+ "description": "If you specify this parameter, don’t specify --source-dir.",
2031
+ "name": "metadata",
2032
+ "summary": "Metadata components to delete.",
2033
+ "delimiter": ",",
2034
+ "hasDynamicHelp": false,
2035
+ "multiple": true,
2036
+ "type": "option"
2037
+ },
2038
+ "source-dir": {
2039
+ "aliases": [
2040
+ "sourcepath"
2041
+ ],
2042
+ "char": "p",
2043
+ "deprecateAliases": true,
2044
+ "description": "The supplied paths can be a single file (in which case the operation is applied to only one file) or a folder (in which case the operation is applied to all metadata types in the directory and its sub-directories).\n\nIf you specify this parameter, don’t specify --metadata.",
2045
+ "name": "source-dir",
2046
+ "summary": "Source file paths to delete.",
2047
+ "delimiter": ",",
2048
+ "hasDynamicHelp": false,
2049
+ "multiple": true,
2050
+ "type": "option"
2051
+ },
2052
+ "track-source": {
2053
+ "aliases": [
2054
+ "tracksource"
2055
+ ],
2056
+ "char": "t",
2057
+ "deprecateAliases": true,
2058
+ "exclusive": [
2059
+ "check-only"
2060
+ ],
2061
+ "name": "track-source",
2062
+ "summary": "If the delete succeeds, update the source tracking information.",
2063
+ "allowNo": false,
2064
+ "type": "boolean"
2065
+ },
2066
+ "force-overwrite": {
2067
+ "aliases": [
2068
+ "forceoverwrite"
2069
+ ],
2070
+ "char": "f",
2071
+ "dependsOn": [
2072
+ "track-source"
2073
+ ],
2074
+ "deprecateAliases": true,
2075
+ "name": "force-overwrite",
2076
+ "summary": "Ignore conflict warnings and overwrite changes to the org.",
2077
+ "allowNo": false,
2078
+ "type": "boolean"
2079
+ },
2080
+ "verbose": {
2081
+ "name": "verbose",
2082
+ "summary": "Verbose output of the delete result.",
2083
+ "allowNo": false,
2084
+ "type": "boolean"
2085
+ }
2086
+ },
2087
+ "hasDynamicHelp": true,
2088
+ "hiddenAliases": [],
2089
+ "id": "project:delete:source",
2090
+ "pluginAlias": "@salesforce/plugin-deploy-retrieve",
2091
+ "pluginName": "@salesforce/plugin-deploy-retrieve",
2092
+ "pluginType": "core",
2093
+ "strict": true,
2094
+ "summary": "Delete source from your project and from a non-source-tracked org.",
2095
+ "enableJsonFlag": true,
2096
+ "requiresProject": true,
2097
+ "isESM": true,
2098
+ "relativePath": [
2099
+ "lib",
2100
+ "commands",
2101
+ "project",
2102
+ "delete",
2103
+ "source.js"
2104
+ ],
2105
+ "aliasPermutations": [
2106
+ "force:source:delete",
2107
+ "source:force:delete",
2108
+ "source:delete:force",
2109
+ "force:delete:source",
2110
+ "delete:force:source",
2111
+ "delete:source:force"
2112
+ ],
2113
+ "permutations": [
2114
+ "project:delete:source",
2115
+ "delete:project:source",
2116
+ "delete:source:project",
2117
+ "project:source:delete",
2118
+ "source:project:delete",
2119
+ "source:delete:project"
2120
+ ]
2121
+ },
2122
+ "project:delete:tracking": {
2123
+ "aliases": [
2124
+ "force:source:tracking:clear"
2125
+ ],
2126
+ "args": {},
2127
+ "deprecateAliases": true,
2128
+ "description": "WARNING: This command deletes or overwrites all existing source tracking files. Use with extreme caution.\n\nDeletes all local source tracking information. When you next run 'project deploy preview', Salesforce CLI displays all local and remote files as changed, and any files with the same name are listed as conflicts.",
2129
+ "examples": [
2130
+ "Delete local source tracking for the org with alias \"my-scratch\":\n$ <%= config.bin %> <%= command.id %> --target-org my-scratch"
2131
+ ],
2132
+ "flags": {
2133
+ "json": {
2134
+ "description": "Format output as json.",
2135
+ "helpGroup": "GLOBAL",
2136
+ "name": "json",
2137
+ "allowNo": false,
2138
+ "type": "boolean"
2139
+ },
2140
+ "flags-dir": {
2141
+ "helpGroup": "GLOBAL",
2142
+ "name": "flags-dir",
2143
+ "summary": "Import flag values from a directory.",
2144
+ "hasDynamicHelp": false,
2145
+ "multiple": false,
2146
+ "type": "option"
2147
+ },
2148
+ "api-version": {
2149
+ "aliases": [
2150
+ "apiversion"
2151
+ ],
2152
+ "deprecateAliases": true,
2153
+ "description": "Override the api version used for api requests made by this command",
2154
+ "name": "api-version",
2155
+ "hasDynamicHelp": false,
2156
+ "multiple": false,
2157
+ "type": "option"
2158
+ },
2159
+ "loglevel": {
2160
+ "deprecated": {
2161
+ "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
2162
+ },
2163
+ "hidden": true,
2164
+ "name": "loglevel",
2165
+ "hasDynamicHelp": false,
2166
+ "multiple": false,
2167
+ "type": "option"
2168
+ },
2169
+ "target-org": {
2170
+ "aliases": [
2171
+ "targetusername",
2172
+ "u"
2173
+ ],
2174
+ "char": "o",
2175
+ "deprecateAliases": true,
2176
+ "name": "target-org",
2177
+ "noCacheDefault": true,
2178
+ "required": true,
2179
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
2180
+ "hasDynamicHelp": true,
2181
+ "multiple": false,
2182
+ "type": "option"
2183
+ },
2184
+ "no-prompt": {
2185
+ "aliases": [
2186
+ "noprompt"
2187
+ ],
2188
+ "char": "p",
2189
+ "deprecateAliases": true,
2190
+ "name": "no-prompt",
2191
+ "summary": "Don't prompt for source tracking override confirmation.",
2192
+ "allowNo": false,
2193
+ "type": "boolean"
2194
+ }
2195
+ },
2196
+ "hasDynamicHelp": true,
2197
+ "hiddenAliases": [],
2198
+ "id": "project:delete:tracking",
2199
+ "pluginAlias": "@salesforce/plugin-deploy-retrieve",
2200
+ "pluginName": "@salesforce/plugin-deploy-retrieve",
2201
+ "pluginType": "core",
2202
+ "strict": true,
2203
+ "summary": "Delete all local source tracking information.",
2204
+ "enableJsonFlag": true,
2205
+ "requiresProject": true,
2206
+ "isESM": true,
2207
+ "relativePath": [
2208
+ "lib",
2209
+ "commands",
2210
+ "project",
2211
+ "delete",
2212
+ "tracking.js"
2213
+ ],
2214
+ "aliasPermutations": [
2215
+ "force:source:tracking:clear",
2216
+ "source:force:tracking:clear",
2217
+ "source:tracking:force:clear",
2218
+ "source:tracking:clear:force",
2219
+ "force:tracking:source:clear",
2220
+ "tracking:force:source:clear",
2221
+ "tracking:source:force:clear",
2222
+ "tracking:source:clear:force",
2223
+ "force:tracking:clear:source",
2224
+ "tracking:force:clear:source",
2225
+ "tracking:clear:force:source",
2226
+ "tracking:clear:source:force",
2227
+ "force:source:clear:tracking",
2228
+ "source:force:clear:tracking",
2229
+ "source:clear:force:tracking",
2230
+ "source:clear:tracking:force",
2231
+ "force:clear:source:tracking",
2232
+ "clear:force:source:tracking",
2233
+ "clear:source:force:tracking",
2234
+ "clear:source:tracking:force",
2235
+ "force:clear:tracking:source",
2236
+ "clear:force:tracking:source",
2237
+ "clear:tracking:force:source",
2238
+ "clear:tracking:source:force"
2239
+ ],
2240
+ "permutations": [
2241
+ "project:delete:tracking",
2242
+ "delete:project:tracking",
2243
+ "delete:tracking:project",
2244
+ "project:tracking:delete",
2245
+ "tracking:project:delete",
2246
+ "tracking:delete:project"
2247
+ ]
2248
+ },
2249
2249
  "project:generate:manifest": {
2250
2250
  "aliases": [
2251
2251
  "force:source:manifest:create"
@@ -3027,5 +3027,5 @@
3027
3027
  ]
3028
3028
  }
3029
3029
  },
3030
- "version": "3.15.1"
3030
+ "version": "3.15.2"
3031
3031
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-deploy-retrieve",
3
3
  "description": "deploy and retrieve commands for sf",
4
- "version": "3.15.1",
4
+ "version": "3.15.2",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
@@ -13,7 +13,7 @@
13
13
  "@salesforce/plugin-info": "^3.4.13",
14
14
  "@salesforce/sf-plugins-core": "^12.0.4",
15
15
  "@salesforce/source-deploy-retrieve": "^12.7.4",
16
- "@salesforce/source-tracking": "^7.1.16",
16
+ "@salesforce/source-tracking": "^7.1.17",
17
17
  "@salesforce/ts-types": "^2.0.12",
18
18
  "ansis": "^3.3.2",
19
19
  "terminal-link": "^3.0.0"
@@ -27,7 +27,7 @@
27
27
  "@salesforce/source-testkit": "^2.2.76",
28
28
  "@salesforce/ts-sinon": "^1.4.24",
29
29
  "cross-env": "^7.0.3",
30
- "eslint-plugin-sf-plugin": "^1.20.8",
30
+ "eslint-plugin-sf-plugin": "^1.20.9",
31
31
  "oclif": "^4.15.6",
32
32
  "ts-node": "^10.9.2",
33
33
  "typescript": "^5.5.4"
@@ -252,7 +252,7 @@
252
252
  "exports": "./lib/index.js",
253
253
  "type": "module",
254
254
  "sfdx": {
255
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/3.15.1.crt",
256
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/3.15.1.sig"
255
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/3.15.2.crt",
256
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/3.15.2.sig"
257
257
  }
258
258
  }