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