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