@salesforce/plugin-deploy-retrieve 3.24.4 → 3.24.5

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 +431 -431
  3. package/package.json +4 -4
package/README.md CHANGED
@@ -141,7 +141,7 @@ FLAG DESCRIPTIONS
141
141
  If you specify this flag, 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.24.4/src/commands/project/convert/mdapi.ts)_
144
+ _See code: [src/commands/project/convert/mdapi.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.5/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.24.4/src/commands/project/convert/source.ts)_
217
+ _See code: [src/commands/project/convert/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.5/src/commands/project/convert/source.ts)_
218
218
 
219
219
  ## `sf project convert source-behavior`
220
220
 
@@ -273,7 +273,7 @@ EXAMPLES
273
273
  $ sf project convert source-behavior --behavior decomposePermissionSetBeta --dry-run --preserve-temp-dir
274
274
  ```
275
275
 
276
- _See code: [src/commands/project/convert/source-behavior.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.4/src/commands/project/convert/source-behavior.ts)_
276
+ _See code: [src/commands/project/convert/source-behavior.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.5/src/commands/project/convert/source-behavior.ts)_
277
277
 
278
278
  ## `sf project delete source`
279
279
 
@@ -426,7 +426,7 @@ FLAG DESCRIPTIONS
426
426
  - Separate the test names with spaces: --tests Test1 Test2 "Test With Space"
427
427
  ```
428
428
 
429
- _See code: [src/commands/project/delete/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.4/src/commands/project/delete/source.ts)_
429
+ _See code: [src/commands/project/delete/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.5/src/commands/project/delete/source.ts)_
430
430
 
431
431
  ## `sf project delete tracking`
432
432
 
@@ -463,7 +463,7 @@ EXAMPLES
463
463
  $ sf project delete tracking --target-org my-scratch
464
464
  ```
465
465
 
466
- _See code: [src/commands/project/delete/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.4/src/commands/project/delete/tracking.ts)_
466
+ _See code: [src/commands/project/delete/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.5/src/commands/project/delete/tracking.ts)_
467
467
 
468
468
  ## `sf project deploy cancel`
469
469
 
@@ -535,7 +535,7 @@ FLAG DESCRIPTIONS
535
535
  project deploy report".
536
536
  ```
537
537
 
538
- _See code: [src/commands/project/deploy/cancel.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.4/src/commands/project/deploy/cancel.ts)_
538
+ _See code: [src/commands/project/deploy/cancel.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.5/src/commands/project/deploy/cancel.ts)_
539
539
 
540
540
  ## `sf project deploy preview`
541
541
 
@@ -618,7 +618,7 @@ FLAG DESCRIPTIONS
618
618
  All child components are included. If you specify this flag, don’t specify --metadata or --source-dir.
619
619
  ```
620
620
 
621
- _See code: [src/commands/project/deploy/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.4/src/commands/project/deploy/preview.ts)_
621
+ _See code: [src/commands/project/deploy/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.5/src/commands/project/deploy/preview.ts)_
622
622
 
623
623
  ## `sf project deploy quick`
624
624
 
@@ -702,7 +702,7 @@ FLAG DESCRIPTIONS
702
702
  deploy report".
703
703
  ```
704
704
 
705
- _See code: [src/commands/project/deploy/quick.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.4/src/commands/project/deploy/quick.ts)_
705
+ _See code: [src/commands/project/deploy/quick.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.5/src/commands/project/deploy/quick.ts)_
706
706
 
707
707
  ## `sf project deploy report`
708
708
 
@@ -794,7 +794,7 @@ FLAG DESCRIPTIONS
794
794
  --coverage-formatters lcov --coverage-formatters clover
795
795
  ```
796
796
 
797
- _See code: [src/commands/project/deploy/report.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.4/src/commands/project/deploy/report.ts)_
797
+ _See code: [src/commands/project/deploy/report.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.5/src/commands/project/deploy/report.ts)_
798
798
 
799
799
  ## `sf project deploy resume`
800
800
 
@@ -879,7 +879,7 @@ FLAG DESCRIPTIONS
879
879
  --coverage-formatters lcov --coverage-formatters clover
880
880
  ```
881
881
 
882
- _See code: [src/commands/project/deploy/resume.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.4/src/commands/project/deploy/resume.ts)_
882
+ _See code: [src/commands/project/deploy/resume.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.5/src/commands/project/deploy/resume.ts)_
883
883
 
884
884
  ## `sf project deploy start`
885
885
 
@@ -1128,7 +1128,7 @@ FLAG DESCRIPTIONS
1128
1128
  --coverage-formatters lcov --coverage-formatters clover
1129
1129
  ```
1130
1130
 
1131
- _See code: [src/commands/project/deploy/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.4/src/commands/project/deploy/start.ts)_
1131
+ _See code: [src/commands/project/deploy/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.5/src/commands/project/deploy/start.ts)_
1132
1132
 
1133
1133
  ## `sf project deploy validate`
1134
1134
 
@@ -1315,7 +1315,7 @@ FLAG DESCRIPTIONS
1315
1315
  --coverage-formatters lcov --coverage-formatters clover
1316
1316
  ```
1317
1317
 
1318
- _See code: [src/commands/project/deploy/validate.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.4/src/commands/project/deploy/validate.ts)_
1318
+ _See code: [src/commands/project/deploy/validate.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.5/src/commands/project/deploy/validate.ts)_
1319
1319
 
