@salesforce/plugin-deploy-retrieve 3.24.8 → 3.24.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -17
- package/lib/commands/project/delete/source.js +22 -0
- package/lib/commands/project/delete/source.js.map +1 -1
- package/messages/delete.source.md +4 -0
- package/oclif.manifest.json +686 -686
- package/package.json +6 -5
package/oclif.manifest.json
CHANGED
|
@@ -405,18 +405,16 @@
|
|
|
405
405
|
"source:convert:project"
|
|
406
406
|
]
|
|
407
407
|
},
|
|
408
|
-
"project:
|
|
408
|
+
"project:deploy:cancel": {
|
|
409
409
|
"aliases": [
|
|
410
|
-
"
|
|
410
|
+
"deploy:metadata:cancel"
|
|
411
411
|
],
|
|
412
412
|
"args": {},
|
|
413
413
|
"deprecateAliases": true,
|
|
414
|
-
"description": "Use this command to
|
|
414
|
+
"description": "Use this command to cancel a deploy operation that hasn't yet completed in the org. Deploy operations include standard deploys, quick deploys, deploy validations, and deploy cancellations.\n\nRun this command by either passing it a job ID or specifying the --use-most-recent flag to use the job ID of the most recent deploy operation.",
|
|
415
415
|
"examples": [
|
|
416
|
-
"
|
|
417
|
-
"
|
|
418
|
-
"Run the tests that aren’t in any managed packages as part of the deletion; if the delete succeeds, and the org has source-tracking enabled, update the source tracking information:\n<%= config.bin %> <%= command.id %> --metadata ApexClass --test-level RunLocalTests --track-source",
|
|
419
|
-
"Delete the Apex source files in a directory and the corresponding components from your default org:\n<%= config.bin %> <%= command.id %> --source-dir force-app/main/default/classes"
|
|
416
|
+
"Cancel a deploy operation using a job ID:\n<%= config.bin %> <%= command.id %> --job-id 0Af0x000017yLUFCA2",
|
|
417
|
+
"Cancel the most recent deploy operation:\n<%= config.bin %> <%= command.id %> --use-most-recent"
|
|
420
418
|
],
|
|
421
419
|
"flags": {
|
|
422
420
|
"json": {
|
|
@@ -434,207 +432,103 @@
|
|
|
434
432
|
"multiple": false,
|
|
435
433
|
"type": "option"
|
|
436
434
|
},
|
|
437
|
-
"api-version": {
|
|
438
|
-
"aliases": [
|
|
439
|
-
"apiversion"
|
|
440
|
-
],
|
|
441
|
-
"deprecateAliases": true,
|
|
442
|
-
"description": "Override the api version used for api requests made by this command",
|
|
443
|
-
"name": "api-version",
|
|
444
|
-
"hasDynamicHelp": false,
|
|
445
|
-
"multiple": false,
|
|
446
|
-
"type": "option"
|
|
447
|
-
},
|
|
448
|
-
"loglevel": {
|
|
449
|
-
"deprecated": {
|
|
450
|
-
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
451
|
-
},
|
|
452
|
-
"hidden": true,
|
|
453
|
-
"name": "loglevel",
|
|
454
|
-
"hasDynamicHelp": false,
|
|
455
|
-
"multiple": false,
|
|
456
|
-
"type": "option"
|
|
457
|
-
},
|
|
458
435
|
"target-org": {
|
|
459
|
-
"aliases": [
|
|
460
|
-
"targetusername",
|
|
461
|
-
"u"
|
|
462
|
-
],
|
|
463
436
|
"char": "o",
|
|
464
|
-
"deprecateAliases": true,
|
|
465
437
|
"name": "target-org",
|
|
466
438
|
"noCacheDefault": true,
|
|
467
|
-
"
|
|
468
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
439
|
+
"summary": "Username or alias of the target org.",
|
|
469
440
|
"hasDynamicHelp": true,
|
|
470
441
|
"multiple": false,
|
|
471
442
|
"type": "option"
|
|
472
443
|
},
|
|
473
|
-
"
|
|
474
|
-
"
|
|
475
|
-
|
|
444
|
+
"async": {
|
|
445
|
+
"description": "The command immediately returns the control of the terminal to you. This way, you can continue to use the CLI. To resume watching the cancellation, run \"<%= config.bin %> project deploy resume\". To check the status of the cancellation, run \"<%= config.bin %> project deploy report\".",
|
|
446
|
+
"exclusive": [
|
|
447
|
+
"wait"
|
|
476
448
|
],
|
|
477
|
-
"
|
|
478
|
-
"
|
|
479
|
-
"description": "IMPORTANT: Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.\n\nValidates the deleted metadata and runs all Apex tests, but prevents the deletion from being saved to the org.\n\nIf you change a field type from Master-Detail to Lookup or vice versa, that change isn’t supported when using the --check-only flag to test a deletion (validation). This kind of change isn’t supported for test deletions to avoid the risk of data loss or corruption. If a change that isn’t supported for test deletions is included in a deletion package, the test deletion fails and issues an error.\n\nIf your deletion package changes a field type from Master-Detail to Lookup or vice versa, you can still validate the changes prior to deploying to Production by performing a full deletion to another test Sandbox. A full deletion includes a validation of the changes as part of the deletion process.\n\nNote: A Metadata API deletion that includes Master-Detail relationships deletes all detail records in the Recycle Bin in the following cases.\n\n 1. For a deletion with a new Master-Detail field, soft delete (send to the Recycle Bin) all detail records before proceeding to delete the Master-Detail field, or the deletion fails. During the deletion, detail records are permanently deleted from the Recycle Bin and cannot be recovered.\n\n 2. For a deletion that converts a Lookup field relationship to a Master-Detail relationship, detail records must reference a master record or be soft-deleted (sent to the Recycle Bin) for the deletion to succeed. However, a successful deletion permanently deletes any detail records in the Recycle Bin.",
|
|
480
|
-
"name": "check-only",
|
|
481
|
-
"summary": "Validate delete command but don't delete anything from the org or the local project.",
|
|
449
|
+
"name": "async",
|
|
450
|
+
"summary": "Run the command asynchronously.",
|
|
482
451
|
"allowNo": false,
|
|
483
452
|
"type": "boolean"
|
|
484
453
|
},
|
|
485
|
-
"
|
|
486
|
-
"char": "
|
|
487
|
-
"description": "
|
|
488
|
-
"name": "
|
|
489
|
-
"summary": "
|
|
490
|
-
"hasDynamicHelp": true,
|
|
491
|
-
"multiple": false,
|
|
492
|
-
"type": "option"
|
|
493
|
-
},
|
|
494
|
-
"tests": {
|
|
495
|
-
"description": "If a test name contains a space, enclose it in double quotes.\nFor multiple test names, use one of the following formats:\n\n- Repeat the flag for multiple test names: --tests Test1 --tests Test2 --tests \"Test With Space\"\n- Separate the test names with spaces: --tests Test1 Test2 \"Test With Space\"",
|
|
496
|
-
"helpGroup": "Test",
|
|
497
|
-
"name": "tests",
|
|
498
|
-
"summary": "Apex tests to run when --test-level is RunSpecifiedTests.",
|
|
499
|
-
"hasDynamicHelp": false,
|
|
500
|
-
"multiple": true,
|
|
501
|
-
"type": "option"
|
|
502
|
-
},
|
|
503
|
-
"test-level": {
|
|
504
|
-
"aliases": [
|
|
505
|
-
"testlevel"
|
|
506
|
-
],
|
|
507
|
-
"char": "l",
|
|
508
|
-
"deprecateAliases": true,
|
|
509
|
-
"description": "Valid values are:\n\n- NoTestRun — No tests are run. This test level applies only to deployments to development environments, such as sandbox, Developer Edition, or trial orgs. This test level is the default for development environments.\n\n- RunSpecifiedTests — Runs only the tests that you specify with the --tests flag. Code coverage requirements differ from the default coverage requirements when using this test level. Executed tests must comprise a minimum of 75% code coverage for each class and trigger in the deployment package. This coverage is computed for each class and trigger individually and is different than the overall coverage percentage.\n\n- RunLocalTests — All tests in your org are run, except the ones that originate from installed managed and unlocked packages. This test level is the default for production deployments that include Apex classes or triggers.\n\n- RunAllTestsInOrg — All tests in your org are run, including tests of managed packages.\n\n- RunRelevantTests (Beta) — Runs only tests that are relevant to the files being deployed. Salesforce automatically identifies the relevant tests based on an analysis of the deployment payload and the payload dependencies. For fine-grained control, you can also annotate test classes so that they always run in certain conditions. See \"@IsTest Annotation\" in the \"Apex Developer Guide\" (https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_annotation_isTest.htm). Each class and trigger in the deployment package must be covered by the executed tests for a minimum of 75% code coverage. This coverage is computed for each class and triggers individually and is different than the overall coverage percentage.\n\nIf you don’t specify a test level, the default behavior depends on the contents of your deployment package and target org. For more information, see \"Running Tests in a Deployment\" (https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_deploy_running_tests.htm) in the \"Metadata API Developer Guide\".",
|
|
510
|
-
"helpGroup": "Test",
|
|
511
|
-
"name": "test-level",
|
|
512
|
-
"summary": "Deployment Apex testing level.",
|
|
454
|
+
"job-id": {
|
|
455
|
+
"char": "i",
|
|
456
|
+
"description": "These commands return a job ID if they time out or you specified the --async flag:\n\n- <%= config.bin %> project deploy start\n- <%= config.bin %> project deploy validate\n- <%= config.bin %> project deploy quick\n- <%= config.bin %> project deploy cancel\n\nThe job ID is valid for 10 days from when you started the deploy operation.",
|
|
457
|
+
"name": "job-id",
|
|
458
|
+
"summary": "Job ID of the deploy operation you want to cancel.",
|
|
513
459
|
"hasDynamicHelp": false,
|
|
514
460
|
"multiple": false,
|
|
515
|
-
"options": [
|
|
516
|
-
"NoTestRun",
|
|
517
|
-
"RunSpecifiedTests",
|
|
518
|
-
"RunLocalTests",
|
|
519
|
-
"RunAllTestsInOrg",
|
|
520
|
-
"RunRelevantTests"
|
|
521
|
-
],
|
|
522
461
|
"type": "option"
|
|
523
462
|
},
|
|
524
|
-
"
|
|
525
|
-
"aliases": [
|
|
526
|
-
"noprompt"
|
|
527
|
-
],
|
|
463
|
+
"use-most-recent": {
|
|
528
464
|
"char": "r",
|
|
529
|
-
"
|
|
530
|
-
"name": "
|
|
531
|
-
"summary": "
|
|
465
|
+
"description": "For performance reasons, this flag uses job IDs for deploy operations that started only in the past 3 days or less. If your most recent deploy operations was more than 3 days ago, this flag won't find a job ID.",
|
|
466
|
+
"name": "use-most-recent",
|
|
467
|
+
"summary": "Use the job ID of the most recent deploy operation.",
|
|
532
468
|
"allowNo": false,
|
|
533
469
|
"type": "boolean"
|
|
534
470
|
},
|
|
535
|
-
"
|
|
536
|
-
"char": "
|
|
537
|
-
"description": "If you
|
|
538
|
-
"name": "metadata",
|
|
539
|
-
"summary": "Metadata components to delete.",
|
|
540
|
-
"delimiter": ",",
|
|
541
|
-
"hasDynamicHelp": false,
|
|
542
|
-
"multiple": true,
|
|
543
|
-
"type": "option"
|
|
544
|
-
},
|
|
545
|
-
"source-dir": {
|
|
546
|
-
"aliases": [
|
|
547
|
-
"sourcepath"
|
|
548
|
-
],
|
|
549
|
-
"char": "p",
|
|
550
|
-
"deprecateAliases": true,
|
|
551
|
-
"description": "The supplied paths can be a single file (in which case the operation is applied to only one file) or a folder (in which case the operation is applied to all metadata types in the directory and its sub-directories).\n\nIf you specify this flag, don’t specify --metadata.",
|
|
552
|
-
"name": "source-dir",
|
|
553
|
-
"summary": "Source file paths to delete.",
|
|
554
|
-
"delimiter": ",",
|
|
555
|
-
"hasDynamicHelp": false,
|
|
556
|
-
"multiple": true,
|
|
557
|
-
"type": "option"
|
|
558
|
-
},
|
|
559
|
-
"track-source": {
|
|
560
|
-
"aliases": [
|
|
561
|
-
"tracksource"
|
|
562
|
-
],
|
|
563
|
-
"char": "t",
|
|
564
|
-
"deprecateAliases": true,
|
|
471
|
+
"wait": {
|
|
472
|
+
"char": "w",
|
|
473
|
+
"description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you. To resume watching the cancellation, run \"<%= config.bin %> project deploy resume\". To check the status of the cancellation, run \"<%= config.bin %> project deploy report\".",
|
|
565
474
|
"exclusive": [
|
|
566
|
-
"
|
|
567
|
-
],
|
|
568
|
-
"name": "track-source",
|
|
569
|
-
"summary": "If the delete succeeds, update the source tracking information.",
|
|
570
|
-
"allowNo": false,
|
|
571
|
-
"type": "boolean"
|
|
572
|
-
},
|
|
573
|
-
"force-overwrite": {
|
|
574
|
-
"aliases": [
|
|
575
|
-
"forceoverwrite"
|
|
576
|
-
],
|
|
577
|
-
"char": "f",
|
|
578
|
-
"dependsOn": [
|
|
579
|
-
"track-source"
|
|
475
|
+
"async"
|
|
580
476
|
],
|
|
581
|
-
"
|
|
582
|
-
"
|
|
583
|
-
"
|
|
584
|
-
"
|
|
585
|
-
"
|
|
586
|
-
|
|
587
|
-
"verbose": {
|
|
588
|
-
"name": "verbose",
|
|
589
|
-
"summary": "Verbose output of the delete result.",
|
|
590
|
-
"allowNo": false,
|
|
591
|
-
"type": "boolean"
|
|
477
|
+
"name": "wait",
|
|
478
|
+
"summary": "Number of minutes to wait for the command to complete and display results.",
|
|
479
|
+
"hasDynamicHelp": true,
|
|
480
|
+
"helpValue": "<minutes>",
|
|
481
|
+
"multiple": false,
|
|
482
|
+
"type": "option"
|
|
592
483
|
}
|
|
593
484
|
},
|
|
594
485
|
"hasDynamicHelp": true,
|
|
595
486
|
"hiddenAliases": [],
|
|
596
|
-
"id": "project:
|
|
487
|
+
"id": "project:deploy:cancel",
|
|
597
488
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
598
489
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
599
490
|
"pluginType": "core",
|
|
600
491
|
"strict": true,
|
|
601
|
-
"summary": "
|
|
492
|
+
"summary": "Cancel a deploy operation.",
|
|
602
493
|
"enableJsonFlag": true,
|
|
603
|
-
"requiresProject": true,
|
|
604
494
|
"isESM": true,
|
|
605
495
|
"relativePath": [
|
|
606
496
|
"lib",
|
|
607
497
|
"commands",
|
|
608
498
|
"project",
|
|
609
|
-
"
|
|
610
|
-
"
|
|
499
|
+
"deploy",
|
|
500
|
+
"cancel.js"
|
|
611
501
|
],
|
|
612
502
|
"aliasPermutations": [
|
|
613
|
-
"
|
|
614
|
-
"
|
|
615
|
-
"
|
|
616
|
-
"
|
|
617
|
-
"
|
|
618
|
-
"
|
|
503
|
+
"deploy:metadata:cancel",
|
|
504
|
+
"metadata:deploy:cancel",
|
|
505
|
+
"metadata:cancel:deploy",
|
|
506
|
+
"deploy:cancel:metadata",
|
|
507
|
+
"cancel:deploy:metadata",
|
|
508
|
+
"cancel:metadata:deploy"
|
|
619
509
|
],
|
|
620
510
|
"permutations": [
|
|
621
|
-
"project:
|
|
622
|
-
"
|
|
623
|
-
"
|
|
624
|
-
"project:
|
|
625
|
-
"
|
|
626
|
-
"
|
|
511
|
+
"project:deploy:cancel",
|
|
512
|
+
"deploy:project:cancel",
|
|
513
|
+
"deploy:cancel:project",
|
|
514
|
+
"project:cancel:deploy",
|
|
515
|
+
"cancel:project:deploy",
|
|
516
|
+
"cancel:deploy:project"
|
|
627
517
|
]
|
|
628
518
|
},
|
|
629
|
-
"project:
|
|
519
|
+
"project:deploy:preview": {
|
|
630
520
|
"aliases": [
|
|
631
|
-
"
|
|
521
|
+
"deploy:metadata:preview"
|
|
632
522
|
],
|
|
633
523
|
"args": {},
|
|
634
524
|
"deprecateAliases": true,
|
|
635
|
-
"description": "
|
|
525
|
+
"description": "You must run this command from within a project.\n\nThe command outputs a table that describes what will happen if you run the \"<%= config.bin %> project deploy start\" command. The table lists the metadata components that will be deployed and deleted. The table also lists the current conflicts between files in your local project and components in the org. Finally, the table lists the files that won't be deployed because they're included in your .forceignore file.\n\nIf your org allows source tracking, then this command displays potential conflicts between the org and your local project. Some orgs, such as production org, never allow source tracking. Source tracking is enabled by default on scratch and sandbox orgs; you can disable source tracking when you create the orgs by specifying the --no-track-source flag on the \"<%= config.bin %> org create scratch|sandbox\" commands.\n\nTo preview the deployment of multiple metadata components, either set multiple --metadata <name> flags or a single --metadata flag with multiple names separated by spaces. Enclose names that contain spaces in one set of double quotes. The same syntax applies to --source-dir.",
|
|
636
526
|
"examples": [
|
|
637
|
-
"
|
|
527
|
+
"NOTE: The commands to preview a deployment and actually deploy it use similar flags. We provide a few preview examples here, but see the help for \"<%= config.bin %> project deploy start\" for more examples that you can adapt for previewing.",
|
|
528
|
+
"Preview the deployment of source files in a directory, such as force-app, to your default org:\n<%= config.bin %> <%= command.id %> --source-dir force-app",
|
|
529
|
+
"Preview the deployment of all Apex classes to an org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --metadata ApexClass --target-org my-scratch",
|
|
530
|
+
"Preview deployment of a specific Apex class:\n<%= config.bin %> <%= command.id %> --metadata ApexClass:MyApexClass",
|
|
531
|
+
"Preview deployment of all components listed in a manifest:\n<%= config.bin %> <%= command.id %> --manifest path/to/package.xml"
|
|
638
532
|
],
|
|
639
533
|
"flags": {
|
|
640
534
|
"json": {
|
|
@@ -652,279 +546,37 @@
|
|
|
652
546
|
"multiple": false,
|
|
653
547
|
"type": "option"
|
|
654
548
|
},
|
|
655
|
-
"
|
|
656
|
-
"
|
|
657
|
-
|
|
549
|
+
"ignore-conflicts": {
|
|
550
|
+
"char": "c",
|
|
551
|
+
"description": "This flag applies only to orgs that allow source tracking. It has no effect on orgs that don't allow it, such as production orgs.",
|
|
552
|
+
"name": "ignore-conflicts",
|
|
553
|
+
"summary": "Don't display conflicts in preview of the deployment.",
|
|
554
|
+
"allowNo": false,
|
|
555
|
+
"type": "boolean"
|
|
556
|
+
},
|
|
557
|
+
"manifest": {
|
|
558
|
+
"char": "x",
|
|
559
|
+
"description": "All child components are included. If you specify this flag, don’t specify --metadata or --source-dir.",
|
|
560
|
+
"exclusive": [
|
|
561
|
+
"source-dir",
|
|
562
|
+
"metadata"
|
|
658
563
|
],
|
|
659
|
-
"
|
|
660
|
-
"
|
|
661
|
-
"name": "api-version",
|
|
564
|
+
"name": "manifest",
|
|
565
|
+
"summary": "Full file path for manifest (package.xml) of components to preview.",
|
|
662
566
|
"hasDynamicHelp": false,
|
|
663
567
|
"multiple": false,
|
|
664
568
|
"type": "option"
|
|
665
569
|
},
|
|
666
|
-
"
|
|
667
|
-
"
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
570
|
+
"metadata": {
|
|
571
|
+
"char": "m",
|
|
572
|
+
"exclusive": [
|
|
573
|
+
"manifest",
|
|
574
|
+
"source-dir"
|
|
575
|
+
],
|
|
576
|
+
"name": "metadata",
|
|
577
|
+
"summary": "Metadata component names to preview.",
|
|
672
578
|
"hasDynamicHelp": false,
|
|
673
|
-
"multiple":
|
|
674
|
-
"type": "option"
|
|
675
|
-
},
|
|
676
|
-
"target-org": {
|
|
677
|
-
"aliases": [
|
|
678
|
-
"targetusername",
|
|
679
|
-
"u"
|
|
680
|
-
],
|
|
681
|
-
"char": "o",
|
|
682
|
-
"deprecateAliases": true,
|
|
683
|
-
"name": "target-org",
|
|
684
|
-
"noCacheDefault": true,
|
|
685
|
-
"required": true,
|
|
686
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
687
|
-
"hasDynamicHelp": true,
|
|
688
|
-
"multiple": false,
|
|
689
|
-
"type": "option"
|
|
690
|
-
},
|
|
691
|
-
"no-prompt": {
|
|
692
|
-
"aliases": [
|
|
693
|
-
"noprompt"
|
|
694
|
-
],
|
|
695
|
-
"char": "p",
|
|
696
|
-
"deprecateAliases": true,
|
|
697
|
-
"name": "no-prompt",
|
|
698
|
-
"summary": "Don't prompt for source tracking override confirmation.",
|
|
699
|
-
"allowNo": false,
|
|
700
|
-
"type": "boolean"
|
|
701
|
-
}
|
|
702
|
-
},
|
|
703
|
-
"hasDynamicHelp": true,
|
|
704
|
-
"hiddenAliases": [],
|
|
705
|
-
"id": "project:delete:tracking",
|
|
706
|
-
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
707
|
-
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
708
|
-
"pluginType": "core",
|
|
709
|
-
"strict": true,
|
|
710
|
-
"summary": "Delete all local source tracking information.",
|
|
711
|
-
"enableJsonFlag": true,
|
|
712
|
-
"requiresProject": true,
|
|
713
|
-
"isESM": true,
|
|
714
|
-
"relativePath": [
|
|
715
|
-
"lib",
|
|
716
|
-
"commands",
|
|
717
|
-
"project",
|
|
718
|
-
"delete",
|
|
719
|
-
"tracking.js"
|
|
720
|
-
],
|
|
721
|
-
"aliasPermutations": [
|
|
722
|
-
"force:source:tracking:clear",
|
|
723
|
-
"source:force:tracking:clear",
|
|
724
|
-
"source:tracking:force:clear",
|
|
725
|
-
"source:tracking:clear:force",
|
|
726
|
-
"force:tracking:source:clear",
|
|
727
|
-
"tracking:force:source:clear",
|
|
728
|
-
"tracking:source:force:clear",
|
|
729
|
-
"tracking:source:clear:force",
|
|
730
|
-
"force:tracking:clear:source",
|
|
731
|
-
"tracking:force:clear:source",
|
|
732
|
-
"tracking:clear:force:source",
|
|
733
|
-
"tracking:clear:source:force",
|
|
734
|
-
"force:source:clear:tracking",
|
|
735
|
-
"source:force:clear:tracking",
|
|
736
|
-
"source:clear:force:tracking",
|
|
737
|
-
"source:clear:tracking:force",
|
|
738
|
-
"force:clear:source:tracking",
|
|
739
|
-
"clear:force:source:tracking",
|
|
740
|
-
"clear:source:force:tracking",
|
|
741
|
-
"clear:source:tracking:force",
|
|
742
|
-
"force:clear:tracking:source",
|
|
743
|
-
"clear:force:tracking:source",
|
|
744
|
-
"clear:tracking:force:source",
|
|
745
|
-
"clear:tracking:source:force"
|
|
746
|
-
],
|
|
747
|
-
"permutations": [
|
|
748
|
-
"project:delete:tracking",
|
|
749
|
-
"delete:project:tracking",
|
|
750
|
-
"delete:tracking:project",
|
|
751
|
-
"project:tracking:delete",
|
|
752
|
-
"tracking:project:delete",
|
|
753
|
-
"tracking:delete:project"
|
|
754
|
-
]
|
|
755
|
-
},
|
|
756
|
-
"project:deploy:cancel": {
|
|
757
|
-
"aliases": [
|
|
758
|
-
"deploy:metadata:cancel"
|
|
759
|
-
],
|
|
760
|
-
"args": {},
|
|
761
|
-
"deprecateAliases": true,
|
|
762
|
-
"description": "Use this command to cancel a deploy operation that hasn't yet completed in the org. Deploy operations include standard deploys, quick deploys, deploy validations, and deploy cancellations.\n\nRun this command by either passing it a job ID or specifying the --use-most-recent flag to use the job ID of the most recent deploy operation.",
|
|
763
|
-
"examples": [
|
|
764
|
-
"Cancel a deploy operation using a job ID:\n<%= config.bin %> <%= command.id %> --job-id 0Af0x000017yLUFCA2",
|
|
765
|
-
"Cancel the most recent deploy operation:\n<%= config.bin %> <%= command.id %> --use-most-recent"
|
|
766
|
-
],
|
|
767
|
-
"flags": {
|
|
768
|
-
"json": {
|
|
769
|
-
"description": "Format output as json.",
|
|
770
|
-
"helpGroup": "GLOBAL",
|
|
771
|
-
"name": "json",
|
|
772
|
-
"allowNo": false,
|
|
773
|
-
"type": "boolean"
|
|
774
|
-
},
|
|
775
|
-
"flags-dir": {
|
|
776
|
-
"helpGroup": "GLOBAL",
|
|
777
|
-
"name": "flags-dir",
|
|
778
|
-
"summary": "Import flag values from a directory.",
|
|
779
|
-
"hasDynamicHelp": false,
|
|
780
|
-
"multiple": false,
|
|
781
|
-
"type": "option"
|
|
782
|
-
},
|
|
783
|
-
"target-org": {
|
|
784
|
-
"char": "o",
|
|
785
|
-
"name": "target-org",
|
|
786
|
-
"noCacheDefault": true,
|
|
787
|
-
"summary": "Username or alias of the target org.",
|
|
788
|
-
"hasDynamicHelp": true,
|
|
789
|
-
"multiple": false,
|
|
790
|
-
"type": "option"
|
|
791
|
-
},
|
|
792
|
-
"async": {
|
|
793
|
-
"description": "The command immediately returns the control of the terminal to you. This way, you can continue to use the CLI. To resume watching the cancellation, run \"<%= config.bin %> project deploy resume\". To check the status of the cancellation, run \"<%= config.bin %> project deploy report\".",
|
|
794
|
-
"exclusive": [
|
|
795
|
-
"wait"
|
|
796
|
-
],
|
|
797
|
-
"name": "async",
|
|
798
|
-
"summary": "Run the command asynchronously.",
|
|
799
|
-
"allowNo": false,
|
|
800
|
-
"type": "boolean"
|
|
801
|
-
},
|
|
802
|
-
"job-id": {
|
|
803
|
-
"char": "i",
|
|
804
|
-
"description": "These commands return a job ID if they time out or you specified the --async flag:\n\n- <%= config.bin %> project deploy start\n- <%= config.bin %> project deploy validate\n- <%= config.bin %> project deploy quick\n- <%= config.bin %> project deploy cancel\n\nThe job ID is valid for 10 days from when you started the deploy operation.",
|
|
805
|
-
"name": "job-id",
|
|
806
|
-
"summary": "Job ID of the deploy operation you want to cancel.",
|
|
807
|
-
"hasDynamicHelp": false,
|
|
808
|
-
"multiple": false,
|
|
809
|
-
"type": "option"
|
|
810
|
-
},
|
|
811
|
-
"use-most-recent": {
|
|
812
|
-
"char": "r",
|
|
813
|
-
"description": "For performance reasons, this flag uses job IDs for deploy operations that started only in the past 3 days or less. If your most recent deploy operations was more than 3 days ago, this flag won't find a job ID.",
|
|
814
|
-
"name": "use-most-recent",
|
|
815
|
-
"summary": "Use the job ID of the most recent deploy operation.",
|
|
816
|
-
"allowNo": false,
|
|
817
|
-
"type": "boolean"
|
|
818
|
-
},
|
|
819
|
-
"wait": {
|
|
820
|
-
"char": "w",
|
|
821
|
-
"description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you. To resume watching the cancellation, run \"<%= config.bin %> project deploy resume\". To check the status of the cancellation, run \"<%= config.bin %> project deploy report\".",
|
|
822
|
-
"exclusive": [
|
|
823
|
-
"async"
|
|
824
|
-
],
|
|
825
|
-
"name": "wait",
|
|
826
|
-
"summary": "Number of minutes to wait for the command to complete and display results.",
|
|
827
|
-
"hasDynamicHelp": true,
|
|
828
|
-
"helpValue": "<minutes>",
|
|
829
|
-
"multiple": false,
|
|
830
|
-
"type": "option"
|
|
831
|
-
}
|
|
832
|
-
},
|
|
833
|
-
"hasDynamicHelp": true,
|
|
834
|
-
"hiddenAliases": [],
|
|
835
|
-
"id": "project:deploy:cancel",
|
|
836
|
-
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
837
|
-
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
838
|
-
"pluginType": "core",
|
|
839
|
-
"strict": true,
|
|
840
|
-
"summary": "Cancel a deploy operation.",
|
|
841
|
-
"enableJsonFlag": true,
|
|
842
|
-
"isESM": true,
|
|
843
|
-
"relativePath": [
|
|
844
|
-
"lib",
|
|
845
|
-
"commands",
|
|
846
|
-
"project",
|
|
847
|
-
"deploy",
|
|
848
|
-
"cancel.js"
|
|
849
|
-
],
|
|
850
|
-
"aliasPermutations": [
|
|
851
|
-
"deploy:metadata:cancel",
|
|
852
|
-
"metadata:deploy:cancel",
|
|
853
|
-
"metadata:cancel:deploy",
|
|
854
|
-
"deploy:cancel:metadata",
|
|
855
|
-
"cancel:deploy:metadata",
|
|
856
|
-
"cancel:metadata:deploy"
|
|
857
|
-
],
|
|
858
|
-
"permutations": [
|
|
859
|
-
"project:deploy:cancel",
|
|
860
|
-
"deploy:project:cancel",
|
|
861
|
-
"deploy:cancel:project",
|
|
862
|
-
"project:cancel:deploy",
|
|
863
|
-
"cancel:project:deploy",
|
|
864
|
-
"cancel:deploy:project"
|
|
865
|
-
]
|
|
866
|
-
},
|
|
867
|
-
"project:deploy:preview": {
|
|
868
|
-
"aliases": [
|
|
869
|
-
"deploy:metadata:preview"
|
|
870
|
-
],
|
|
871
|
-
"args": {},
|
|
872
|
-
"deprecateAliases": true,
|
|
873
|
-
"description": "You must run this command from within a project.\n\nThe command outputs a table that describes what will happen if you run the \"<%= config.bin %> project deploy start\" command. The table lists the metadata components that will be deployed and deleted. The table also lists the current conflicts between files in your local project and components in the org. Finally, the table lists the files that won't be deployed because they're included in your .forceignore file.\n\nIf your org allows source tracking, then this command displays potential conflicts between the org and your local project. Some orgs, such as production org, never allow source tracking. Source tracking is enabled by default on scratch and sandbox orgs; you can disable source tracking when you create the orgs by specifying the --no-track-source flag on the \"<%= config.bin %> org create scratch|sandbox\" commands.\n\nTo preview the deployment of multiple metadata components, either set multiple --metadata <name> flags or a single --metadata flag with multiple names separated by spaces. Enclose names that contain spaces in one set of double quotes. The same syntax applies to --source-dir.",
|
|
874
|
-
"examples": [
|
|
875
|
-
"NOTE: The commands to preview a deployment and actually deploy it use similar flags. We provide a few preview examples here, but see the help for \"<%= config.bin %> project deploy start\" for more examples that you can adapt for previewing.",
|
|
876
|
-
"Preview the deployment of source files in a directory, such as force-app, to your default org:\n<%= config.bin %> <%= command.id %> --source-dir force-app",
|
|
877
|
-
"Preview the deployment of all Apex classes to an org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --metadata ApexClass --target-org my-scratch",
|
|
878
|
-
"Preview deployment of a specific Apex class:\n<%= config.bin %> <%= command.id %> --metadata ApexClass:MyApexClass",
|
|
879
|
-
"Preview deployment of all components listed in a manifest:\n<%= config.bin %> <%= command.id %> --manifest path/to/package.xml"
|
|
880
|
-
],
|
|
881
|
-
"flags": {
|
|
882
|
-
"json": {
|
|
883
|
-
"description": "Format output as json.",
|
|
884
|
-
"helpGroup": "GLOBAL",
|
|
885
|
-
"name": "json",
|
|
886
|
-
"allowNo": false,
|
|
887
|
-
"type": "boolean"
|
|
888
|
-
},
|
|
889
|
-
"flags-dir": {
|
|
890
|
-
"helpGroup": "GLOBAL",
|
|
891
|
-
"name": "flags-dir",
|
|
892
|
-
"summary": "Import flag values from a directory.",
|
|
893
|
-
"hasDynamicHelp": false,
|
|
894
|
-
"multiple": false,
|
|
895
|
-
"type": "option"
|
|
896
|
-
},
|
|
897
|
-
"ignore-conflicts": {
|
|
898
|
-
"char": "c",
|
|
899
|
-
"description": "This flag applies only to orgs that allow source tracking. It has no effect on orgs that don't allow it, such as production orgs.",
|
|
900
|
-
"name": "ignore-conflicts",
|
|
901
|
-
"summary": "Don't display conflicts in preview of the deployment.",
|
|
902
|
-
"allowNo": false,
|
|
903
|
-
"type": "boolean"
|
|
904
|
-
},
|
|
905
|
-
"manifest": {
|
|
906
|
-
"char": "x",
|
|
907
|
-
"description": "All child components are included. If you specify this flag, don’t specify --metadata or --source-dir.",
|
|
908
|
-
"exclusive": [
|
|
909
|
-
"source-dir",
|
|
910
|
-
"metadata"
|
|
911
|
-
],
|
|
912
|
-
"name": "manifest",
|
|
913
|
-
"summary": "Full file path for manifest (package.xml) of components to preview.",
|
|
914
|
-
"hasDynamicHelp": false,
|
|
915
|
-
"multiple": false,
|
|
916
|
-
"type": "option"
|
|
917
|
-
},
|
|
918
|
-
"metadata": {
|
|
919
|
-
"char": "m",
|
|
920
|
-
"exclusive": [
|
|
921
|
-
"manifest",
|
|
922
|
-
"source-dir"
|
|
923
|
-
],
|
|
924
|
-
"name": "metadata",
|
|
925
|
-
"summary": "Metadata component names to preview.",
|
|
926
|
-
"hasDynamicHelp": false,
|
|
927
|
-
"multiple": true,
|
|
579
|
+
"multiple": true,
|
|
928
580
|
"type": "option"
|
|
929
581
|
},
|
|
930
582
|
"source-dir": {
|
|
@@ -2145,109 +1797,457 @@
|
|
|
2145
1797
|
"multiple": false,
|
|
2146
1798
|
"type": "option"
|
|
2147
1799
|
},
|
|
2148
|
-
"post-destructive-changes": {
|
|
2149
|
-
"dependsOn": [
|
|
2150
|
-
"manifest"
|
|
1800
|
+
"post-destructive-changes": {
|
|
1801
|
+
"dependsOn": [
|
|
1802
|
+
"manifest"
|
|
1803
|
+
],
|
|
1804
|
+
"helpGroup": "Delete",
|
|
1805
|
+
"name": "post-destructive-changes",
|
|
1806
|
+
"summary": "File path for a manifest (destructiveChangesPost.xml) of components to delete after the deploy.",
|
|
1807
|
+
"hasDynamicHelp": false,
|
|
1808
|
+
"multiple": false,
|
|
1809
|
+
"type": "option"
|
|
1810
|
+
}
|
|
1811
|
+
},
|
|
1812
|
+
"hasDynamicHelp": true,
|
|
1813
|
+
"hiddenAliases": [],
|
|
1814
|
+
"id": "project:deploy:validate",
|
|
1815
|
+
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
1816
|
+
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
1817
|
+
"pluginType": "core",
|
|
1818
|
+
"strict": true,
|
|
1819
|
+
"summary": "Validate a metadata deployment without actually executing it.",
|
|
1820
|
+
"enableJsonFlag": true,
|
|
1821
|
+
"configurationVariablesSection": {
|
|
1822
|
+
"header": "CONFIGURATION VARIABLES",
|
|
1823
|
+
"body": [
|
|
1824
|
+
{
|
|
1825
|
+
"name": "target-org",
|
|
1826
|
+
"description": "Username or alias of the org that all commands run against by default. (sf only)"
|
|
1827
|
+
},
|
|
1828
|
+
{
|
|
1829
|
+
"name": "org-api-version",
|
|
1830
|
+
"description": "API version of your project. Default: API version of your Dev Hub org."
|
|
1831
|
+
}
|
|
1832
|
+
]
|
|
1833
|
+
},
|
|
1834
|
+
"envVariablesSection": {
|
|
1835
|
+
"header": "ENVIRONMENT VARIABLES",
|
|
1836
|
+
"body": [
|
|
1837
|
+
{
|
|
1838
|
+
"name": "SF_TARGET_ORG",
|
|
1839
|
+
"description": "Username or alias of your default org. Overrides the target-org configuration variable."
|
|
1840
|
+
},
|
|
1841
|
+
{
|
|
1842
|
+
"name": "SF_USE_PROGRESS_BAR",
|
|
1843
|
+
"description": "Set to false to disable the progress bar when running the metadata deploy command."
|
|
1844
|
+
}
|
|
1845
|
+
]
|
|
1846
|
+
},
|
|
1847
|
+
"errorCodes": {
|
|
1848
|
+
"header": "ERROR CODES",
|
|
1849
|
+
"body": [
|
|
1850
|
+
{
|
|
1851
|
+
"name": "Succeeded (0)",
|
|
1852
|
+
"description": "The deploy succeeded."
|
|
1853
|
+
},
|
|
1854
|
+
{
|
|
1855
|
+
"name": "Canceled (1)",
|
|
1856
|
+
"description": "The deploy was canceled."
|
|
1857
|
+
},
|
|
1858
|
+
{
|
|
1859
|
+
"name": "Failed (1)",
|
|
1860
|
+
"description": "The deploy failed."
|
|
1861
|
+
},
|
|
1862
|
+
{
|
|
1863
|
+
"name": "SucceededPartial (68)",
|
|
1864
|
+
"description": "The deploy partially succeeded."
|
|
1865
|
+
},
|
|
1866
|
+
{
|
|
1867
|
+
"name": "InProgress (69)",
|
|
1868
|
+
"description": "The deploy is in progress."
|
|
1869
|
+
},
|
|
1870
|
+
{
|
|
1871
|
+
"name": "Pending (69)",
|
|
1872
|
+
"description": "The deploy is pending."
|
|
1873
|
+
},
|
|
1874
|
+
{
|
|
1875
|
+
"name": "Canceling (69)",
|
|
1876
|
+
"description": "The deploy is being canceled."
|
|
1877
|
+
}
|
|
1878
|
+
]
|
|
1879
|
+
},
|
|
1880
|
+
"isESM": true,
|
|
1881
|
+
"relativePath": [
|
|
1882
|
+
"lib",
|
|
1883
|
+
"commands",
|
|
1884
|
+
"project",
|
|
1885
|
+
"deploy",
|
|
1886
|
+
"validate.js"
|
|
1887
|
+
],
|
|
1888
|
+
"aliasPermutations": [
|
|
1889
|
+
"deploy:metadata:validate",
|
|
1890
|
+
"metadata:deploy:validate",
|
|
1891
|
+
"metadata:validate:deploy",
|
|
1892
|
+
"deploy:validate:metadata",
|
|
1893
|
+
"validate:deploy:metadata",
|
|
1894
|
+
"validate:metadata:deploy"
|
|
1895
|
+
],
|
|
1896
|
+
"permutations": [
|
|
1897
|
+
"project:deploy:validate",
|
|
1898
|
+
"deploy:project:validate",
|
|
1899
|
+
"deploy:validate:project",
|
|
1900
|
+
"project:validate:deploy",
|
|
1901
|
+
"validate:project:deploy",
|
|
1902
|
+
"validate:deploy:project"
|
|
1903
|
+
]
|
|
1904
|
+
},
|
|
1905
|
+
"project:delete:source": {
|
|
1906
|
+
"aliases": [
|
|
1907
|
+
"force:source:delete"
|
|
1908
|
+
],
|
|
1909
|
+
"args": {},
|
|
1910
|
+
"deprecateAliases": true,
|
|
1911
|
+
"description": "Use this command to delete components from orgs that don’t have source tracking. To remove deleted items from orgs that have source tracking enabled, \"<%= config.bin %> project deploy start\".\n\nWhen you run this command, both the local source file and the metadata component in the org are deleted.\n\nTo delete multiple metadata components, either set multiple --metadata <name> flags or a single --metadata flag with multiple names separated by spaces. Enclose names that contain spaces in one set of double quotes. The same syntax applies to --source-dir.",
|
|
1912
|
+
"examples": [
|
|
1913
|
+
"Delete all local Apex source files and all Apex classes from the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --metadata ApexClass --target-org my-scratch",
|
|
1914
|
+
"Delete a specific Apex class and a Profile that has a space in it from your default org; don't prompt for confirmation:\n<%= config.bin %> <%= command.id %> --metadata ApexClass:MyFabulousApexClass --metadata \"Profile: My Profile\" --no-prompt",
|
|
1915
|
+
"Run the tests that aren’t in any managed packages as part of the deletion; if the delete succeeds, and the org has source-tracking enabled, update the source tracking information:\n<%= config.bin %> <%= command.id %> --metadata ApexClass --test-level RunLocalTests --track-source",
|
|
1916
|
+
"Delete the Apex source files in a directory and the corresponding components from your default org:\n<%= config.bin %> <%= command.id %> --source-dir force-app/main/default/classes"
|
|
1917
|
+
],
|
|
1918
|
+
"flags": {
|
|
1919
|
+
"json": {
|
|
1920
|
+
"description": "Format output as json.",
|
|
1921
|
+
"helpGroup": "GLOBAL",
|
|
1922
|
+
"name": "json",
|
|
1923
|
+
"allowNo": false,
|
|
1924
|
+
"type": "boolean"
|
|
1925
|
+
},
|
|
1926
|
+
"flags-dir": {
|
|
1927
|
+
"helpGroup": "GLOBAL",
|
|
1928
|
+
"name": "flags-dir",
|
|
1929
|
+
"summary": "Import flag values from a directory.",
|
|
1930
|
+
"hasDynamicHelp": false,
|
|
1931
|
+
"multiple": false,
|
|
1932
|
+
"type": "option"
|
|
1933
|
+
},
|
|
1934
|
+
"api-version": {
|
|
1935
|
+
"aliases": [
|
|
1936
|
+
"apiversion"
|
|
1937
|
+
],
|
|
1938
|
+
"deprecateAliases": true,
|
|
1939
|
+
"description": "Override the api version used for api requests made by this command",
|
|
1940
|
+
"name": "api-version",
|
|
1941
|
+
"hasDynamicHelp": false,
|
|
1942
|
+
"multiple": false,
|
|
1943
|
+
"type": "option"
|
|
1944
|
+
},
|
|
1945
|
+
"loglevel": {
|
|
1946
|
+
"deprecated": {
|
|
1947
|
+
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
1948
|
+
},
|
|
1949
|
+
"hidden": true,
|
|
1950
|
+
"name": "loglevel",
|
|
1951
|
+
"hasDynamicHelp": false,
|
|
1952
|
+
"multiple": false,
|
|
1953
|
+
"type": "option"
|
|
1954
|
+
},
|
|
1955
|
+
"target-org": {
|
|
1956
|
+
"aliases": [
|
|
1957
|
+
"targetusername",
|
|
1958
|
+
"u"
|
|
1959
|
+
],
|
|
1960
|
+
"char": "o",
|
|
1961
|
+
"deprecateAliases": true,
|
|
1962
|
+
"name": "target-org",
|
|
1963
|
+
"noCacheDefault": true,
|
|
1964
|
+
"required": true,
|
|
1965
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
1966
|
+
"hasDynamicHelp": true,
|
|
1967
|
+
"multiple": false,
|
|
1968
|
+
"type": "option"
|
|
1969
|
+
},
|
|
1970
|
+
"check-only": {
|
|
1971
|
+
"aliases": [
|
|
1972
|
+
"checkonly"
|
|
1973
|
+
],
|
|
1974
|
+
"char": "c",
|
|
1975
|
+
"deprecateAliases": true,
|
|
1976
|
+
"description": "IMPORTANT: Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.\n\nValidates the deleted metadata and runs all Apex tests, but prevents the deletion from being saved to the org.\n\nIf you change a field type from Master-Detail to Lookup or vice versa, that change isn’t supported when using the --check-only flag to test a deletion (validation). This kind of change isn’t supported for test deletions to avoid the risk of data loss or corruption. If a change that isn’t supported for test deletions is included in a deletion package, the test deletion fails and issues an error.\n\nIf your deletion package changes a field type from Master-Detail to Lookup or vice versa, you can still validate the changes prior to deploying to Production by performing a full deletion to another test Sandbox. A full deletion includes a validation of the changes as part of the deletion process.\n\nNote: A Metadata API deletion that includes Master-Detail relationships deletes all detail records in the Recycle Bin in the following cases.\n\n 1. For a deletion with a new Master-Detail field, soft delete (send to the Recycle Bin) all detail records before proceeding to delete the Master-Detail field, or the deletion fails. During the deletion, detail records are permanently deleted from the Recycle Bin and cannot be recovered.\n\n 2. For a deletion that converts a Lookup field relationship to a Master-Detail relationship, detail records must reference a master record or be soft-deleted (sent to the Recycle Bin) for the deletion to succeed. However, a successful deletion permanently deletes any detail records in the Recycle Bin.",
|
|
1977
|
+
"name": "check-only",
|
|
1978
|
+
"summary": "Validate delete command but don't delete anything from the org or the local project.",
|
|
1979
|
+
"allowNo": false,
|
|
1980
|
+
"type": "boolean"
|
|
1981
|
+
},
|
|
1982
|
+
"wait": {
|
|
1983
|
+
"char": "w",
|
|
1984
|
+
"description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you.",
|
|
1985
|
+
"name": "wait",
|
|
1986
|
+
"summary": "Number of minutes to wait for the command to finish.",
|
|
1987
|
+
"hasDynamicHelp": true,
|
|
1988
|
+
"multiple": false,
|
|
1989
|
+
"type": "option"
|
|
1990
|
+
},
|
|
1991
|
+
"tests": {
|
|
1992
|
+
"description": "If a test name contains a space, enclose it in double quotes.\nFor multiple test names, use one of the following formats:\n\n- Repeat the flag for multiple test names: --tests Test1 --tests Test2 --tests \"Test With Space\"\n- Separate the test names with spaces: --tests Test1 Test2 \"Test With Space\"",
|
|
1993
|
+
"helpGroup": "Test",
|
|
1994
|
+
"name": "tests",
|
|
1995
|
+
"summary": "Apex tests to run when --test-level is RunSpecifiedTests.",
|
|
1996
|
+
"hasDynamicHelp": false,
|
|
1997
|
+
"multiple": true,
|
|
1998
|
+
"type": "option"
|
|
1999
|
+
},
|
|
2000
|
+
"test-level": {
|
|
2001
|
+
"aliases": [
|
|
2002
|
+
"testlevel"
|
|
2003
|
+
],
|
|
2004
|
+
"char": "l",
|
|
2005
|
+
"deprecateAliases": true,
|
|
2006
|
+
"description": "Valid values are:\n\n- NoTestRun — No tests are run. This test level applies only to deployments to development environments, such as sandbox, Developer Edition, or trial orgs. This test level is the default for development environments.\n\n- RunSpecifiedTests — Runs only the tests that you specify with the --tests flag. Code coverage requirements differ from the default coverage requirements when using this test level. Executed tests must comprise a minimum of 75% code coverage for each class and trigger in the deployment package. This coverage is computed for each class and trigger individually and is different than the overall coverage percentage.\n\n- RunLocalTests — All tests in your org are run, except the ones that originate from installed managed and unlocked packages. This test level is the default for production deployments that include Apex classes or triggers.\n\n- RunAllTestsInOrg — All tests in your org are run, including tests of managed packages.\n\n- RunRelevantTests (Beta) — Runs only tests that are relevant to the files being deployed. Salesforce automatically identifies the relevant tests based on an analysis of the deployment payload and the payload dependencies. For fine-grained control, you can also annotate test classes so that they always run in certain conditions. See \"@IsTest Annotation\" in the \"Apex Developer Guide\" (https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_annotation_isTest.htm). Each class and trigger in the deployment package must be covered by the executed tests for a minimum of 75% code coverage. This coverage is computed for each class and triggers individually and is different than the overall coverage percentage.\n\nIf you don’t specify a test level, the default behavior depends on the contents of your deployment package and target org. For more information, see \"Running Tests in a Deployment\" (https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_deploy_running_tests.htm) in the \"Metadata API Developer Guide\".",
|
|
2007
|
+
"helpGroup": "Test",
|
|
2008
|
+
"name": "test-level",
|
|
2009
|
+
"summary": "Deployment Apex testing level.",
|
|
2010
|
+
"hasDynamicHelp": false,
|
|
2011
|
+
"multiple": false,
|
|
2012
|
+
"options": [
|
|
2013
|
+
"NoTestRun",
|
|
2014
|
+
"RunSpecifiedTests",
|
|
2015
|
+
"RunLocalTests",
|
|
2016
|
+
"RunAllTestsInOrg",
|
|
2017
|
+
"RunRelevantTests"
|
|
2018
|
+
],
|
|
2019
|
+
"type": "option"
|
|
2020
|
+
},
|
|
2021
|
+
"no-prompt": {
|
|
2022
|
+
"aliases": [
|
|
2023
|
+
"noprompt"
|
|
2024
|
+
],
|
|
2025
|
+
"char": "r",
|
|
2026
|
+
"deprecateAliases": true,
|
|
2027
|
+
"name": "no-prompt",
|
|
2028
|
+
"summary": "Don't prompt for delete confirmation.",
|
|
2029
|
+
"allowNo": false,
|
|
2030
|
+
"type": "boolean"
|
|
2031
|
+
},
|
|
2032
|
+
"metadata": {
|
|
2033
|
+
"char": "m",
|
|
2034
|
+
"description": "If you specify this flag, don’t specify --source-dir.",
|
|
2035
|
+
"name": "metadata",
|
|
2036
|
+
"summary": "Metadata components to delete.",
|
|
2037
|
+
"delimiter": ",",
|
|
2038
|
+
"hasDynamicHelp": false,
|
|
2039
|
+
"multiple": true,
|
|
2040
|
+
"type": "option"
|
|
2041
|
+
},
|
|
2042
|
+
"source-dir": {
|
|
2043
|
+
"aliases": [
|
|
2044
|
+
"sourcepath"
|
|
2045
|
+
],
|
|
2046
|
+
"char": "p",
|
|
2047
|
+
"deprecateAliases": true,
|
|
2048
|
+
"description": "The supplied paths can be a single file (in which case the operation is applied to only one file) or a folder (in which case the operation is applied to all metadata types in the directory and its sub-directories).\n\nIf you specify this flag, don’t specify --metadata.",
|
|
2049
|
+
"name": "source-dir",
|
|
2050
|
+
"summary": "Source file paths to delete.",
|
|
2051
|
+
"delimiter": ",",
|
|
2052
|
+
"hasDynamicHelp": false,
|
|
2053
|
+
"multiple": true,
|
|
2054
|
+
"type": "option"
|
|
2055
|
+
},
|
|
2056
|
+
"track-source": {
|
|
2057
|
+
"aliases": [
|
|
2058
|
+
"tracksource"
|
|
2059
|
+
],
|
|
2060
|
+
"char": "t",
|
|
2061
|
+
"deprecateAliases": true,
|
|
2062
|
+
"exclusive": [
|
|
2063
|
+
"check-only"
|
|
2064
|
+
],
|
|
2065
|
+
"name": "track-source",
|
|
2066
|
+
"summary": "If the delete succeeds, update the source tracking information.",
|
|
2067
|
+
"allowNo": false,
|
|
2068
|
+
"type": "boolean"
|
|
2069
|
+
},
|
|
2070
|
+
"force-overwrite": {
|
|
2071
|
+
"aliases": [
|
|
2072
|
+
"forceoverwrite"
|
|
2073
|
+
],
|
|
2074
|
+
"char": "f",
|
|
2075
|
+
"dependsOn": [
|
|
2076
|
+
"track-source"
|
|
2077
|
+
],
|
|
2078
|
+
"deprecateAliases": true,
|
|
2079
|
+
"name": "force-overwrite",
|
|
2080
|
+
"summary": "Ignore conflict warnings and overwrite changes to the org.",
|
|
2081
|
+
"allowNo": false,
|
|
2082
|
+
"type": "boolean"
|
|
2083
|
+
},
|
|
2084
|
+
"verbose": {
|
|
2085
|
+
"name": "verbose",
|
|
2086
|
+
"summary": "Verbose output of the delete result.",
|
|
2087
|
+
"allowNo": false,
|
|
2088
|
+
"type": "boolean"
|
|
2089
|
+
}
|
|
2090
|
+
},
|
|
2091
|
+
"hasDynamicHelp": true,
|
|
2092
|
+
"hiddenAliases": [],
|
|
2093
|
+
"id": "project:delete:source",
|
|
2094
|
+
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
2095
|
+
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
2096
|
+
"pluginType": "core",
|
|
2097
|
+
"strict": true,
|
|
2098
|
+
"summary": "Delete source from your project and from a non-source-tracked org.",
|
|
2099
|
+
"enableJsonFlag": true,
|
|
2100
|
+
"requiresProject": true,
|
|
2101
|
+
"isESM": true,
|
|
2102
|
+
"relativePath": [
|
|
2103
|
+
"lib",
|
|
2104
|
+
"commands",
|
|
2105
|
+
"project",
|
|
2106
|
+
"delete",
|
|
2107
|
+
"source.js"
|
|
2108
|
+
],
|
|
2109
|
+
"aliasPermutations": [
|
|
2110
|
+
"force:source:delete",
|
|
2111
|
+
"source:force:delete",
|
|
2112
|
+
"source:delete:force",
|
|
2113
|
+
"force:delete:source",
|
|
2114
|
+
"delete:force:source",
|
|
2115
|
+
"delete:source:force"
|
|
2116
|
+
],
|
|
2117
|
+
"permutations": [
|
|
2118
|
+
"project:delete:source",
|
|
2119
|
+
"delete:project:source",
|
|
2120
|
+
"delete:source:project",
|
|
2121
|
+
"project:source:delete",
|
|
2122
|
+
"source:project:delete",
|
|
2123
|
+
"source:delete:project"
|
|
2124
|
+
]
|
|
2125
|
+
},
|
|
2126
|
+
"project:delete:tracking": {
|
|
2127
|
+
"aliases": [
|
|
2128
|
+
"force:source:tracking:clear"
|
|
2129
|
+
],
|
|
2130
|
+
"args": {},
|
|
2131
|
+
"deprecateAliases": true,
|
|
2132
|
+
"description": "WARNING: This command deletes or overwrites all existing source tracking files. Use with extreme caution.\n\nDeletes all local source tracking information. When you next run 'project deploy preview', Salesforce CLI displays all local and remote files as changed, and any files with the same name are listed as conflicts.",
|
|
2133
|
+
"examples": [
|
|
2134
|
+
"Delete local source tracking for the org with alias \"my-scratch\":\n$ <%= config.bin %> <%= command.id %> --target-org my-scratch"
|
|
2135
|
+
],
|
|
2136
|
+
"flags": {
|
|
2137
|
+
"json": {
|
|
2138
|
+
"description": "Format output as json.",
|
|
2139
|
+
"helpGroup": "GLOBAL",
|
|
2140
|
+
"name": "json",
|
|
2141
|
+
"allowNo": false,
|
|
2142
|
+
"type": "boolean"
|
|
2143
|
+
},
|
|
2144
|
+
"flags-dir": {
|
|
2145
|
+
"helpGroup": "GLOBAL",
|
|
2146
|
+
"name": "flags-dir",
|
|
2147
|
+
"summary": "Import flag values from a directory.",
|
|
2148
|
+
"hasDynamicHelp": false,
|
|
2149
|
+
"multiple": false,
|
|
2150
|
+
"type": "option"
|
|
2151
|
+
},
|
|
2152
|
+
"api-version": {
|
|
2153
|
+
"aliases": [
|
|
2154
|
+
"apiversion"
|
|
2151
2155
|
],
|
|
2152
|
-
"
|
|
2153
|
-
"
|
|
2154
|
-
"
|
|
2156
|
+
"deprecateAliases": true,
|
|
2157
|
+
"description": "Override the api version used for api requests made by this command",
|
|
2158
|
+
"name": "api-version",
|
|
2159
|
+
"hasDynamicHelp": false,
|
|
2160
|
+
"multiple": false,
|
|
2161
|
+
"type": "option"
|
|
2162
|
+
},
|
|
2163
|
+
"loglevel": {
|
|
2164
|
+
"deprecated": {
|
|
2165
|
+
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
2166
|
+
},
|
|
2167
|
+
"hidden": true,
|
|
2168
|
+
"name": "loglevel",
|
|
2155
2169
|
"hasDynamicHelp": false,
|
|
2156
2170
|
"multiple": false,
|
|
2157
2171
|
"type": "option"
|
|
2172
|
+
},
|
|
2173
|
+
"target-org": {
|
|
2174
|
+
"aliases": [
|
|
2175
|
+
"targetusername",
|
|
2176
|
+
"u"
|
|
2177
|
+
],
|
|
2178
|
+
"char": "o",
|
|
2179
|
+
"deprecateAliases": true,
|
|
2180
|
+
"name": "target-org",
|
|
2181
|
+
"noCacheDefault": true,
|
|
2182
|
+
"required": true,
|
|
2183
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
2184
|
+
"hasDynamicHelp": true,
|
|
2185
|
+
"multiple": false,
|
|
2186
|
+
"type": "option"
|
|
2187
|
+
},
|
|
2188
|
+
"no-prompt": {
|
|
2189
|
+
"aliases": [
|
|
2190
|
+
"noprompt"
|
|
2191
|
+
],
|
|
2192
|
+
"char": "p",
|
|
2193
|
+
"deprecateAliases": true,
|
|
2194
|
+
"name": "no-prompt",
|
|
2195
|
+
"summary": "Don't prompt for source tracking override confirmation.",
|
|
2196
|
+
"allowNo": false,
|
|
2197
|
+
"type": "boolean"
|
|
2158
2198
|
}
|
|
2159
2199
|
},
|
|
2160
2200
|
"hasDynamicHelp": true,
|
|
2161
2201
|
"hiddenAliases": [],
|
|
2162
|
-
"id": "project:
|
|
2202
|
+
"id": "project:delete:tracking",
|
|
2163
2203
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
2164
2204
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
2165
2205
|
"pluginType": "core",
|
|
2166
2206
|
"strict": true,
|
|
2167
|
-
"summary": "
|
|
2207
|
+
"summary": "Delete all local source tracking information.",
|
|
2168
2208
|
"enableJsonFlag": true,
|
|
2169
|
-
"
|
|
2170
|
-
"header": "CONFIGURATION VARIABLES",
|
|
2171
|
-
"body": [
|
|
2172
|
-
{
|
|
2173
|
-
"name": "target-org",
|
|
2174
|
-
"description": "Username or alias of the org that all commands run against by default. (sf only)"
|
|
2175
|
-
},
|
|
2176
|
-
{
|
|
2177
|
-
"name": "org-api-version",
|
|
2178
|
-
"description": "API version of your project. Default: API version of your Dev Hub org."
|
|
2179
|
-
}
|
|
2180
|
-
]
|
|
2181
|
-
},
|
|
2182
|
-
"envVariablesSection": {
|
|
2183
|
-
"header": "ENVIRONMENT VARIABLES",
|
|
2184
|
-
"body": [
|
|
2185
|
-
{
|
|
2186
|
-
"name": "SF_TARGET_ORG",
|
|
2187
|
-
"description": "Username or alias of your default org. Overrides the target-org configuration variable."
|
|
2188
|
-
},
|
|
2189
|
-
{
|
|
2190
|
-
"name": "SF_USE_PROGRESS_BAR",
|
|
2191
|
-
"description": "Set to false to disable the progress bar when running the metadata deploy command."
|
|
2192
|
-
}
|
|
2193
|
-
]
|
|
2194
|
-
},
|
|
2195
|
-
"errorCodes": {
|
|
2196
|
-
"header": "ERROR CODES",
|
|
2197
|
-
"body": [
|
|
2198
|
-
{
|
|
2199
|
-
"name": "Succeeded (0)",
|
|
2200
|
-
"description": "The deploy succeeded."
|
|
2201
|
-
},
|
|
2202
|
-
{
|
|
2203
|
-
"name": "Canceled (1)",
|
|
2204
|
-
"description": "The deploy was canceled."
|
|
2205
|
-
},
|
|
2206
|
-
{
|
|
2207
|
-
"name": "Failed (1)",
|
|
2208
|
-
"description": "The deploy failed."
|
|
2209
|
-
},
|
|
2210
|
-
{
|
|
2211
|
-
"name": "SucceededPartial (68)",
|
|
2212
|
-
"description": "The deploy partially succeeded."
|
|
2213
|
-
},
|
|
2214
|
-
{
|
|
2215
|
-
"name": "InProgress (69)",
|
|
2216
|
-
"description": "The deploy is in progress."
|
|
2217
|
-
},
|
|
2218
|
-
{
|
|
2219
|
-
"name": "Pending (69)",
|
|
2220
|
-
"description": "The deploy is pending."
|
|
2221
|
-
},
|
|
2222
|
-
{
|
|
2223
|
-
"name": "Canceling (69)",
|
|
2224
|
-
"description": "The deploy is being canceled."
|
|
2225
|
-
}
|
|
2226
|
-
]
|
|
2227
|
-
},
|
|
2209
|
+
"requiresProject": true,
|
|
2228
2210
|
"isESM": true,
|
|
2229
2211
|
"relativePath": [
|
|
2230
2212
|
"lib",
|
|
2231
2213
|
"commands",
|
|
2232
2214
|
"project",
|
|
2233
|
-
"
|
|
2234
|
-
"
|
|
2215
|
+
"delete",
|
|
2216
|
+
"tracking.js"
|
|
2235
2217
|
],
|
|
2236
2218
|
"aliasPermutations": [
|
|
2237
|
-
"
|
|
2238
|
-
"
|
|
2239
|
-
"
|
|
2240
|
-
"
|
|
2241
|
-
"
|
|
2242
|
-
"
|
|
2219
|
+
"force:source:tracking:clear",
|
|
2220
|
+
"source:force:tracking:clear",
|
|
2221
|
+
"source:tracking:force:clear",
|
|
2222
|
+
"source:tracking:clear:force",
|
|
2223
|
+
"force:tracking:source:clear",
|
|
2224
|
+
"tracking:force:source:clear",
|
|
2225
|
+
"tracking:source:force:clear",
|
|
2226
|
+
"tracking:source:clear:force",
|
|
2227
|
+
"force:tracking:clear:source",
|
|
2228
|
+
"tracking:force:clear:source",
|
|
2229
|
+
"tracking:clear:force:source",
|
|
2230
|
+
"tracking:clear:source:force",
|
|
2231
|
+
"force:source:clear:tracking",
|
|
2232
|
+
"source:force:clear:tracking",
|
|
2233
|
+
"source:clear:force:tracking",
|
|
2234
|
+
"source:clear:tracking:force",
|
|
2235
|
+
"force:clear:source:tracking",
|
|
2236
|
+
"clear:force:source:tracking",
|
|
2237
|
+
"clear:source:force:tracking",
|
|
2238
|
+
"clear:source:tracking:force",
|
|
2239
|
+
"force:clear:tracking:source",
|
|
2240
|
+
"clear:force:tracking:source",
|
|
2241
|
+
"clear:tracking:force:source",
|
|
2242
|
+
"clear:tracking:source:force"
|
|
2243
2243
|
],
|
|
2244
2244
|
"permutations": [
|
|
2245
|
-
"project:
|
|
2246
|
-
"
|
|
2247
|
-
"
|
|
2248
|
-
"project:
|
|
2249
|
-
"
|
|
2250
|
-
"
|
|
2245
|
+
"project:delete:tracking",
|
|
2246
|
+
"delete:project:tracking",
|
|
2247
|
+
"delete:tracking:project",
|
|
2248
|
+
"project:tracking:delete",
|
|
2249
|
+
"tracking:project:delete",
|
|
2250
|
+
"tracking:delete:project"
|
|
2251
2251
|
]
|
|
2252
2252
|
},
|
|
2253
2253
|
"project:generate:manifest": {
|
|
@@ -2506,27 +2506,163 @@
|
|
|
2506
2506
|
"multiple": false,
|
|
2507
2507
|
"type": "option"
|
|
2508
2508
|
},
|
|
2509
|
-
"source-dir": {
|
|
2509
|
+
"source-dir": {
|
|
2510
|
+
"aliases": [
|
|
2511
|
+
"sourcepath"
|
|
2512
|
+
],
|
|
2513
|
+
"char": "p",
|
|
2514
|
+
"deprecateAliases": true,
|
|
2515
|
+
"name": "source-dir",
|
|
2516
|
+
"summary": "File or directory of files that the command checks for foreceignored files.",
|
|
2517
|
+
"hasDynamicHelp": false,
|
|
2518
|
+
"multiple": false,
|
|
2519
|
+
"type": "option"
|
|
2520
|
+
}
|
|
2521
|
+
},
|
|
2522
|
+
"hasDynamicHelp": false,
|
|
2523
|
+
"hiddenAliases": [],
|
|
2524
|
+
"id": "project:list:ignored",
|
|
2525
|
+
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
2526
|
+
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
2527
|
+
"pluginType": "core",
|
|
2528
|
+
"strict": true,
|
|
2529
|
+
"summary": "Check your local project package directories for forceignored files.",
|
|
2530
|
+
"enableJsonFlag": true,
|
|
2531
|
+
"requiresProject": true,
|
|
2532
|
+
"isESM": true,
|
|
2533
|
+
"relativePath": [
|
|
2534
|
+
"lib",
|
|
2535
|
+
"commands",
|
|
2536
|
+
"project",
|
|
2537
|
+
"list",
|
|
2538
|
+
"ignored.js"
|
|
2539
|
+
],
|
|
2540
|
+
"aliasPermutations": [
|
|
2541
|
+
"force:source:ignored:list",
|
|
2542
|
+
"source:force:ignored:list",
|
|
2543
|
+
"source:ignored:force:list",
|
|
2544
|
+
"source:ignored:list:force",
|
|
2545
|
+
"force:ignored:source:list",
|
|
2546
|
+
"ignored:force:source:list",
|
|
2547
|
+
"ignored:source:force:list",
|
|
2548
|
+
"ignored:source:list:force",
|
|
2549
|
+
"force:ignored:list:source",
|
|
2550
|
+
"ignored:force:list:source",
|
|
2551
|
+
"ignored:list:force:source",
|
|
2552
|
+
"ignored:list:source:force",
|
|
2553
|
+
"force:source:list:ignored",
|
|
2554
|
+
"source:force:list:ignored",
|
|
2555
|
+
"source:list:force:ignored",
|
|
2556
|
+
"source:list:ignored:force",
|
|
2557
|
+
"force:list:source:ignored",
|
|
2558
|
+
"list:force:source:ignored",
|
|
2559
|
+
"list:source:force:ignored",
|
|
2560
|
+
"list:source:ignored:force",
|
|
2561
|
+
"force:list:ignored:source",
|
|
2562
|
+
"list:force:ignored:source",
|
|
2563
|
+
"list:ignored:force:source",
|
|
2564
|
+
"list:ignored:source:force"
|
|
2565
|
+
],
|
|
2566
|
+
"permutations": [
|
|
2567
|
+
"project:list:ignored",
|
|
2568
|
+
"list:project:ignored",
|
|
2569
|
+
"list:ignored:project",
|
|
2570
|
+
"project:ignored:list",
|
|
2571
|
+
"ignored:project:list",
|
|
2572
|
+
"ignored:list:project"
|
|
2573
|
+
]
|
|
2574
|
+
},
|
|
2575
|
+
"project:reset:tracking": {
|
|
2576
|
+
"aliases": [
|
|
2577
|
+
"force:source:tracking:reset"
|
|
2578
|
+
],
|
|
2579
|
+
"args": {},
|
|
2580
|
+
"deprecateAliases": true,
|
|
2581
|
+
"description": "WARNING: This command deletes or overwrites all existing source tracking files. Use with extreme caution.\n\nResets local and remote source tracking so that Salesforce CLI no longer registers differences between your local files and those in the org. When you next run 'project deploy preview', Salesforce CLI returns no results, even though conflicts might actually exist. Salesforce CLI then resumes tracking new source changes as usual.\n\nUse the --revision flag to reset source tracking to a specific revision number of an org source member. To get the revision number, query the SourceMember Tooling API object with the 'data soql' command. For example:\n\n <%= config.bin %> data query --query \"SELECT MemberName, MemberType, RevisionCounter FROM SourceMember\" --use-tooling-api --target-org my-scratch",
|
|
2582
|
+
"examples": [
|
|
2583
|
+
"Reset source tracking for the org with alias \"my-scratch\":\n$ <%= config.bin %> <%= command.id %> --target-org my-scratch",
|
|
2584
|
+
"Reset source tracking to revision number 30 for your default org:\n$ <%= config.bin %> <%= command.id %> --revision 30"
|
|
2585
|
+
],
|
|
2586
|
+
"flags": {
|
|
2587
|
+
"json": {
|
|
2588
|
+
"description": "Format output as json.",
|
|
2589
|
+
"helpGroup": "GLOBAL",
|
|
2590
|
+
"name": "json",
|
|
2591
|
+
"allowNo": false,
|
|
2592
|
+
"type": "boolean"
|
|
2593
|
+
},
|
|
2594
|
+
"flags-dir": {
|
|
2595
|
+
"helpGroup": "GLOBAL",
|
|
2596
|
+
"name": "flags-dir",
|
|
2597
|
+
"summary": "Import flag values from a directory.",
|
|
2598
|
+
"hasDynamicHelp": false,
|
|
2599
|
+
"multiple": false,
|
|
2600
|
+
"type": "option"
|
|
2601
|
+
},
|
|
2602
|
+
"target-org": {
|
|
2603
|
+
"aliases": [
|
|
2604
|
+
"targetusername",
|
|
2605
|
+
"u"
|
|
2606
|
+
],
|
|
2607
|
+
"char": "o",
|
|
2608
|
+
"deprecateAliases": true,
|
|
2609
|
+
"name": "target-org",
|
|
2610
|
+
"noCacheDefault": true,
|
|
2611
|
+
"required": true,
|
|
2612
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
2613
|
+
"hasDynamicHelp": true,
|
|
2614
|
+
"multiple": false,
|
|
2615
|
+
"type": "option"
|
|
2616
|
+
},
|
|
2617
|
+
"api-version": {
|
|
2510
2618
|
"aliases": [
|
|
2511
|
-
"
|
|
2619
|
+
"apiversion"
|
|
2512
2620
|
],
|
|
2513
|
-
"char": "p",
|
|
2514
2621
|
"deprecateAliases": true,
|
|
2515
|
-
"
|
|
2516
|
-
"
|
|
2622
|
+
"description": "Override the api version used for api requests made by this command",
|
|
2623
|
+
"name": "api-version",
|
|
2624
|
+
"hasDynamicHelp": false,
|
|
2625
|
+
"multiple": false,
|
|
2626
|
+
"type": "option"
|
|
2627
|
+
},
|
|
2628
|
+
"loglevel": {
|
|
2629
|
+
"deprecated": {
|
|
2630
|
+
"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."
|
|
2631
|
+
},
|
|
2632
|
+
"hidden": true,
|
|
2633
|
+
"name": "loglevel",
|
|
2634
|
+
"hasDynamicHelp": false,
|
|
2635
|
+
"multiple": false,
|
|
2636
|
+
"type": "option"
|
|
2637
|
+
},
|
|
2638
|
+
"revision": {
|
|
2639
|
+
"char": "r",
|
|
2640
|
+
"name": "revision",
|
|
2641
|
+
"summary": "SourceMember revision counter number to reset to.",
|
|
2517
2642
|
"hasDynamicHelp": false,
|
|
2518
2643
|
"multiple": false,
|
|
2519
2644
|
"type": "option"
|
|
2645
|
+
},
|
|
2646
|
+
"no-prompt": {
|
|
2647
|
+
"aliases": [
|
|
2648
|
+
"noprompt"
|
|
2649
|
+
],
|
|
2650
|
+
"char": "p",
|
|
2651
|
+
"deprecateAliases": true,
|
|
2652
|
+
"name": "no-prompt",
|
|
2653
|
+
"summary": "Don't prompt for source tracking override confirmation.",
|
|
2654
|
+
"allowNo": false,
|
|
2655
|
+
"type": "boolean"
|
|
2520
2656
|
}
|
|
2521
2657
|
},
|
|
2522
|
-
"hasDynamicHelp":
|
|
2658
|
+
"hasDynamicHelp": true,
|
|
2523
2659
|
"hiddenAliases": [],
|
|
2524
|
-
"id": "project:
|
|
2660
|
+
"id": "project:reset:tracking",
|
|
2525
2661
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
2526
2662
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
2527
2663
|
"pluginType": "core",
|
|
2528
2664
|
"strict": true,
|
|
2529
|
-
"summary": "
|
|
2665
|
+
"summary": "Reset local and remote source tracking.",
|
|
2530
2666
|
"enableJsonFlag": true,
|
|
2531
2667
|
"requiresProject": true,
|
|
2532
2668
|
"isESM": true,
|
|
@@ -2534,42 +2670,42 @@
|
|
|
2534
2670
|
"lib",
|
|
2535
2671
|
"commands",
|
|
2536
2672
|
"project",
|
|
2537
|
-
"
|
|
2538
|
-
"
|
|
2673
|
+
"reset",
|
|
2674
|
+
"tracking.js"
|
|
2539
2675
|
],
|
|
2540
2676
|
"aliasPermutations": [
|
|
2541
|
-
"force:source:
|
|
2542
|
-
"source:force:
|
|
2543
|
-
"source:
|
|
2544
|
-
"source:
|
|
2545
|
-
"force:
|
|
2546
|
-
"
|
|
2547
|
-
"
|
|
2548
|
-
"
|
|
2549
|
-
"force:
|
|
2550
|
-
"
|
|
2551
|
-
"
|
|
2552
|
-
"
|
|
2553
|
-
"force:source:
|
|
2554
|
-
"source:force:
|
|
2555
|
-
"source:
|
|
2556
|
-
"source:
|
|
2557
|
-
"force:
|
|
2558
|
-
"
|
|
2559
|
-
"
|
|
2560
|
-
"
|
|
2561
|
-
"force:
|
|
2562
|
-
"
|
|
2563
|
-
"
|
|
2564
|
-
"
|
|
2677
|
+
"force:source:tracking:reset",
|
|
2678
|
+
"source:force:tracking:reset",
|
|
2679
|
+
"source:tracking:force:reset",
|
|
2680
|
+
"source:tracking:reset:force",
|
|
2681
|
+
"force:tracking:source:reset",
|
|
2682
|
+
"tracking:force:source:reset",
|
|
2683
|
+
"tracking:source:force:reset",
|
|
2684
|
+
"tracking:source:reset:force",
|
|
2685
|
+
"force:tracking:reset:source",
|
|
2686
|
+
"tracking:force:reset:source",
|
|
2687
|
+
"tracking:reset:force:source",
|
|
2688
|
+
"tracking:reset:source:force",
|
|
2689
|
+
"force:source:reset:tracking",
|
|
2690
|
+
"source:force:reset:tracking",
|
|
2691
|
+
"source:reset:force:tracking",
|
|
2692
|
+
"source:reset:tracking:force",
|
|
2693
|
+
"force:reset:source:tracking",
|
|
2694
|
+
"reset:force:source:tracking",
|
|
2695
|
+
"reset:source:force:tracking",
|
|
2696
|
+
"reset:source:tracking:force",
|
|
2697
|
+
"force:reset:tracking:source",
|
|
2698
|
+
"reset:force:tracking:source",
|
|
2699
|
+
"reset:tracking:force:source",
|
|
2700
|
+
"reset:tracking:source:force"
|
|
2565
2701
|
],
|
|
2566
2702
|
"permutations": [
|
|
2567
|
-
"project:
|
|
2568
|
-
"
|
|
2569
|
-
"
|
|
2570
|
-
"project:
|
|
2571
|
-
"
|
|
2572
|
-
"
|
|
2703
|
+
"project:reset:tracking",
|
|
2704
|
+
"reset:project:tracking",
|
|
2705
|
+
"reset:tracking:project",
|
|
2706
|
+
"project:tracking:reset",
|
|
2707
|
+
"tracking:project:reset",
|
|
2708
|
+
"tracking:reset:project"
|
|
2573
2709
|
]
|
|
2574
2710
|
},
|
|
2575
2711
|
"project:retrieve:preview": {
|
|
@@ -2916,143 +3052,7 @@
|
|
|
2916
3052
|
"start:project:retrieve",
|
|
2917
3053
|
"start:retrieve:project"
|
|
2918
3054
|
]
|
|
2919
|
-
},
|
|
2920
|
-
"project:reset:tracking": {
|
|
2921
|
-
"aliases": [
|
|
2922
|
-
"force:source:tracking:reset"
|
|
2923
|
-
],
|
|
2924
|
-
"args": {},
|
|
2925
|
-
"deprecateAliases": true,
|
|
2926
|
-
"description": "WARNING: This command deletes or overwrites all existing source tracking files. Use with extreme caution.\n\nResets local and remote source tracking so that Salesforce CLI no longer registers differences between your local files and those in the org. When you next run 'project deploy preview', Salesforce CLI returns no results, even though conflicts might actually exist. Salesforce CLI then resumes tracking new source changes as usual.\n\nUse the --revision flag to reset source tracking to a specific revision number of an org source member. To get the revision number, query the SourceMember Tooling API object with the 'data soql' command. For example:\n\n <%= config.bin %> data query --query \"SELECT MemberName, MemberType, RevisionCounter FROM SourceMember\" --use-tooling-api --target-org my-scratch",
|
|
2927
|
-
"examples": [
|
|
2928
|
-
"Reset source tracking for the org with alias \"my-scratch\":\n$ <%= config.bin %> <%= command.id %> --target-org my-scratch",
|
|
2929
|
-
"Reset source tracking to revision number 30 for your default org:\n$ <%= config.bin %> <%= command.id %> --revision 30"
|
|
2930
|
-
],
|
|
2931
|
-
"flags": {
|
|
2932
|
-
"json": {
|
|
2933
|
-
"description": "Format output as json.",
|
|
2934
|
-
"helpGroup": "GLOBAL",
|
|
2935
|
-
"name": "json",
|
|
2936
|
-
"allowNo": false,
|
|
2937
|
-
"type": "boolean"
|
|
2938
|
-
},
|
|
2939
|
-
"flags-dir": {
|
|
2940
|
-
"helpGroup": "GLOBAL",
|
|
2941
|
-
"name": "flags-dir",
|
|
2942
|
-
"summary": "Import flag values from a directory.",
|
|
2943
|
-
"hasDynamicHelp": false,
|
|
2944
|
-
"multiple": false,
|
|
2945
|
-
"type": "option"
|
|
2946
|
-
},
|
|
2947
|
-
"target-org": {
|
|
2948
|
-
"aliases": [
|
|
2949
|
-
"targetusername",
|
|
2950
|
-
"u"
|
|
2951
|
-
],
|
|
2952
|
-
"char": "o",
|
|
2953
|
-
"deprecateAliases": true,
|
|
2954
|
-
"name": "target-org",
|
|
2955
|
-
"noCacheDefault": true,
|
|
2956
|
-
"required": true,
|
|
2957
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
2958
|
-
"hasDynamicHelp": true,
|
|
2959
|
-
"multiple": false,
|
|
2960
|
-
"type": "option"
|
|
2961
|
-
},
|
|
2962
|
-
"api-version": {
|
|
2963
|
-
"aliases": [
|
|
2964
|
-
"apiversion"
|
|
2965
|
-
],
|
|
2966
|
-
"deprecateAliases": true,
|
|
2967
|
-
"description": "Override the api version used for api requests made by this command",
|
|
2968
|
-
"name": "api-version",
|
|
2969
|
-
"hasDynamicHelp": false,
|
|
2970
|
-
"multiple": false,
|
|
2971
|
-
"type": "option"
|
|
2972
|
-
},
|
|
2973
|
-
"loglevel": {
|
|
2974
|
-
"deprecated": {
|
|
2975
|
-
"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."
|
|
2976
|
-
},
|
|
2977
|
-
"hidden": true,
|
|
2978
|
-
"name": "loglevel",
|
|
2979
|
-
"hasDynamicHelp": false,
|
|
2980
|
-
"multiple": false,
|
|
2981
|
-
"type": "option"
|
|
2982
|
-
},
|
|
2983
|
-
"revision": {
|
|
2984
|
-
"char": "r",
|
|
2985
|
-
"name": "revision",
|
|
2986
|
-
"summary": "SourceMember revision counter number to reset to.",
|
|
2987
|
-
"hasDynamicHelp": false,
|
|
2988
|
-
"multiple": false,
|
|
2989
|
-
"type": "option"
|
|
2990
|
-
},
|
|
2991
|
-
"no-prompt": {
|
|
2992
|
-
"aliases": [
|
|
2993
|
-
"noprompt"
|
|
2994
|
-
],
|
|
2995
|
-
"char": "p",
|
|
2996
|
-
"deprecateAliases": true,
|
|
2997
|
-
"name": "no-prompt",
|
|
2998
|
-
"summary": "Don't prompt for source tracking override confirmation.",
|
|
2999
|
-
"allowNo": false,
|
|
3000
|
-
"type": "boolean"
|
|
3001
|
-
}
|
|
3002
|
-
},
|
|
3003
|
-
"hasDynamicHelp": true,
|
|
3004
|
-
"hiddenAliases": [],
|
|
3005
|
-
"id": "project:reset:tracking",
|
|
3006
|
-
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
3007
|
-
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
3008
|
-
"pluginType": "core",
|
|
3009
|
-
"strict": true,
|
|
3010
|
-
"summary": "Reset local and remote source tracking.",
|
|
3011
|
-
"enableJsonFlag": true,
|
|
3012
|
-
"requiresProject": true,
|
|
3013
|
-
"isESM": true,
|
|
3014
|
-
"relativePath": [
|
|
3015
|
-
"lib",
|
|
3016
|
-
"commands",
|
|
3017
|
-
"project",
|
|
3018
|
-
"reset",
|
|
3019
|
-
"tracking.js"
|
|
3020
|
-
],
|
|
3021
|
-
"aliasPermutations": [
|
|
3022
|
-
"force:source:tracking:reset",
|
|
3023
|
-
"source:force:tracking:reset",
|
|
3024
|
-
"source:tracking:force:reset",
|
|
3025
|
-
"source:tracking:reset:force",
|
|
3026
|
-
"force:tracking:source:reset",
|
|
3027
|
-
"tracking:force:source:reset",
|
|
3028
|
-
"tracking:source:force:reset",
|
|
3029
|
-
"tracking:source:reset:force",
|
|
3030
|
-
"force:tracking:reset:source",
|
|
3031
|
-
"tracking:force:reset:source",
|
|
3032
|
-
"tracking:reset:force:source",
|
|
3033
|
-
"tracking:reset:source:force",
|
|
3034
|
-
"force:source:reset:tracking",
|
|
3035
|
-
"source:force:reset:tracking",
|
|
3036
|
-
"source:reset:force:tracking",
|
|
3037
|
-
"source:reset:tracking:force",
|
|
3038
|
-
"force:reset:source:tracking",
|
|
3039
|
-
"reset:force:source:tracking",
|
|
3040
|
-
"reset:source:force:tracking",
|
|
3041
|
-
"reset:source:tracking:force",
|
|
3042
|
-
"force:reset:tracking:source",
|
|
3043
|
-
"reset:force:tracking:source",
|
|
3044
|
-
"reset:tracking:force:source",
|
|
3045
|
-
"reset:tracking:source:force"
|
|
3046
|
-
],
|
|
3047
|
-
"permutations": [
|
|
3048
|
-
"project:reset:tracking",
|
|
3049
|
-
"reset:project:tracking",
|
|
3050
|
-
"reset:tracking:project",
|
|
3051
|
-
"project:tracking:reset",
|
|
3052
|
-
"tracking:project:reset",
|
|
3053
|
-
"tracking:reset:project"
|
|
3054
|
-
]
|
|
3055
3055
|
}
|
|
3056
3056
|
},
|
|
3057
|
-
"version": "3.24.
|
|
3057
|
+
"version": "3.24.10"
|
|
3058
3058
|
}
|