@salesforce/plugin-deploy-retrieve 3.24.9 → 3.24.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -17
- package/oclif.manifest.json +409 -409
- package/package.json +5 -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.
|
|
144
|
+
_See code: [src/commands/project/convert/mdapi.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.10/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.
|
|
217
|
+
_See code: [src/commands/project/convert/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.10/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.
|
|
276
|
+
_See code: [src/commands/project/convert/source-behavior.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.10/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.
|
|
429
|
+
_See code: [src/commands/project/delete/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.10/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.
|
|
466
|
+
_See code: [src/commands/project/delete/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.10/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.
|
|
538
|
+
_See code: [src/commands/project/deploy/cancel.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.10/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.
|
|
621
|
+
_See code: [src/commands/project/deploy/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.10/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.
|
|
705
|
+
_See code: [src/commands/project/deploy/quick.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.10/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.
|
|
797
|
+
_See code: [src/commands/project/deploy/report.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.10/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.
|
|
882
|
+
_See code: [src/commands/project/deploy/resume.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.10/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.
|
|
1131
|
+
_See code: [src/commands/project/deploy/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.10/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.
|
|
1318
|
+
_See code: [src/commands/project/deploy/validate.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.10/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.
|
|
1414
|
+
_See code: [src/commands/project/generate/manifest.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.10/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.
|
|
1456
|
+
_See code: [src/commands/project/list/ignored.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.10/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.
|
|
1505
|
+
_See code: [src/commands/project/reset/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.10/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.
|
|
1559
|
+
_See code: [src/commands/project/retrieve/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.10/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.
|
|
1732
|
+
_See code: [src/commands/project/retrieve/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.10/src/commands/project/retrieve/start.ts)_
|
|
1733
1733
|
|
|
1734
1734
|
<!-- commandsstop -->
|
package/oclif.manifest.json
CHANGED
|
@@ -405,354 +405,6 @@
|
|
|
405
405
|
"source:convert:project"
|
|
406
406
|
]
|
|
407
407
|
},
|
|
408
|
-
"project:delete:source": {
|
|
409
|
-
"aliases": [
|
|
410
|
-
"force:source:delete"
|
|
411
|
-
],
|
|
412
|
-
"args": {},
|
|
413
|
-
"deprecateAliases": true,
|
|
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
|
-
"examples": [
|
|
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"
|
|
420
|
-
],
|
|
421
|
-
"flags": {
|
|
422
|
-
"json": {
|
|
423
|
-
"description": "Format output as json.",
|
|
424
|
-
"helpGroup": "GLOBAL",
|
|
425
|
-
"name": "json",
|
|
426
|
-
"allowNo": false,
|
|
427
|
-
"type": "boolean"
|
|
428
|
-
},
|
|
429
|
-
"flags-dir": {
|
|
430
|
-
"helpGroup": "GLOBAL",
|
|
431
|
-
"name": "flags-dir",
|
|
432
|
-
"summary": "Import flag values from a directory.",
|
|
433
|
-
"hasDynamicHelp": false,
|
|
434
|
-
"multiple": false,
|
|
435
|
-
"type": "option"
|
|
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
|
-
},
|
|
458
|
-
"target-org": {
|
|
459
|
-
"aliases": [
|
|
460
|
-
"targetusername",
|
|
461
|
-
"u"
|
|
462
|
-
],
|
|
463
|
-
"char": "o",
|
|
464
|
-
"deprecateAliases": true,
|
|
465
|
-
"name": "target-org",
|
|
466
|
-
"noCacheDefault": true,
|
|
467
|
-
"required": true,
|
|
468
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
469
|
-
"hasDynamicHelp": true,
|
|
470
|
-
"multiple": false,
|
|
471
|
-
"type": "option"
|
|
472
|
-
},
|
|
473
|
-
"check-only": {
|
|
474
|
-
"aliases": [
|
|
475
|
-
"checkonly"
|
|
476
|
-
],
|
|
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.",
|
|
482
|
-
"allowNo": false,
|
|
483
|
-
"type": "boolean"
|
|
484
|
-
},
|
|
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.",
|
|
513
|
-
"hasDynamicHelp": false,
|
|
514
|
-
"multiple": false,
|
|
515
|
-
"options": [
|
|
516
|
-
"NoTestRun",
|
|
517
|
-
"RunSpecifiedTests",
|
|
518
|
-
"RunLocalTests",
|
|
519
|
-
"RunAllTestsInOrg",
|
|
520
|
-
"RunRelevantTests"
|
|
521
|
-
],
|
|
522
|
-
"type": "option"
|
|
523
|
-
},
|
|
524
|
-
"no-prompt": {
|
|
525
|
-
"aliases": [
|
|
526
|
-
"noprompt"
|
|
527
|
-
],
|
|
528
|
-
"char": "r",
|
|
529
|
-
"deprecateAliases": true,
|
|
530
|
-
"name": "no-prompt",
|
|
531
|
-
"summary": "Don't prompt for delete confirmation.",
|
|
532
|
-
"allowNo": false,
|
|
533
|
-
"type": "boolean"
|
|
534
|
-
},
|
|
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"
|
|
548
|
-
],
|
|
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,
|
|
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"
|
|
592
|
-
}
|
|
593
|
-
},
|
|
594
|
-
"hasDynamicHelp": true,
|
|
595
|
-
"hiddenAliases": [],
|
|
596
|
-
"id": "project:delete:source",
|
|
597
|
-
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
598
|
-
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
599
|
-
"pluginType": "core",
|
|
600
|
-
"strict": true,
|
|
601
|
-
"summary": "Delete source from your project and from a non-source-tracked org.",
|
|
602
|
-
"enableJsonFlag": true,
|
|
603
|
-
"requiresProject": true,
|
|
604
|
-
"isESM": true,
|
|
605
|
-
"relativePath": [
|
|
606
|
-
"lib",
|
|
607
|
-
"commands",
|
|
608
|
-
"project",
|
|
609
|
-
"delete",
|
|
610
|
-
"source.js"
|
|
611
|
-
],
|
|
612
|
-
"aliasPermutations": [
|
|
613
|
-
"force:source:delete",
|
|
614
|
-
"source:force:delete",
|
|
615
|
-
"source:delete:force",
|
|
616
|
-
"force:delete:source",
|
|
617
|
-
"delete:force:source",
|
|
618
|
-
"delete:source:force"
|
|
619
|
-
],
|
|
620
|
-
"permutations": [
|
|
621
|
-
"project:delete:source",
|
|
622
|
-
"delete:project:source",
|
|
623
|
-
"delete:source:project",
|
|
624
|
-
"project:source:delete",
|
|
625
|
-
"source:project:delete",
|
|
626
|
-
"source:delete:project"
|
|
627
|
-
]
|
|
628
|
-
},
|
|
629
|
-
"project:delete:tracking": {
|
|
630
|
-
"aliases": [
|
|
631
|
-
"force:source:tracking:clear"
|
|
632
|
-
],
|
|
633
|
-
"args": {},
|
|
634
|
-
"deprecateAliases": true,
|
|
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.",
|
|
636
|
-
"examples": [
|
|
637
|
-
"Delete local source tracking for the org with alias \"my-scratch\":\n$ <%= config.bin %> <%= command.id %> --target-org my-scratch"
|
|
638
|
-
],
|
|
639
|
-
"flags": {
|
|
640
|
-
"json": {
|
|
641
|
-
"description": "Format output as json.",
|
|
642
|
-
"helpGroup": "GLOBAL",
|
|
643
|
-
"name": "json",
|
|
644
|
-
"allowNo": false,
|
|
645
|
-
"type": "boolean"
|
|
646
|
-
},
|
|
647
|
-
"flags-dir": {
|
|
648
|
-
"helpGroup": "GLOBAL",
|
|
649
|
-
"name": "flags-dir",
|
|
650
|
-
"summary": "Import flag values from a directory.",
|
|
651
|
-
"hasDynamicHelp": false,
|
|
652
|
-
"multiple": false,
|
|
653
|
-
"type": "option"
|
|
654
|
-
},
|
|
655
|
-
"api-version": {
|
|
656
|
-
"aliases": [
|
|
657
|
-
"apiversion"
|
|
658
|
-
],
|
|
659
|
-
"deprecateAliases": true,
|
|
660
|
-
"description": "Override the api version used for api requests made by this command",
|
|
661
|
-
"name": "api-version",
|
|
662
|
-
"hasDynamicHelp": false,
|
|
663
|
-
"multiple": false,
|
|
664
|
-
"type": "option"
|
|
665
|
-
},
|
|
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",
|
|
672
|
-
"hasDynamicHelp": false,
|
|
673
|
-
"multiple": false,
|
|
674
|
-
"type": "option"
|
|
675
|
-
},
|
|
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
408
|
"project:deploy:cancel": {
|
|
757
409
|
"aliases": [
|
|
758
410
|
"deploy:metadata:cancel"
|
|
@@ -2230,37 +1882,256 @@
|
|
|
2230
1882
|
"lib",
|
|
2231
1883
|
"commands",
|
|
2232
1884
|
"project",
|
|
2233
|
-
"deploy",
|
|
2234
|
-
"validate.js"
|
|
1885
|
+
"deploy",
|
|
1886
|
+
"validate.js"
|
|
1887
|
+
],
|
|
1888
|
+
"aliasPermutations": [
|
|
1889
|
+
"deploy:metadata:validate",
|
|
1890
|
+
"metadata:deploy:validate",
|
|
1891
|
+
"metadata:validate:deploy",
|
|
1892
|
+
"deploy:validate:metadata",
|
|
1893
|
+
"validate:deploy:metadata",
|
|
1894
|
+
"validate:metadata:deploy"
|
|
1895
|
+
],
|
|
1896
|
+
"permutations": [
|
|
1897
|
+
"project:deploy:validate",
|
|
1898
|
+
"deploy:project:validate",
|
|
1899
|
+
"deploy:validate:project",
|
|
1900
|
+
"project:validate:deploy",
|
|
1901
|
+
"validate:project:deploy",
|
|
1902
|
+
"validate:deploy:project"
|
|
1903
|
+
]
|
|
1904
|
+
},
|
|
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"
|
|
2235
2108
|
],
|
|
2236
2109
|
"aliasPermutations": [
|
|
2237
|
-
"
|
|
2238
|
-
"
|
|
2239
|
-
"
|
|
2240
|
-
"
|
|
2241
|
-
"
|
|
2242
|
-
"
|
|
2110
|
+
"force:source:delete",
|
|
2111
|
+
"source:force:delete",
|
|
2112
|
+
"source:delete:force",
|
|
2113
|
+
"force:delete:source",
|
|
2114
|
+
"delete:force:source",
|
|
2115
|
+
"delete:source:force"
|
|
2243
2116
|
],
|
|
2244
2117
|
"permutations": [
|
|
2245
|
-
"project:
|
|
2246
|
-
"
|
|
2247
|
-
"
|
|
2248
|
-
"project:
|
|
2249
|
-
"
|
|
2250
|
-
"
|
|
2118
|
+
"project:delete:source",
|
|
2119
|
+
"delete:project:source",
|
|
2120
|
+
"delete:source:project",
|
|
2121
|
+
"project:source:delete",
|
|
2122
|
+
"source:project:delete",
|
|
2123
|
+
"source:delete:project"
|
|
2251
2124
|
]
|
|
2252
2125
|
},
|
|
2253
|
-
"project:
|
|
2126
|
+
"project:delete:tracking": {
|
|
2254
2127
|
"aliases": [
|
|
2255
|
-
"force:source:
|
|
2128
|
+
"force:source:tracking:clear"
|
|
2256
2129
|
],
|
|
2257
2130
|
"args": {},
|
|
2258
2131
|
"deprecateAliases": true,
|
|
2259
|
-
"description": "
|
|
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.",
|
|
2260
2133
|
"examples": [
|
|
2261
|
-
"
|
|
2262
|
-
"List all the files in a specific directory that are ignored:\n<%= config.bin %> <%= command.id %> --source-dir force-app",
|
|
2263
|
-
"Check if a particular file is ignored:\n<%= config.bin %> <%= command.id %> --source-dir package.xml"
|
|
2134
|
+
"Delete local source tracking for the org with alias \"my-scratch\":\n$ <%= config.bin %> <%= command.id %> --target-org my-scratch"
|
|
2264
2135
|
],
|
|
2265
2136
|
"flags": {
|
|
2266
2137
|
"json": {
|
|
@@ -2278,27 +2149,62 @@
|
|
|
2278
2149
|
"multiple": false,
|
|
2279
2150
|
"type": "option"
|
|
2280
2151
|
},
|
|
2281
|
-
"
|
|
2152
|
+
"api-version": {
|
|
2282
2153
|
"aliases": [
|
|
2283
|
-
"
|
|
2154
|
+
"apiversion"
|
|
2284
2155
|
],
|
|
2285
|
-
"char": "p",
|
|
2286
2156
|
"deprecateAliases": true,
|
|
2287
|
-
"
|
|
2288
|
-
"
|
|
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",
|
|
2289
2169
|
"hasDynamicHelp": false,
|
|
2290
2170
|
"multiple": false,
|
|
2291
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"
|
|
2292
2198
|
}
|
|
2293
2199
|
},
|
|
2294
|
-
"hasDynamicHelp":
|
|
2200
|
+
"hasDynamicHelp": true,
|
|
2295
2201
|
"hiddenAliases": [],
|
|
2296
|
-
"id": "project:
|
|
2202
|
+
"id": "project:delete:tracking",
|
|
2297
2203
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
2298
2204
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
2299
2205
|
"pluginType": "core",
|
|
2300
2206
|
"strict": true,
|
|
2301
|
-
"summary": "
|
|
2207
|
+
"summary": "Delete all local source tracking information.",
|
|
2302
2208
|
"enableJsonFlag": true,
|
|
2303
2209
|
"requiresProject": true,
|
|
2304
2210
|
"isESM": true,
|
|
@@ -2306,42 +2212,42 @@
|
|
|
2306
2212
|
"lib",
|
|
2307
2213
|
"commands",
|
|
2308
2214
|
"project",
|
|
2309
|
-
"
|
|
2310
|
-
"
|
|
2215
|
+
"delete",
|
|
2216
|
+
"tracking.js"
|
|
2311
2217
|
],
|
|
2312
2218
|
"aliasPermutations": [
|
|
2313
|
-
"force:source:
|
|
2314
|
-
"source:force:
|
|
2315
|
-
"source:
|
|
2316
|
-
"source:
|
|
2317
|
-
"force:
|
|
2318
|
-
"
|
|
2319
|
-
"
|
|
2320
|
-
"
|
|
2321
|
-
"force:
|
|
2322
|
-
"
|
|
2323
|
-
"
|
|
2324
|
-
"
|
|
2325
|
-
"force:source:
|
|
2326
|
-
"source:force:
|
|
2327
|
-
"source:
|
|
2328
|
-
"source:
|
|
2329
|
-
"force:
|
|
2330
|
-
"
|
|
2331
|
-
"
|
|
2332
|
-
"
|
|
2333
|
-
"force:
|
|
2334
|
-
"
|
|
2335
|
-
"
|
|
2336
|
-
"
|
|
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"
|
|
2337
2243
|
],
|
|
2338
2244
|
"permutations": [
|
|
2339
|
-
"project:
|
|
2340
|
-
"
|
|
2341
|
-
"
|
|
2342
|
-
"project:
|
|
2343
|
-
"
|
|
2344
|
-
"
|
|
2245
|
+
"project:delete:tracking",
|
|
2246
|
+
"delete:project:tracking",
|
|
2247
|
+
"delete:tracking:project",
|
|
2248
|
+
"project:tracking:delete",
|
|
2249
|
+
"tracking:project:delete",
|
|
2250
|
+
"tracking:delete:project"
|
|
2345
2251
|
]
|
|
2346
2252
|
},
|
|
2347
2253
|
"project:generate:manifest": {
|
|
@@ -2572,6 +2478,100 @@
|
|
|
2572
2478
|
"manifest:generate:project"
|
|
2573
2479
|
]
|
|
2574
2480
|
},
|
|
2481
|
+
"project:list:ignored": {
|
|
2482
|
+
"aliases": [
|
|
2483
|
+
"force:source:ignored:list"
|
|
2484
|
+
],
|
|
2485
|
+
"args": {},
|
|
2486
|
+
"deprecateAliases": true,
|
|
2487
|
+
"description": "When deploying or retrieving metadata between your local project and an org, you can specify the source files you want to exclude with a .forceignore file. The .forceignore file structure mimics the .gitignore structure. Each line in .forceignore specifies a pattern that corresponds to one or more files. The files typically represent metadata components, but can be any files you want to exclude, such as LWC configuration JSON files or tests.",
|
|
2488
|
+
"examples": [
|
|
2489
|
+
"List all the files in all package directories that are ignored:\n<%= config.bin %> <%= command.id %>",
|
|
2490
|
+
"List all the files in a specific directory that are ignored:\n<%= config.bin %> <%= command.id %> --source-dir force-app",
|
|
2491
|
+
"Check if a particular file is ignored:\n<%= config.bin %> <%= command.id %> --source-dir package.xml"
|
|
2492
|
+
],
|
|
2493
|
+
"flags": {
|
|
2494
|
+
"json": {
|
|
2495
|
+
"description": "Format output as json.",
|
|
2496
|
+
"helpGroup": "GLOBAL",
|
|
2497
|
+
"name": "json",
|
|
2498
|
+
"allowNo": false,
|
|
2499
|
+
"type": "boolean"
|
|
2500
|
+
},
|
|
2501
|
+
"flags-dir": {
|
|
2502
|
+
"helpGroup": "GLOBAL",
|
|
2503
|
+
"name": "flags-dir",
|
|
2504
|
+
"summary": "Import flag values from a directory.",
|
|
2505
|
+
"hasDynamicHelp": false,
|
|
2506
|
+
"multiple": false,
|
|
2507
|
+
"type": "option"
|
|
2508
|
+
},
|
|
2509
|
+
"source-dir": {
|
|
2510
|
+
"aliases": [
|
|
2511
|
+
"sourcepath"
|
|
2512
|
+
],
|
|
2513
|
+
"char": "p",
|
|
2514
|
+
"deprecateAliases": true,
|
|
2515
|
+
"name": "source-dir",
|
|
2516
|
+
"summary": "File or directory of files that the command checks for foreceignored files.",
|
|
2517
|
+
"hasDynamicHelp": false,
|
|
2518
|
+
"multiple": false,
|
|
2519
|
+
"type": "option"
|
|
2520
|
+
}
|
|
2521
|
+
},
|
|
2522
|
+
"hasDynamicHelp": false,
|
|
2523
|
+
"hiddenAliases": [],
|
|
2524
|
+
"id": "project:list:ignored",
|
|
2525
|
+
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
2526
|
+
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
2527
|
+
"pluginType": "core",
|
|
2528
|
+
"strict": true,
|
|
2529
|
+
"summary": "Check your local project package directories for forceignored files.",
|
|
2530
|
+
"enableJsonFlag": true,
|
|
2531
|
+
"requiresProject": true,
|
|
2532
|
+
"isESM": true,
|
|
2533
|
+
"relativePath": [
|
|
2534
|
+
"lib",
|
|
2535
|
+
"commands",
|
|
2536
|
+
"project",
|
|
2537
|
+
"list",
|
|
2538
|
+
"ignored.js"
|
|
2539
|
+
],
|
|
2540
|
+
"aliasPermutations": [
|
|
2541
|
+
"force:source:ignored:list",
|
|
2542
|
+
"source:force:ignored:list",
|
|
2543
|
+
"source:ignored:force:list",
|
|
2544
|
+
"source:ignored:list:force",
|
|
2545
|
+
"force:ignored:source:list",
|
|
2546
|
+
"ignored:force:source:list",
|
|
2547
|
+
"ignored:source:force:list",
|
|
2548
|
+
"ignored:source:list:force",
|
|
2549
|
+
"force:ignored:list:source",
|
|
2550
|
+
"ignored:force:list:source",
|
|
2551
|
+
"ignored:list:force:source",
|
|
2552
|
+
"ignored:list:source:force",
|
|
2553
|
+
"force:source:list:ignored",
|
|
2554
|
+
"source:force:list:ignored",
|
|
2555
|
+
"source:list:force:ignored",
|
|
2556
|
+
"source:list:ignored:force",
|
|
2557
|
+
"force:list:source:ignored",
|
|
2558
|
+
"list:force:source:ignored",
|
|
2559
|
+
"list:source:force:ignored",
|
|
2560
|
+
"list:source:ignored:force",
|
|
2561
|
+
"force:list:ignored:source",
|
|
2562
|
+
"list:force:ignored:source",
|
|
2563
|
+
"list:ignored:force:source",
|
|
2564
|
+
"list:ignored:source:force"
|
|
2565
|
+
],
|
|
2566
|
+
"permutations": [
|
|
2567
|
+
"project:list:ignored",
|
|
2568
|
+
"list:project:ignored",
|
|
2569
|
+
"list:ignored:project",
|
|
2570
|
+
"project:ignored:list",
|
|
2571
|
+
"ignored:project:list",
|
|
2572
|
+
"ignored:list:project"
|
|
2573
|
+
]
|
|
2574
|
+
},
|
|
2575
2575
|
"project:reset:tracking": {
|
|
2576
2576
|
"aliases": [
|
|
2577
2577
|
"force:source:tracking:reset"
|
|
@@ -3054,5 +3054,5 @@
|
|
|
3054
3054
|
]
|
|
3055
3055
|
}
|
|
3056
3056
|
},
|
|
3057
|
-
"version": "3.24.
|
|
3057
|
+
"version": "3.24.10"
|
|
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
|
+
"version": "3.24.10",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"@oclif/core": "^4.8.0",
|
|
10
10
|
"@oclif/multi-stage-output": "^0.8.28",
|
|
11
11
|
"@salesforce/apex-node": "^8.3.5",
|
|
12
|
-
"@salesforce/core": "^8.
|
|
12
|
+
"@salesforce/core": "^8.26.0",
|
|
13
13
|
"@salesforce/kit": "^3.2.4",
|
|
14
14
|
"@salesforce/plugin-info": "^3.4.93",
|
|
15
15
|
"@salesforce/sf-plugins-core": "^12.2.5",
|
|
@@ -67,6 +67,7 @@
|
|
|
67
67
|
],
|
|
68
68
|
"topics": {
|
|
69
69
|
"project": {
|
|
70
|
+
"description": "Work with projects, such as deploy and retrieve metadata.",
|
|
70
71
|
"external": true,
|
|
71
72
|
"subtopics": {
|
|
72
73
|
"deploy": {
|
|
@@ -255,7 +256,7 @@
|
|
|
255
256
|
"exports": "./lib/index.js",
|
|
256
257
|
"type": "module",
|
|
257
258
|
"sfdx": {
|
|
258
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/3.24.
|
|
259
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/3.24.
|
|
259
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/3.24.10.crt",
|
|
260
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/3.24.10.sig"
|
|
260
261
|
}
|
|
261
262
|
}
|