1320
1320
  ## `sf project generate manifest`
1321
1321
 
@@ -1411,7 +1411,7 @@ EXAMPLES
1411
1411
  $ sf project generate manifest --from-org test@myorg.com --excluded-metadata StandardValueSet
1412
1412
  ```
1413
1413
 
1414
- _See code: [src/commands/project/generate/manifest.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.4/src/commands/project/generate/manifest.ts)_
1414
+ _See code: [src/commands/project/generate/manifest.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.5/src/commands/project/generate/manifest.ts)_
1415
1415
 
1416
1416
  ## `sf project list ignored`
1417
1417
 
@@ -1453,7 +1453,7 @@ EXAMPLES
1453
1453
  $ sf project list ignored --source-dir package.xml
1454
1454
  ```
1455
1455
 
1456
- _See code: [src/commands/project/list/ignored.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.4/src/commands/project/list/ignored.ts)_
1456
+ _See code: [src/commands/project/list/ignored.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.5/src/commands/project/list/ignored.ts)_
1457
1457
 
1458
1458
  ## `sf project reset tracking`
1459
1459
 
@@ -1502,7 +1502,7 @@ EXAMPLES
1502
1502
  $ sf project reset tracking --revision 30
1503
1503
  ```
1504
1504
 
1505
- _See code: [src/commands/project/reset/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.4/src/commands/project/reset/tracking.ts)_
1505
+ _See code: [src/commands/project/reset/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.5/src/commands/project/reset/tracking.ts)_
1506
1506
 
1507
1507
  ## `sf project retrieve preview`
1508
1508
 
@@ -1556,7 +1556,7 @@ FLAG DESCRIPTIONS
1556
1556
  production orgs.
1557
1557
  ```
1558
1558
 
1559
- _See code: [src/commands/project/retrieve/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.4/src/commands/project/retrieve/preview.ts)_
1559
+ _See code: [src/commands/project/retrieve/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.5/src/commands/project/retrieve/preview.ts)_
1560
1560
 
1561
1561
  ## `sf project retrieve start`
1562
1562
 
@@ -1729,6 +1729,6 @@ FLAG DESCRIPTIONS
1729
1729
  If you specify this flag, don’t specify --metadata or --source-dir.
