@salesforce/plugin-deploy-retrieve 3.9.27 → 3.10.0
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 +26 -26
- package/lib/commands/project/convert/source-behavior.js +12 -0
- package/lib/commands/project/convert/source-behavior.js.map +1 -1
- package/lib/utils/convertBehavior.js +6 -15
- package/lib/utils/convertBehavior.js.map +1 -1
- package/messages/convert.source-behavior.md +8 -10
- package/oclif.manifest.json +433 -432
- package/package.json +14 -14
package/oclif.manifest.json
CHANGED
|
@@ -154,9 +154,9 @@
|
|
|
154
154
|
"args": {},
|
|
155
155
|
"description": "Specifically, this command updates the \"sourceBehaviorOption\" option in the \"sfdx-project.json\" file and then converts the associated local source files in your project as needed.\n\nFor example, run this command with the \"--behavior decomposePermissionSetBeta\" flag to start decomposing permission sets when you deploy or retrieve them. Decomposing means breaking up the monolithic metadata API format XML file that corresponds to a metadata component into smaller XML files and directories based on its subtypes. Permission sets are not decomposed by default; you must opt-in to start decomposing them by using this command. When the command finishes, your \"sfdx-project.json\" file is updated to always decompose permission sets, and the existing permission set files in your local package directories are converted into the new decomposed format. You run this command only once for a given behavior change.\n\nFor more information about the possible values for the --behavior flag, see the \"sourceBehaviorOptions\" section in the https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_ws_config.htm topic.",
|
|
156
156
|
"examples": [
|
|
157
|
-
"Update your Salesforce DX project to decompose custom
|
|
158
|
-
"Display what the command would do, but don't change any existing files:\n<%= config.bin %> <%= command.id %> --behavior
|
|
159
|
-
"Keep the temporary directory that contains the interim metadata API formatted files:\n<%= config.bin %> <%= command.id %> --behavior
|
|
157
|
+
"Update your Salesforce DX project to decompose custom permission sets:\n<%= config.bin %> <%= command.id %> --behavior decomposePermissionSetBeta",
|
|
158
|
+
"Display what the command would do, but don't change any existing files:\n<%= config.bin %> <%= command.id %> --behavior decomposePermissionSetBeta --dry-run",
|
|
159
|
+
"Keep the temporary directory that contains the interim metadata API formatted files:\n<%= config.bin %> <%= command.id %> --behavior decomposePermissionSetBeta --dry-run --preserve-temp-dir"
|
|
160
160
|
],
|
|
161
161
|
"flags": {
|
|
162
162
|
"json": {
|
|
@@ -182,6 +182,7 @@
|
|
|
182
182
|
"hasDynamicHelp": false,
|
|
183
183
|
"multiple": false,
|
|
184
184
|
"options": [
|
|
185
|
+
"decomposeCustomLabelsBeta2",
|
|
185
186
|
"decomposeCustomLabelsBeta",
|
|
186
187
|
"decomposePermissionSetBeta",
|
|
187
188
|
"decomposeSharingRulesBeta",
|
|
@@ -309,7 +310,7 @@
|
|
|
309
310
|
"deprecateAliases": true,
|
|
310
311
|
"name": "output-dir",
|
|
311
312
|
"summary": "Output directory to store the Metadata API–formatted files in.",
|
|
312
|
-
"default": "
|
|
313
|
+
"default": "metadataPackage_1723827060626",
|
|
313
314
|
"hasDynamicHelp": false,
|
|
314
315
|
"multiple": false,
|
|
315
316
|
"type": "option"
|
|
@@ -402,18 +403,16 @@
|
|
|
402
403
|
"source:convert:project"
|
|
403
404
|
]
|
|
404
405
|
},
|
|
405
|
-
"project:
|
|
406
|
+
"project:deploy:cancel": {
|
|
406
407
|
"aliases": [
|
|
407
|
-
"
|
|
408
|
+
"deploy:metadata:cancel"
|
|
408
409
|
],
|
|
409
410
|
"args": {},
|
|
410
411
|
"deprecateAliases": true,
|
|
411
|
-
"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.",
|
|
412
413
|
"examples": [
|
|
413
|
-
"
|
|
414
|
-
"
|
|
415
|
-
"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",
|
|
416
|
-
"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"
|
|
417
416
|
],
|
|
418
417
|
"flags": {
|
|
419
418
|
"json": {
|
|
@@ -431,206 +430,103 @@
|
|
|
431
430
|
"multiple": false,
|
|
432
431
|
"type": "option"
|
|
433
432
|
},
|
|
434
|
-
"api-version": {
|
|
435
|
-
"aliases": [
|
|
436
|
-
"apiversion"
|
|
437
|
-
],
|
|
438
|
-
"deprecateAliases": true,
|
|
439
|
-
"description": "Override the api version used for api requests made by this command",
|
|
440
|
-
"name": "api-version",
|
|
441
|
-
"hasDynamicHelp": false,
|
|
442
|
-
"multiple": false,
|
|
443
|
-
"type": "option"
|
|
444
|
-
},
|
|
445
|
-
"loglevel": {
|
|
446
|
-
"deprecated": {
|
|
447
|
-
"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."
|
|
448
|
-
},
|
|
449
|
-
"hidden": true,
|
|
450
|
-
"name": "loglevel",
|
|
451
|
-
"hasDynamicHelp": false,
|
|
452
|
-
"multiple": false,
|
|
453
|
-
"type": "option"
|
|
454
|
-
},
|
|
455
433
|
"target-org": {
|
|
456
|
-
"aliases": [
|
|
457
|
-
"targetusername",
|
|
458
|
-
"u"
|
|
459
|
-
],
|
|
460
434
|
"char": "o",
|
|
461
|
-
"deprecateAliases": true,
|
|
462
435
|
"name": "target-org",
|
|
463
436
|
"noCacheDefault": true,
|
|
464
|
-
"
|
|
465
|
-
"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.",
|
|
466
438
|
"hasDynamicHelp": true,
|
|
467
439
|
"multiple": false,
|
|
468
440
|
"type": "option"
|
|
469
441
|
},
|
|
470
|
-
"
|
|
471
|
-
"
|
|
472
|
-
|
|
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"
|
|
473
446
|
],
|
|
474
|
-
"
|
|
475
|
-
"
|
|
476
|
-
"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.",
|
|
477
|
-
"name": "check-only",
|
|
478
|
-
"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.",
|
|
479
449
|
"allowNo": false,
|
|
480
450
|
"type": "boolean"
|
|
481
451
|
},
|
|
482
|
-
"
|
|
483
|
-
"char": "
|
|
484
|
-
"description": "
|
|
485
|
-
"name": "
|
|
486
|
-
"summary": "
|
|
487
|
-
"hasDynamicHelp": true,
|
|
488
|
-
"multiple": false,
|
|
489
|
-
"type": "option"
|
|
490
|
-
},
|
|
491
|
-
"tests": {
|
|
492
|
-
"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\"",
|
|
493
|
-
"helpGroup": "Test",
|
|
494
|
-
"name": "tests",
|
|
495
|
-
"summary": "Apex tests to run when --test-level is RunSpecifiedTests.",
|
|
496
|
-
"hasDynamicHelp": false,
|
|
497
|
-
"multiple": true,
|
|
498
|
-
"type": "option"
|
|
499
|
-
},
|
|
500
|
-
"test-level": {
|
|
501
|
-
"aliases": [
|
|
502
|
-
"testlevel"
|
|
503
|
-
],
|
|
504
|
-
"char": "l",
|
|
505
|
-
"deprecateAliases": true,
|
|
506
|
-
"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.",
|
|
507
|
-
"helpGroup": "Test",
|
|
508
|
-
"name": "test-level",
|
|
509
|
-
"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.",
|
|
510
457
|
"hasDynamicHelp": false,
|
|
511
458
|
"multiple": false,
|
|
512
|
-
"options": [
|
|
513
|
-
"NoTestRun",
|
|
514
|
-
"RunSpecifiedTests",
|
|
515
|
-
"RunLocalTests",
|
|
516
|
-
"RunAllTestsInOrg"
|
|
517
|
-
],
|
|
518
459
|
"type": "option"
|
|
519
460
|
},
|
|
520
|
-
"
|
|
521
|
-
"aliases": [
|
|
522
|
-
"noprompt"
|
|
523
|
-
],
|
|
461
|
+
"use-most-recent": {
|
|
524
462
|
"char": "r",
|
|
525
|
-
"
|
|
526
|
-
"name": "
|
|
527
|
-
"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.",
|
|
528
466
|
"allowNo": false,
|
|
529
467
|
"type": "boolean"
|
|
530
468
|
},
|
|
531
|
-
"
|
|
532
|
-
"char": "
|
|
533
|
-
"description": "If you
|
|
534
|
-
"name": "metadata",
|
|
535
|
-
"summary": "Metadata components to delete.",
|
|
536
|
-
"delimiter": ",",
|
|
537
|
-
"hasDynamicHelp": false,
|
|
538
|
-
"multiple": true,
|
|
539
|
-
"type": "option"
|
|
540
|
-
},
|
|
541
|
-
"source-dir": {
|
|
542
|
-
"aliases": [
|
|
543
|
-
"sourcepath"
|
|
544
|
-
],
|
|
545
|
-
"char": "p",
|
|
546
|
-
"deprecateAliases": true,
|
|
547
|
-
"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.",
|
|
548
|
-
"name": "source-dir",
|
|
549
|
-
"summary": "Source file paths to delete.",
|
|
550
|
-
"delimiter": ",",
|
|
551
|
-
"hasDynamicHelp": false,
|
|
552
|
-
"multiple": true,
|
|
553
|
-
"type": "option"
|
|
554
|
-
},
|
|
555
|
-
"track-source": {
|
|
556
|
-
"aliases": [
|
|
557
|
-
"tracksource"
|
|
558
|
-
],
|
|
559
|
-
"char": "t",
|
|
560
|
-
"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\".",
|
|
561
472
|
"exclusive": [
|
|
562
|
-
"
|
|
563
|
-
],
|
|
564
|
-
"name": "track-source",
|
|
565
|
-
"summary": "If the delete succeeds, update the source tracking information.",
|
|
566
|
-
"allowNo": false,
|
|
567
|
-
"type": "boolean"
|
|
568
|
-
},
|
|
569
|
-
"force-overwrite": {
|
|
570
|
-
"aliases": [
|
|
571
|
-
"forceoverwrite"
|
|
572
|
-
],
|
|
573
|
-
"char": "f",
|
|
574
|
-
"dependsOn": [
|
|
575
|
-
"track-source"
|
|
473
|
+
"async"
|
|
576
474
|
],
|
|
577
|
-
"
|
|
578
|
-
"
|
|
579
|
-
"
|
|
580
|
-
"
|
|
581
|
-
"
|
|
582
|
-
|
|
583
|
-
"verbose": {
|
|
584
|
-
"name": "verbose",
|
|
585
|
-
"summary": "Verbose output of the delete result.",
|
|
586
|
-
"allowNo": false,
|
|
587
|
-
"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"
|
|
588
481
|
}
|
|
589
482
|
},
|
|
590
483
|
"hasDynamicHelp": true,
|
|
591
484
|
"hiddenAliases": [],
|
|
592
|
-
"id": "project:
|
|
485
|
+
"id": "project:deploy:cancel",
|
|
593
486
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
594
487
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
595
488
|
"pluginType": "core",
|
|
596
489
|
"strict": true,
|
|
597
|
-
"summary": "
|
|
490
|
+
"summary": "Cancel a deploy operation.",
|
|
598
491
|
"enableJsonFlag": true,
|
|
599
|
-
"requiresProject": true,
|
|
600
492
|
"isESM": true,
|
|
601
493
|
"relativePath": [
|
|
602
494
|
"lib",
|
|
603
495
|
"commands",
|
|
604
496
|
"project",
|
|
605
|
-
"
|
|
606
|
-
"
|
|
497
|
+
"deploy",
|
|
498
|
+
"cancel.js"
|
|
607
499
|
],
|
|
608
500
|
"aliasPermutations": [
|
|
609
|
-
"
|
|
610
|
-
"
|
|
611
|
-
"
|
|
612
|
-
"
|
|
613
|
-
"
|
|
614
|
-
"
|
|
501
|
+
"deploy:metadata:cancel",
|
|
502
|
+
"metadata:deploy:cancel",
|
|
503
|
+
"metadata:cancel:deploy",
|
|
504
|
+
"deploy:cancel:metadata",
|
|
505
|
+
"cancel:deploy:metadata",
|
|
506
|
+
"cancel:metadata:deploy"
|
|
615
507
|
],
|
|
616
508
|
"permutations": [
|
|
617
|
-
"project:
|
|
618
|
-
"
|
|
619
|
-
"
|
|
620
|
-
"project:
|
|
621
|
-
"
|
|
622
|
-
"
|
|
509
|
+
"project:deploy:cancel",
|
|
510
|
+
"deploy:project:cancel",
|
|
511
|
+
"deploy:cancel:project",
|
|
512
|
+
"project:cancel:deploy",
|
|
513
|
+
"cancel:project:deploy",
|
|
514
|
+
"cancel:deploy:project"
|
|
623
515
|
]
|
|
624
516
|
},
|
|
625
|
-
"project:
|
|
517
|
+
"project:deploy:preview": {
|
|
626
518
|
"aliases": [
|
|
627
|
-
"
|
|
519
|
+
"deploy:metadata:preview"
|
|
628
520
|
],
|
|
629
521
|
"args": {},
|
|
630
522
|
"deprecateAliases": true,
|
|
631
|
-
"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.",
|
|
632
524
|
"examples": [
|
|
633
|
-
"
|
|
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"
|
|
634
530
|
],
|
|
635
531
|
"flags": {
|
|
636
532
|
"json": {
|
|
@@ -648,279 +544,37 @@
|
|
|
648
544
|
"multiple": false,
|
|
649
545
|
"type": "option"
|
|
650
546
|
},
|
|
651
|
-
"
|
|
652
|
-
"
|
|
653
|
-
|
|
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"
|
|
654
561
|
],
|
|
655
|
-
"
|
|
656
|
-
"
|
|
657
|
-
"name": "api-version",
|
|
562
|
+
"name": "manifest",
|
|
563
|
+
"summary": "Full file path for manifest (package.xml) of components to preview.",
|
|
658
564
|
"hasDynamicHelp": false,
|
|
659
565
|
"multiple": false,
|
|
660
566
|
"type": "option"
|
|
661
567
|
},
|
|
662
|
-
"
|
|
663
|
-
"
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
568
|
+
"metadata": {
|
|
569
|
+
"char": "m",
|
|
570
|
+
"exclusive": [
|
|
571
|
+
"manifest",
|
|
572
|
+
"source-dir"
|
|
573
|
+
],
|
|
574
|
+
"name": "metadata",
|
|
575
|
+
"summary": "Metadata component names to preview.",
|
|
668
576
|
"hasDynamicHelp": false,
|
|
669
|
-
"multiple":
|
|
670
|
-
"type": "option"
|
|
671
|
-
},
|
|
672
|
-
"target-org": {
|
|
673
|
-
"aliases": [
|
|
674
|
-
"targetusername",
|
|
675
|
-
"u"
|
|
676
|
-
],
|
|
677
|
-
"char": "o",
|
|
678
|
-
"deprecateAliases": true,
|
|
679
|
-
"name": "target-org",
|
|
680
|
-
"noCacheDefault": true,
|
|
681
|
-
"required": true,
|
|
682
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
683
|
-
"hasDynamicHelp": true,
|
|
684
|
-
"multiple": false,
|
|
685
|
-
"type": "option"
|
|
686
|
-
},
|
|
687
|
-
"no-prompt": {
|
|
688
|
-
"aliases": [
|
|
689
|
-
"noprompt"
|
|
690
|
-
],
|
|
691
|
-
"char": "p",
|
|
692
|
-
"deprecateAliases": true,
|
|
693
|
-
"name": "no-prompt",
|
|
694
|
-
"summary": "Don't prompt for source tracking override confirmation.",
|
|
695
|
-
"allowNo": false,
|
|
696
|
-
"type": "boolean"
|
|
697
|
-
}
|
|
698
|
-
},
|
|
699
|
-
"hasDynamicHelp": true,
|
|
700
|
-
"hiddenAliases": [],
|
|
701
|
-
"id": "project:delete:tracking",
|
|
702
|
-
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
703
|
-
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
704
|
-
"pluginType": "core",
|
|
705
|
-
"strict": true,
|
|
706
|
-
"summary": "Delete all local source tracking information.",
|
|
707
|
-
"enableJsonFlag": true,
|
|
708
|
-
"requiresProject": true,
|
|
709
|
-
"isESM": true,
|
|
710
|
-
"relativePath": [
|
|
711
|
-
"lib",
|
|
712
|
-
"commands",
|
|
713
|
-
"project",
|
|
714
|
-
"delete",
|
|
715
|
-
"tracking.js"
|
|
716
|
-
],
|
|
717
|
-
"aliasPermutations": [
|
|
718
|
-
"force:source:tracking:clear",
|
|
719
|
-
"source:force:tracking:clear",
|
|
720
|
-
"source:tracking:force:clear",
|
|
721
|
-
"source:tracking:clear:force",
|
|
722
|
-
"force:tracking:source:clear",
|
|
723
|
-
"tracking:force:source:clear",
|
|
724
|
-
"tracking:source:force:clear",
|
|
725
|
-
"tracking:source:clear:force",
|
|
726
|
-
"force:tracking:clear:source",
|
|
727
|
-
"tracking:force:clear:source",
|
|
728
|
-
"tracking:clear:force:source",
|
|
729
|
-
"tracking:clear:source:force",
|
|
730
|
-
"force:source:clear:tracking",
|
|
731
|
-
"source:force:clear:tracking",
|
|
732
|
-
"source:clear:force:tracking",
|
|
733
|
-
"source:clear:tracking:force",
|
|
734
|
-
"force:clear:source:tracking",
|
|
735
|
-
"clear:force:source:tracking",
|
|
736
|
-
"clear:source:force:tracking",
|
|
737
|
-
"clear:source:tracking:force",
|
|
738
|
-
"force:clear:tracking:source",
|
|
739
|
-
"clear:force:tracking:source",
|
|
740
|
-
"clear:tracking:force:source",
|
|
741
|
-
"clear:tracking:source:force"
|
|
742
|
-
],
|
|
743
|
-
"permutations": [
|
|
744
|
-
"project:delete:tracking",
|
|
745
|
-
"delete:project:tracking",
|
|
746
|
-
"delete:tracking:project",
|
|
747
|
-
"project:tracking:delete",
|
|
748
|
-
"tracking:project:delete",
|
|
749
|
-
"tracking:delete:project"
|
|
750
|
-
]
|
|
751
|
-
},
|
|
752
|
-
"project:deploy:cancel": {
|
|
753
|
-
"aliases": [
|
|
754
|
-
"deploy:metadata:cancel"
|
|
755
|
-
],
|
|
756
|
-
"args": {},
|
|
757
|
-
"deprecateAliases": true,
|
|
758
|
-
"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.",
|
|
759
|
-
"examples": [
|
|
760
|
-
"Cancel a deploy operation using a job ID:\n<%= config.bin %> <%= command.id %> --job-id 0Af0x000017yLUFCA2",
|
|
761
|
-
"Cancel the most recent deploy operation:\n<%= config.bin %> <%= command.id %> --use-most-recent"
|
|
762
|
-
],
|
|
763
|
-
"flags": {
|
|
764
|
-
"json": {
|
|
765
|
-
"description": "Format output as json.",
|
|
766
|
-
"helpGroup": "GLOBAL",
|
|
767
|
-
"name": "json",
|
|
768
|
-
"allowNo": false,
|
|
769
|
-
"type": "boolean"
|
|
770
|
-
},
|
|
771
|
-
"flags-dir": {
|
|
772
|
-
"helpGroup": "GLOBAL",
|
|
773
|
-
"name": "flags-dir",
|
|
774
|
-
"summary": "Import flag values from a directory.",
|
|
775
|
-
"hasDynamicHelp": false,
|
|
776
|
-
"multiple": false,
|
|
777
|
-
"type": "option"
|
|
778
|
-
},
|
|
779
|
-
"target-org": {
|
|
780
|
-
"char": "o",
|
|
781
|
-
"name": "target-org",
|
|
782
|
-
"noCacheDefault": true,
|
|
783
|
-
"summary": "Username or alias of the target org.",
|
|
784
|
-
"hasDynamicHelp": true,
|
|
785
|
-
"multiple": false,
|
|
786
|
-
"type": "option"
|
|
787
|
-
},
|
|
788
|
-
"async": {
|
|
789
|
-
"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\".",
|
|
790
|
-
"exclusive": [
|
|
791
|
-
"wait"
|
|
792
|
-
],
|
|
793
|
-
"name": "async",
|
|
794
|
-
"summary": "Run the command asynchronously.",
|
|
795
|
-
"allowNo": false,
|
|
796
|
-
"type": "boolean"
|
|
797
|
-
},
|
|
798
|
-
"job-id": {
|
|
799
|
-
"char": "i",
|
|
800
|
-
"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.",
|
|
801
|
-
"name": "job-id",
|
|
802
|
-
"summary": "Job ID of the deploy operation you want to cancel.",
|
|
803
|
-
"hasDynamicHelp": false,
|
|
804
|
-
"multiple": false,
|
|
805
|
-
"type": "option"
|
|
806
|
-
},
|
|
807
|
-
"use-most-recent": {
|
|
808
|
-
"char": "r",
|
|
809
|
-
"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.",
|
|
810
|
-
"name": "use-most-recent",
|
|
811
|
-
"summary": "Use the job ID of the most recent deploy operation.",
|
|
812
|
-
"allowNo": false,
|
|
813
|
-
"type": "boolean"
|
|
814
|
-
},
|
|
815
|
-
"wait": {
|
|
816
|
-
"char": "w",
|
|
817
|
-
"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\".",
|
|
818
|
-
"exclusive": [
|
|
819
|
-
"async"
|
|
820
|
-
],
|
|
821
|
-
"name": "wait",
|
|
822
|
-
"summary": "Number of minutes to wait for the command to complete and display results.",
|
|
823
|
-
"hasDynamicHelp": true,
|
|
824
|
-
"helpValue": "<minutes>",
|
|
825
|
-
"multiple": false,
|
|
826
|
-
"type": "option"
|
|
827
|
-
}
|
|
828
|
-
},
|
|
829
|
-
"hasDynamicHelp": true,
|
|
830
|
-
"hiddenAliases": [],
|
|
831
|
-
"id": "project:deploy:cancel",
|
|
832
|
-
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
833
|
-
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
834
|
-
"pluginType": "core",
|
|
835
|
-
"strict": true,
|
|
836
|
-
"summary": "Cancel a deploy operation.",
|
|
837
|
-
"enableJsonFlag": true,
|
|
838
|
-
"isESM": true,
|
|
839
|
-
"relativePath": [
|
|
840
|
-
"lib",
|
|
841
|
-
"commands",
|
|
842
|
-
"project",
|
|
843
|
-
"deploy",
|
|
844
|
-
"cancel.js"
|
|
845
|
-
],
|
|
846
|
-
"aliasPermutations": [
|
|
847
|
-
"deploy:metadata:cancel",
|
|
848
|
-
"metadata:deploy:cancel",
|
|
849
|
-
"metadata:cancel:deploy",
|
|
850
|
-
"deploy:cancel:metadata",
|
|
851
|
-
"cancel:deploy:metadata",
|
|
852
|
-
"cancel:metadata:deploy"
|
|
853
|
-
],
|
|
854
|
-
"permutations": [
|
|
855
|
-
"project:deploy:cancel",
|
|
856
|
-
"deploy:project:cancel",
|
|
857
|
-
"deploy:cancel:project",
|
|
858
|
-
"project:cancel:deploy",
|
|
859
|
-
"cancel:project:deploy",
|
|
860
|
-
"cancel:deploy:project"
|
|
861
|
-
]
|
|
862
|
-
},
|
|
863
|
-
"project:deploy:preview": {
|
|
864
|
-
"aliases": [
|
|
865
|
-
"deploy:metadata:preview"
|
|
866
|
-
],
|
|
867
|
-
"args": {},
|
|
868
|
-
"deprecateAliases": true,
|
|
869
|
-
"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.",
|
|
870
|
-
"examples": [
|
|
871
|
-
"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.",
|
|
872
|
-
"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",
|
|
873
|
-
"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",
|
|
874
|
-
"Preview deployment of a specific Apex class:\n<%= config.bin %> <%= command.id %> --metadata ApexClass:MyApexClass",
|
|
875
|
-
"Preview deployment of all components listed in a manifest:\n<%= config.bin %> <%= command.id %> --manifest path/to/package.xml"
|
|
876
|
-
],
|
|
877
|
-
"flags": {
|
|
878
|
-
"json": {
|
|
879
|
-
"description": "Format output as json.",
|
|
880
|
-
"helpGroup": "GLOBAL",
|
|
881
|
-
"name": "json",
|
|
882
|
-
"allowNo": false,
|
|
883
|
-
"type": "boolean"
|
|
884
|
-
},
|
|
885
|
-
"flags-dir": {
|
|
886
|
-
"helpGroup": "GLOBAL",
|
|
887
|
-
"name": "flags-dir",
|
|
888
|
-
"summary": "Import flag values from a directory.",
|
|
889
|
-
"hasDynamicHelp": false,
|
|
890
|
-
"multiple": false,
|
|
891
|
-
"type": "option"
|
|
892
|
-
},
|
|
893
|
-
"ignore-conflicts": {
|
|
894
|
-
"char": "c",
|
|
895
|
-
"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.",
|
|
896
|
-
"name": "ignore-conflicts",
|
|
897
|
-
"summary": "Don't display conflicts in preview of the deployment.",
|
|
898
|
-
"allowNo": false,
|
|
899
|
-
"type": "boolean"
|
|
900
|
-
},
|
|
901
|
-
"manifest": {
|
|
902
|
-
"char": "x",
|
|
903
|
-
"description": "All child components are included. If you specify this flag, don’t specify --metadata or --source-dir.",
|
|
904
|
-
"exclusive": [
|
|
905
|
-
"source-dir",
|
|
906
|
-
"metadata"
|
|
907
|
-
],
|
|
908
|
-
"name": "manifest",
|
|
909
|
-
"summary": "Full file path for manifest (package.xml) of components to preview.",
|
|
910
|
-
"hasDynamicHelp": false,
|
|
911
|
-
"multiple": false,
|
|
912
|
-
"type": "option"
|
|
913
|
-
},
|
|
914
|
-
"metadata": {
|
|
915
|
-
"char": "m",
|
|
916
|
-
"exclusive": [
|
|
917
|
-
"manifest",
|
|
918
|
-
"source-dir"
|
|
919
|
-
],
|
|
920
|
-
"name": "metadata",
|
|
921
|
-
"summary": "Metadata component names to preview.",
|
|
922
|
-
"hasDynamicHelp": false,
|
|
923
|
-
"multiple": true,
|
|
577
|
+
"multiple": true,
|
|
924
578
|
"type": "option"
|
|
925
579
|
},
|
|
926
580
|
"source-dir": {
|
|
@@ -2244,6 +1898,353 @@
|
|
|
2244
1898
|
"validate:deploy:project"
|
|
2245
1899
|
]
|
|
2246
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
|
+
},
|
|
2247
2248
|
"project:generate:manifest": {
|
|
2248
2249
|
"aliases": [
|
|
2249
2250
|
"force:source:manifest:create"
|
|
@@ -3025,5 +3026,5 @@
|
|
|
3025
3026
|
]
|
|
3026
3027
|
}
|
|
3027
3028
|
},
|
|
3028
|
-
"version": "3.
|
|
3029
|
+
"version": "3.10.0"
|
|
3029
3030
|
}
|