1730
1730
  ```
1731
1731
 
1732
- _See code: [src/commands/project/retrieve/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.4/src/commands/project/retrieve/start.ts)_
1732
+ _See code: [src/commands/project/retrieve/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.5/src/commands/project/retrieve/start.ts)_
1733
1733
 
1734
1734
  <!-- commandsstop -->
@@ -405,16 +405,18 @@
405
405
  "source:convert:project"
406
406
  ]
407
407
  },
408
- "project:deploy:cancel": {
408
+ "project:delete:source": {
409
409
  "aliases": [
410
- "deploy:metadata:cancel"
410
+ "force:source:delete"
411
411
  ],
412
412
  "args": {},
413
413
  "deprecateAliases": true,
414
- "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
+ "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 --source-dir.",
415
415
  "examples": [
416
- "Cancel a deploy operation using a job ID:\n<%= config.bin %> <%= command.id %> --job-id 0Af0x000017yLUFCA2",
417
- "Cancel the most recent deploy operation:\n<%= config.bin %> <%= command.id %> --use-most-recent"
416
+ "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",
417
+ "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",
418
+ "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",
419
+ "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"
418
420
  ],
419
421
  "flags": {
420
422
  "json": {
@@ -432,103 +434,207 @@
432
434
  "multiple": false,
433
435
  "type": "option"
434
436
  },
437
+ "api-version": {
438
+ "aliases": [
439
+ "apiversion"
440
+ ],
441
+ "deprecateAliases": true,
442
+ "description": "Override the api version used for api requests made by this command",
443
+ "name": "api-version",
444
+ "hasDynamicHelp": false,
445
+ "multiple": false,
446
+ "type": "option"
447
+ },
448
+ "loglevel": {
449
+ "deprecated": {
450
+ "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."
451
+ },
452
+ "hidden": true,
453
+ "name": "loglevel",
454
+ "hasDynamicHelp": false,
455
+ "multiple": false,
456
+ "type": "option"
457
+ },
435
458
  "target-org": {
459
+ "aliases": [
460
+ "targetusername",
461
+ "u"
462
+ ],
436
463
  "char": "o",
464
+ "deprecateAliases": true,
437
465
  "name": "target-org",
438
466
  "noCacheDefault": true,
439
- "summary": "Username or alias of the target org.",
467
+ "required": true,
468
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
440
469
  "hasDynamicHelp": true,
441
470
  "multiple": false,
442
471
  "type": "option"
443
472
  },
444
- "async": {
445
- "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\".",
446
- "exclusive": [
447
- "wait"
473
+ "check-only": {
474
+ "aliases": [
475
+ "checkonly"
448
476
  ],
449
- "name": "async",
450
- "summary": "Run the command asynchronously.",
477
+ "char": "c",
478
+ "deprecateAliases": true,
479
+ "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 flag 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.",
480
+ "name": "check-only",
481
+ "summary": "Validate delete command but don't delete anything from the org or the local project.",
451
482
  "allowNo": false,
452
483
  "type": "boolean"
453
484
  },
454
- "job-id": {
455
- "char": "i",
456
- "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.",
457
- "name": "job-id",
458
- "summary": "Job ID of the deploy operation you want to cancel.",
485
+ "wait": {
486
+ "char": "w",
487
+ "description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you.",
488
+ "name": "wait",
489
+ "summary": "Number of minutes to wait for the command to finish.",
490
+ "hasDynamicHelp": true,
491
+ "multiple": false,
492
+ "type": "option"
493
+ },
494
+ "tests": {
495
+ "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\"",
496
+ "helpGroup": "Test",
497
+ "name": "tests",
498
+ "summary": "Apex tests to run when --test-level is RunSpecifiedTests.",
499
+ "hasDynamicHelp": false,
500
+ "multiple": true,
501
+ "type": "option"
502
+ },
503
+ "test-level": {
504
+ "aliases": [
505
+ "testlevel"
506
+ ],
507
+ "char": "l",
508
+ "deprecateAliases": true,
509
+ "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\n- RunRelevantTests (Beta) — Runs only tests that are relevant to the files being deployed. Salesforce automatically identifies the relevant tests based on an analysis of the deployment payload and the payload dependencies. For fine-grained control, you can also annotate test classes so that they always run in certain conditions. See \"@IsTest Annotation\" in the \"Apex Developer Guide\" (https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_annotation_isTest.htm). Each class and trigger in the deployment package must be covered by the executed tests for a minimum of 75% code coverage. This coverage is computed for each class and triggers individually and is different than the overall coverage percentage.\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\" (https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_deploy_running_tests.htm) in the \"Metadata API Developer Guide\".",
510
+ "helpGroup": "Test",
511
+ "name": "test-level",
512
+ "summary": "Deployment Apex testing level.",
459
513
  "hasDynamicHelp": false,
460
514
  "multiple": false,
515
+ "options": [
516
+ "NoTestRun",
517
+ "RunSpecifiedTests",
518
+ "RunLocalTests",
519
+ "RunAllTestsInOrg",
520
+ "RunRelevantTests"
521
+ ],
461
522
  "type": "option"
462
523
  },
463
- "use-most-recent": {
524
+ "no-prompt": {
525
+ "aliases": [
526
+ "noprompt"
527
+ ],
464
528
  "char": "r",
465
- "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.",
466
- "name": "use-most-recent",
467
- "summary": "Use the job ID of the most recent deploy operation.",
529
+ "deprecateAliases": true,
530
+ "name": "no-prompt",
531
+ "summary": "Don't prompt for delete confirmation.",
468
532
  "allowNo": false,
469
533
  "type": "boolean"
470
534
  },
471
- "wait": {
472
- "char": "w",
473
- "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\".",
474
- "exclusive": [
475
- "async"
535
+ "metadata": {
536
+ "char": "m",
537
+ "description": "If you specify this flag, don’t specify --source-dir.",
538
+ "name": "metadata",
539
+ "summary": "Metadata components to delete.",
540
+ "delimiter": ",",
541
+ "hasDynamicHelp": false,
542
+ "multiple": true,
543
+ "type": "option"
544
+ },
545
+ "source-dir": {
546
+ "aliases": [
547
+ "sourcepath"
476
548
  ],
477
- "name": "wait",
478
- "summary": "Number of minutes to wait for the command to complete and display results.",
479
- "hasDynamicHelp": true,
480
- "helpValue": "<minutes>",
481
- "multiple": false,
549
+ "char": "p",
550
+ "deprecateAliases": true,
551
+ "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 flag, don’t specify --metadata.",
552
+ "name": "source-dir",
553
+ "summary": "Source file paths to delete.",
554
+ "delimiter": ",",
555
+ "hasDynamicHelp": false,
556
+ "multiple": true,
482
557
  "type": "option"
558
+ },
559
+ "track-source": {
560
+ "aliases": [
561
+ "tracksource"
562
+ ],
563
+ "char": "t",
564
+ "deprecateAliases": true,
565
+ "exclusive": [
566
+ "check-only"
567
+ ],
568
+ "name": "track-source",
569
+ "summary": "If the delete succeeds, update the source tracking information.",
570
+ "allowNo": false,
571
+ "type": "boolean"
572
+ },
573
+ "force-overwrite": {
574
+ "aliases": [
575
+ "forceoverwrite"
576
+ ],
577
+ "char": "f",
578
+ "dependsOn": [
579
+ "track-source"
580
+ ],
581
+ "deprecateAliases": true,
582
+ "name": "force-overwrite",
583
+ "summary": "Ignore conflict warnings and overwrite changes to the org.",
584
+ "allowNo": false,
585
+ "type": "boolean"
586
+ },
587
+ "verbose": {
588
+ "name": "verbose",
589
+ "summary": "Verbose output of the delete result.",
590
+ "allowNo": false,
591
+ "type": "boolean"
483
592
  }
484
593
  },
485
594
  "hasDynamicHelp": true,
486
595
  "hiddenAliases": [],
487
- "id": "project:deploy:cancel",
596
+ "id": "project:delete:source",
488
597
  "pluginAlias": "@salesforce/plugin-deploy-retrieve",
489
598
  "pluginName": "@salesforce/plugin-deploy-retrieve",
490
599
  "pluginType": "core",
491
600
  "strict": true,
492
- "summary": "Cancel a deploy operation.",
601
+ "summary": "Delete source from your project and from a non-source-tracked org.",
493
602
  "enableJsonFlag": true,
603
+ "requiresProject": true,
494
604
  "isESM": true,
495
605
  "relativePath": [
496
606
  "lib",
497
607
  "commands",
498
608
  "project",
499
- "deploy",
500
- "cancel.js"
609
+ "delete",
610
+ "source.js"
501
611
  ],
502
612
  "aliasPermutations": [
503
- "deploy:metadata:cancel",
504
- "metadata:deploy:cancel",
505
- "metadata:cancel:deploy",
506
- "deploy:cancel:metadata",
507
- "cancel:deploy:metadata",
508
- "cancel:metadata:deploy"
613
+ "force:source:delete",
614
+ "source:force:delete",
615
+ "source:delete:force",
616
+ "force:delete:source",
617
+ "delete:force:source",
618
+ "delete:source:force"
509
619
  ],
510
620
  "permutations": [
511
- "project:deploy:cancel",
512
- "deploy:project:cancel",
513
- "deploy:cancel:project",
514
- "project:cancel:deploy",
515
- "cancel:project:deploy",
516
- "cancel:deploy:project"
621
+ "project:delete:source",
622
+ "delete:project:source",
623
+ "delete:source:project",
624
+ "project:source:delete",
625
+ "source:project:delete",
626
+ "source:delete:project"
517
627
  ]
518
628
  },
519
- "project:deploy:preview": {
629
+ "project:delete:tracking": {
520
630
  "aliases": [
521
- "deploy:metadata:preview"
631
+ "force:source:tracking:clear"
522
632
  ],
523
633
  "args": {},
524
634
  "deprecateAliases": true,
525
- "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 --source-dir.",
635
+ "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.",
526
636
  "examples": [
527
- "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.",
528
- "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",
529
- "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",
530
- "Preview deployment of a specific Apex class:\n<%= config.bin %> <%= command.id %> --metadata ApexClass:MyApexClass",
531
- "Preview deployment of all components listed in a manifest:\n<%= config.bin %> <%= command.id %> --manifest path/to/package.xml"
637
+ "Delete local source tracking for the org with alias \"my-scratch\":\n$ <%= config.bin %> <%= command.id %> --target-org my-scratch"
532
638
  ],
533
639
  "flags": {
534
640
  "json": {
@@ -546,41 +652,283 @@
546
652
  "multiple": false,
547
653
  "type": "option"
548
654
  },
549
- "ignore-conflicts": {
550
- "char": "c",
551
- "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.",
552
- "name": "ignore-conflicts",
553
- "summary": "Don't display conflicts in preview of the deployment.",
554
- "allowNo": false,
555
- "type": "boolean"
556
- },
557
- "manifest": {
558
- "char": "x",
559
- "description": "All child components are included. If you specify this flag, don’t specify --metadata or --source-dir.",
560
- "exclusive": [
561
- "source-dir",
562
- "metadata"
655
+ "api-version": {
656
+ "aliases": [
657
+ "apiversion"
563
658
  ],
564
- "name": "manifest",
565
- "summary": "Full file path for manifest (package.xml) of components to preview.",
659
+ "deprecateAliases": true,
660
+ "description": "Override the api version used for api requests made by this command",
661
+ "name": "api-version",
566
662
  "hasDynamicHelp": false,
567
663
  "multiple": false,
568
664
  "type": "option"
569
665
  },
570
- "metadata": {
571
- "char": "m",
572
- "exclusive": [
573
- "manifest",
574
- "source-dir"
575
- ],
576
- "name": "metadata",
577
- "summary": "Metadata component names to preview.",
666
+ "loglevel": {
667
+ "deprecated": {
668
+ "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."
669
+ },
670
+ "hidden": true,
671
+ "name": "loglevel",
578
672
  "hasDynamicHelp": false,
579
- "multiple": true,
673
+ "multiple": false,
580
674
  "type": "option"
581
675
  },
582
- "source-dir": {
583
- "char": "d",
676
+ "target-org": {
677
+ "aliases": [
678
+ "targetusername",
679
+ "u"
680
+ ],
681
+ "char": "o",
682
+ "deprecateAliases": true,
683
+ "name": "target-org",
684
+ "noCacheDefault": true,
685
+ "required": true,
686
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
687
+ "hasDynamicHelp": true,
688
+ "multiple": false,
689
+ "type": "option"
690
+ },
691
+ "no-prompt": {
692
+ "aliases": [
693
+ "noprompt"
694
+ ],
695
+ "char": "p",
696
+ "deprecateAliases": true,
697
+ "name": "no-prompt",
698
+ "summary": "Don't prompt for source tracking override confirmation.",
699
+ "allowNo": false,
700
+ "type": "boolean"
701
+ }
702
+ },
703
+ "hasDynamicHelp": true,
704
+ "hiddenAliases": [],
705
+ "id": "project:delete:tracking",
706
+ "pluginAlias": "@salesforce/plugin-deploy-retrieve",
707
+ "pluginName": "@salesforce/plugin-deploy-retrieve",
708
+ "pluginType": "core",
709
+ "strict": true,
710
+ "summary": "Delete all local source tracking information.",
711
+ "enableJsonFlag": true,
712
+ "requiresProject": true,
713
+ "isESM": true,
714
+ "relativePath": [
715
+ "lib",
716
+ "commands",
717
+ "project",
718
+ "delete",
719
+ "tracking.js"
720
+ ],
721
+ "aliasPermutations": [
722
+ "force:source:tracking:clear",
723
+ "source:force:tracking:clear",
724
+ "source:tracking:force:clear",
725
+ "source:tracking:clear:force",
726
+ "force:tracking:source:clear",
727
+ "tracking:force:source:clear",
728
+ "tracking:source:force:clear",
729
+ "tracking:source:clear:force",
730
+ "force:tracking:clear:source",
731
+ "tracking:force:clear:source",
732
+ "tracking:clear:force:source",
733
+ "tracking:clear:source:force",
734
+ "force:source:clear:tracking",
735
+ "source:force:clear:tracking",
736
+ "source:clear:force:tracking",
737
+ "source:clear:tracking:force",
738
+ "force:clear:source:tracking",
739
+ "clear:force:source:tracking",
740
+ "clear:source:force:tracking",
741
+ "clear:source:tracking:force",
742
+ "force:clear:tracking:source",
743
+ "clear:force:tracking:source",
744
+ "clear:tracking:force:source",
745
+ "clear:tracking:source:force"
746
+ ],
747
+ "permutations": [
748
+ "project:delete:tracking",
749
+ "delete:project:tracking",
750
+ "delete:tracking:project",
751
+ "project:tracking:delete",
752
+ "tracking:project:delete",
753
+ "tracking:delete:project"
754
+ ]
755
+ },
756
+ "project:deploy:cancel": {
757
+ "aliases": [
758
+ "deploy:metadata:cancel"
759
+ ],
760
+ "args": {},
761
+ "deprecateAliases": true,
762
+ "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.",
763
+ "examples": [
764
+ "Cancel a deploy operation using a job ID:\n<%= config.bin %> <%= command.id %> --job-id 0Af0x000017yLUFCA2",
765
+ "Cancel the most recent deploy operation:\n<%= config.bin %> <%= command.id %> --use-most-recent"
766
+ ],
767
+ "flags": {
768
+ "json": {
769
+ "description": "Format output as json.",
770
+ "helpGroup": "GLOBAL",
771
+ "name": "json",
772
+ "allowNo": false,
773
+ "type": "boolean"
774
+ },
775
+ "flags-dir": {
776
+ "helpGroup": "GLOBAL",
777
+ "name": "flags-dir",
778
+ "summary": "Import flag values from a directory.",
779
+ "hasDynamicHelp": false,
780
+ "multiple": false,
781
+ "type": "option"
782
+ },
783
+ "target-org": {
784
+ "char": "o",
785
+ "name": "target-org",
786
+ "noCacheDefault": true,
787
+ "summary": "Username or alias of the target org.",
788
+ "hasDynamicHelp": true,
789
+ "multiple": false,
790
+ "type": "option"
791
+ },
792
+ "async": {
793
+ "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\".",
794
+ "exclusive": [
795
+ "wait"
796
+ ],
797
+ "name": "async",
798
+ "summary": "Run the command asynchronously.",
799
+ "allowNo": false,
800
+ "type": "boolean"
801
+ },
802
+ "job-id": {
803
+ "char": "i",
804
+ "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.",
805
+ "name": "job-id",
806
+ "summary": "Job ID of the deploy operation you want to cancel.",
807
+ "hasDynamicHelp": false,
808
+ "multiple": false,
809
+ "type": "option"
810
+ },
811
+ "use-most-recent": {
812
+ "char": "r",
813
+ "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.",
814
+ "name": "use-most-recent",
815
+ "summary": "Use the job ID of the most recent deploy operation.",
816
+ "allowNo": false,
817
+ "type": "boolean"
818
+ },
819
+ "wait": {
820
+ "char": "w",
821
+ "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\".",
822
+ "exclusive": [
823
+ "async"
824
+ ],
825
+ "name": "wait",
826
+ "summary": "Number of minutes to wait for the command to complete and display results.",
827
+ "hasDynamicHelp": true,
828
+ "helpValue": "<minutes>",
829
+ "multiple": false,
830
+ "type": "option"
831
+ }
832
+ },
833
+ "hasDynamicHelp": true,
834
+ "hiddenAliases": [],
835
+ "id": "project:deploy:cancel",
836
+ "pluginAlias": "@salesforce/plugin-deploy-retrieve",
837
+ "pluginName": "@salesforce/plugin-deploy-retrieve",
838
+ "pluginType": "core",
839
+ "strict": true,
840
+ "summary": "Cancel a deploy operation.",
841
+ "enableJsonFlag": true,
842
+ "isESM": true,
843
+ "relativePath": [
844
+ "lib",
845
+ "commands",
846
+ "project",
847
+ "deploy",
848
+ "cancel.js"
849
+ ],
850
+ "aliasPermutations": [
851
+ "deploy:metadata:cancel",
852
+ "metadata:deploy:cancel",
853
+ "metadata:cancel:deploy",
854
+ "deploy:cancel:metadata",
855
+ "cancel:deploy:metadata",
856
+ "cancel:metadata:deploy"
857
+ ],
858
+ "permutations": [
859
+ "project:deploy:cancel",
860
+ "deploy:project:cancel",
861
+ "deploy:cancel:project",
862
+ "project:cancel:deploy",
863
+ "cancel:project:deploy",
864
+ "cancel:deploy:project"
865
+ ]
866
+ },
867
+ "project:deploy:preview": {
868
+ "aliases": [
869
+ "deploy:metadata:preview"
870
+ ],
871
+ "args": {},
872
+ "deprecateAliases": true,
873
+ "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 --source-dir.",
874
+ "examples": [
875
+ "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.",
876
+ "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",
877
+ "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",
878
+ "Preview deployment of a specific Apex class:\n<%= config.bin %> <%= command.id %> --metadata ApexClass:MyApexClass",
879
+ "Preview deployment of all components listed in a manifest:\n<%= config.bin %> <%= command.id %> --manifest path/to/package.xml"
880
+ ],
881
+ "flags": {
882
+ "json": {
883
+ "description": "Format output as json.",
884
+ "helpGroup": "GLOBAL",
885
+ "name": "json",
886
+ "allowNo": false,
887
+ "type": "boolean"
888
+ },
889
+ "flags-dir": {
890
+ "helpGroup": "GLOBAL",
891
+ "name": "flags-dir",
892
+ "summary": "Import flag values from a directory.",
893
+ "hasDynamicHelp": false,
894
+ "multiple": false,
895
+ "type": "option"
896
+ },
897
+ "ignore-conflicts": {
898
+ "char": "c",
899
+ "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.",
900
+ "name": "ignore-conflicts",
901
+ "summary": "Don't display conflicts in preview of the deployment.",
902
+ "allowNo": false,
903
+ "type": "boolean"
904
+ },
905
+ "manifest": {
906
+ "char": "x",
907
+ "description": "All child components are included. If you specify this flag, don’t specify --metadata or --source-dir.",
908
+ "exclusive": [
909
+ "source-dir",
910
+ "metadata"
911
+ ],
912
+ "name": "manifest",
913
+ "summary": "Full file path for manifest (package.xml) of components to preview.",
914
+ "hasDynamicHelp": false,
915
+ "multiple": false,
916
+ "type": "option"
917
+ },
918
+ "metadata": {
919
+ "char": "m",
920
+ "exclusive": [
921
+ "manifest",
922
+ "source-dir"
923
+ ],
924
+ "name": "metadata",
925
+ "summary": "Metadata component names to preview.",
926
+ "hasDynamicHelp": false,
927
+ "multiple": true,
928
+ "type": "option"
929
+ },
930
+ "source-dir": {
931
+ "char": "d",
584
932
  "description": "The supplied path can be to a single file (in which case the operation is applied to only one file) or to a folder (in which case the operation is applied to all metadata types in the directory and its subdirectories).\n\nIf you specify this flag, don’t specify --metadata or --manifest.",
585
933
  "exclusive": [
586
934
  "manifest",
@@ -1902,354 +2250,6 @@
1902
2250
  "validate:deploy:project"
1903
2251
  ]
1904
2252
  },
1905
- "project:delete:source": {
1906
- "aliases": [
1907
- "force:source:delete"
1908
- ],
1909
- "args": {},
1910
- "deprecateAliases": true,
1911
- "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 --source-dir.",
1912
- "examples": [
1913
- "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",
1914
- "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",
1915
- "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",
1916
- "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"
1917
- ],
1918
- "flags": {
1919
- "json": {
1920
- "description": "Format output as json.",
1921
- "helpGroup": "GLOBAL",
1922
- "name": "json",
1923
- "allowNo": false,
1924
- "type": "boolean"
1925
- },
1926
- "flags-dir": {
1927
- "helpGroup": "GLOBAL",
1928
- "name": "flags-dir",
1929
- "summary": "Import flag values from a directory.",
1930
- "hasDynamicHelp": false,
1931
- "multiple": false,
1932
- "type": "option"
1933
- },
1934
- "api-version": {
1935
- "aliases": [
1936
- "apiversion"
1937
- ],
1938
- "deprecateAliases": true,
1939
- "description": "Override the api version used for api requests made by this command",
1940
- "name": "api-version",
1941
- "hasDynamicHelp": false,
1942
- "multiple": false,
1943
- "type": "option"
1944
- },
1945
- "loglevel": {
1946
- "deprecated": {
1947
- "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."
1948
- },
1949
- "hidden": true,
1950
- "name": "loglevel",
1951
- "hasDynamicHelp": false,
1952
- "multiple": false,
1953
- "type": "option"
1954
- },
1955
- "target-org": {
1956
- "aliases": [
1957
- "targetusername",
1958
- "u"
1959
- ],
1960
- "char": "o",
1961
- "deprecateAliases": true,
1962
- "name": "target-org",
1963
- "noCacheDefault": true,
1964
- "required": true,
1965
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
1966
- "hasDynamicHelp": true,
1967
- "multiple": false,
1968
- "type": "option"
1969
- },
1970
- "check-only": {
1971
- "aliases": [
1972
- "checkonly"
1973
- ],
1974
- "char": "c",
1975
- "deprecateAliases": true,
1976
- "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 flag 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.",
1977
- "name": "check-only",
1978
- "summary": "Validate delete command but don't delete anything from the org or the local project.",
1979
- "allowNo": false,
1980
- "type": "boolean"
1981
- },
1982
- "wait": {
1983
- "char": "w",
1984
- "description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you.",
1985
- "name": "wait",
1986
- "summary": "Number of minutes to wait for the command to finish.",
1987
- "hasDynamicHelp": true,
1988
- "multiple": false,
1989
- "type": "option"
1990
- },
1991
- "tests": {
1992
- "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\"",
1993
- "helpGroup": "Test",
1994
- "name": "tests",
1995
- "summary": "Apex tests to run when --test-level is RunSpecifiedTests.",
1996
- "hasDynamicHelp": false,
1997
- "multiple": true,
1998
- "type": "option"
1999
- },
2000
- "test-level": {
2001
- "aliases": [
2002
- "testlevel"
2003
- ],
2004
- "char": "l",
2005
- "deprecateAliases": true,
2006
- "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\n- RunRelevantTests (Beta) — Runs only tests that are relevant to the files being deployed. Salesforce automatically identifies the relevant tests based on an analysis of the deployment payload and the payload dependencies. For fine-grained control, you can also annotate test classes so that they always run in certain conditions. See \"@IsTest Annotation\" in the \"Apex Developer Guide\" (https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_annotation_isTest.htm). Each class and trigger in the deployment package must be covered by the executed tests for a minimum of 75% code coverage. This coverage is computed for each class and triggers individually and is different than the overall coverage percentage.\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\" (https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_deploy_running_tests.htm) in the \"Metadata API Developer Guide\".",
2007
- "helpGroup": "Test",
2008
- "name": "test-level",
2009
- "summary": "Deployment Apex testing level.",
2010
- "hasDynamicHelp": false,
2011
- "multiple": false,
2012
- "options": [
2013
- "NoTestRun",
2014
- "RunSpecifiedTests",
2015
- "RunLocalTests",
2016
- "RunAllTestsInOrg",
2017
- "RunRelevantTests"
2018
- ],
2019
- "type": "option"
2020
- },
2021
- "no-prompt": {
2022
- "aliases": [
2023
- "noprompt"
2024
- ],
2025
- "char": "r",
2026
- "deprecateAliases": true,
2027
- "name": "no-prompt",
2028
- "summary": "Don't prompt for delete confirmation.",
2029
- "allowNo": false,
2030
- "type": "boolean"
2031
- },
2032
- "metadata": {
2033
- "char": "m",
2034
- "description": "If you specify this flag, don’t specify --source-dir.",
2035
- "name": "metadata",
2036
- "summary": "Metadata components to delete.",
2037
- "delimiter": ",",
2038
- "hasDynamicHelp": false,
2039
- "multiple": true,
2040
- "type": "option"
2041
- },
2042
- "source-dir": {
2043
- "aliases": [
2044
- "sourcepath"
2045
- ],
2046
- "char": "p",
2047
- "deprecateAliases": true,
2048
- "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 flag, don’t specify --metadata.",
2049
- "name": "source-dir",
2050
- "summary": "Source file paths to delete.",
2051
- "delimiter": ",",
2052
- "hasDynamicHelp": false,
2053
- "multiple": true,
2054
- "type": "option"
2055
- },
2056
- "track-source": {
2057
- "aliases": [
2058
- "tracksource"
2059
- ],
2060
- "char": "t",
2061
- "deprecateAliases": true,
2062
- "exclusive": [
2063
- "check-only"
2064
- ],
2065
- "name": "track-source",
2066
- "summary": "If the delete succeeds, update the source tracking information.",
2067
- "allowNo": false,
2068
- "type": "boolean"
2069
- },
2070
- "force-overwrite": {
2071
- "aliases": [
2072
- "forceoverwrite"
2073
- ],
2074
- "char": "f",
2075
- "dependsOn": [
2076
- "track-source"
2077
- ],
2078
- "deprecateAliases": true,
2079
- "name": "force-overwrite",
2080
- "summary": "Ignore conflict warnings and overwrite changes to the org.",
2081
- "allowNo": false,
2082
- "type": "boolean"
2083
- },
2084
- "verbose": {
2085
- "name": "verbose",
2086
- "summary": "Verbose output of the delete result.",
2087
- "allowNo": false,
2088
- "type": "boolean"
2089
- }
2090
- },
2091
- "hasDynamicHelp": true,
2092
- "hiddenAliases": [],
2093
- "id": "project:delete:source",
2094
- "pluginAlias": "@salesforce/plugin-deploy-retrieve",
2095
- "pluginName": "@salesforce/plugin-deploy-retrieve",
2096
- "pluginType": "core",
2097
- "strict": true,
2098
- "summary": "Delete source from your project and from a non-source-tracked org.",
2099
- "enableJsonFlag": true,
2100
- "requiresProject": true,
2101
- "isESM": true,
2102
- "relativePath": [
2103
- "lib",
2104
- "commands",
2105
- "project",
2106
- "delete",
2107
- "source.js"
2108
- ],
2109
- "aliasPermutations": [
2110
- "force:source:delete",
2111
- "source:force:delete",
2112
- "source:delete:force",
2113
- "force:delete:source",
2114
- "delete:force:source",
2115
- "delete:source:force"
2116
- ],
2117
- "permutations": [
2118
- "project:delete:source",
2119
- "delete:project:source",
2120
- "delete:source:project",
2121
- "project:source:delete",
2122
- "source:project:delete",
2123
- "source:delete:project"
2124
- ]
2125
- },
2126
- "project:delete:tracking": {
2127
- "aliases": [
2128
- "force:source:tracking:clear"
2129
- ],
2130
- "args": {},
2131
- "deprecateAliases": true,
2132
- "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.",
2133
- "examples": [
2134
- "Delete local source tracking for the org with alias \"my-scratch\":\n$ <%= config.bin %> <%= command.id %> --target-org my-scratch"
2135
- ],
2136
- "flags": {
2137
- "json": {
2138
- "description": "Format output as json.",
2139
- "helpGroup": "GLOBAL",
2140
- "name": "json",
2141
- "allowNo": false,
2142
- "type": "boolean"
2143
- },
2144
- "flags-dir": {
2145
- "helpGroup": "GLOBAL",
2146
- "name": "flags-dir",
2147
- "summary": "Import flag values from a directory.",
2148
- "hasDynamicHelp": false,
2149
- "multiple": false,
2150
- "type": "option"
2151
- },
2152
- "api-version": {
2153
- "aliases": [
2154
- "apiversion"
2155
- ],
2156
- "deprecateAliases": true,
2157
- "description": "Override the api version used for api requests made by this command",
2158
- "name": "api-version",
2159
- "hasDynamicHelp": false,
2160
- "multiple": false,
2161
- "type": "option"
2162
- },
2163
- "loglevel": {
2164
- "deprecated": {
2165
- "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."
2166
- },
2167
- "hidden": true,
2168
- "name": "loglevel",
2169
- "hasDynamicHelp": false,
2170
- "multiple": false,
2171
- "type": "option"
2172
- },
2173
- "target-org": {
2174
- "aliases": [
2175
- "targetusername",
2176
- "u"
2177
- ],
2178
- "char": "o",
2179
- "deprecateAliases": true,
2180
- "name": "target-org",
2181
- "noCacheDefault": true,
2182
- "required": true,
2183
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
2184
- "hasDynamicHelp": true,
2185
- "multiple": false,
2186
- "type": "option"
2187
- },
2188
- "no-prompt": {
2189
- "aliases": [
2190
- "noprompt"
2191
- ],
2192
- "char": "p",
2193
- "deprecateAliases": true,
2194
- "name": "no-prompt",
2195
- "summary": "Don't prompt for source tracking override confirmation.",
2196
- "allowNo": false,
2197
- "type": "boolean"
2198
- }
2199
- },
2200
- "hasDynamicHelp": true,
2201
- "hiddenAliases": [],
2202
- "id": "project:delete:tracking",
2203
- "pluginAlias": "@salesforce/plugin-deploy-retrieve",
2204
- "pluginName": "@salesforce/plugin-deploy-retrieve",
2205
- "pluginType": "core",
2206
- "strict": true,
2207
- "summary": "Delete all local source tracking information.",
2208
- "enableJsonFlag": true,
2209
- "requiresProject": true,
2210
- "isESM": true,
2211
- "relativePath": [
2212
- "lib",
2213
- "commands",
2214
- "project",
2215
- "delete",
2216
- "tracking.js"
2217
- ],
2218
- "aliasPermutations": [
2219
- "force:source:tracking:clear",
2220
- "source:force:tracking:clear",
2221
- "source:tracking:force:clear",
2222
- "source:tracking:clear:force",
2223
- "force:tracking:source:clear",
2224
- "tracking:force:source:clear",
2225
- "tracking:source:force:clear",
2226
- "tracking:source:clear:force",
2227
- "force:tracking:clear:source",
2228
- "tracking:force:clear:source",
2229
- "tracking:clear:force:source",
2230
- "tracking:clear:source:force",
2231
- "force:source:clear:tracking",
2232
- "source:force:clear:tracking",
2233
- "source:clear:force:tracking",
2234
- "source:clear:tracking:force",
2235
- "force:clear:source:tracking",
2236
- "clear:force:source:tracking",
2237
- "clear:source:force:tracking",
2238
- "clear:source:tracking:force",
2239
- "force:clear:tracking:source",
2240
- "clear:force:tracking:source",
2241
- "clear:tracking:force:source",
2242
- "clear:tracking:source:force"
2243
- ],
2244
- "permutations": [
2245
- "project:delete:tracking",
2246
- "delete:project:tracking",
2247
- "delete:tracking:project",
2248
- "project:tracking:delete",
2249
- "tracking:project:delete",
2250
- "tracking:delete:project"
2251
- ]
2252
- },
2253
2253
  "project:generate:manifest": {
2254
2254
  "aliases": [
2255
2255
  "force:source:manifest:create"
@@ -3054,5 +3054,5 @@
3054
3054
  ]
3055
3055
  }
3056
3056
  },
3057
- "version": "3.24.4"
3057
+ "version": "3.24.5"
3058
3058
  }
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.24.4",
4
+ "version": "3.24.5",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
@@ -13,7 +13,7 @@
13
13
  "@salesforce/kit": "^3.2.4",
14
14
  "@salesforce/plugin-info": "^3.4.93",
15
15
  "@salesforce/sf-plugins-core": "^12.2.5",
16
- "@salesforce/source-deploy-retrieve": "^12.31.1",
16
+ "@salesforce/source-deploy-retrieve": "^12.31.2",
17
17
  "@salesforce/source-tracking": "^7.8.0",
18
18
  "@salesforce/ts-types": "^2.0.12",
19
19
  "ansis": "^3.17.0",
@@ -255,7 +255,7 @@
255
255
  "exports": "./lib/index.js",
256
256
  "type": "module",
257
257
  "sfdx": {
258
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/3.24.4.crt",
259
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/3.24.4.sig"
258
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/3.24.5.crt",
259
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/3.24.5.sig"
260
260
  }
261
261
  }