@salesforce/plugin-deploy-retrieve 3.24.6 → 3.24.8
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/deploy/report.d.ts +2 -1
- package/lib/commands/project/deploy/report.js +2 -1
- package/lib/commands/project/deploy/report.js.map +1 -1
- package/lib/commands/project/deploy/resume.js +1 -1
- package/lib/commands/project/deploy/resume.js.map +1 -1
- package/lib/commands/project/deploy/validate.js +1 -1
- package/lib/commands/project/deploy/validate.js.map +1 -1
- package/lib/commands/project/retrieve/start.js +1 -1
- package/lib/commands/project/retrieve/start.js.map +1 -1
- package/lib/utils/deploy.js +1 -1
- package/lib/utils/deploy.js.map +1 -1
- package/oclif.manifest.json +690 -690
- package/package.json +5 -5
package/oclif.manifest.json
CHANGED
|
@@ -405,16 +405,18 @@
|
|
|
405
405
|
"source:convert:project"
|
|
406
406
|
]
|
|
407
407
|
},
|
|
408
|
-
"project:
|
|
408
|
+
"project:delete:source": {
|
|
409
409
|
"aliases": [
|
|
410
|
-
"
|
|
410
|
+
"force:source:delete"
|
|
411
411
|
],
|
|
412
412
|
"args": {},
|
|
413
413
|
"deprecateAliases": true,
|
|
414
|
-
"description": "Use this command to
|
|
414
|
+
"description": "Use this command to delete components from orgs that don’t have source tracking. To remove deleted items from orgs that have source tracking enabled, \"<%= config.bin %> project deploy start\".\n\nWhen you run this command, both the local source file and the metadata component in the org are deleted.\n\nTo delete multiple metadata components, either set multiple --metadata <name> flags or a single --metadata flag with multiple names separated by spaces. Enclose names that contain spaces in one set of double quotes. The same syntax applies to --source-dir.",
|
|
415
415
|
"examples": [
|
|
416
|
-
"
|
|
417
|
-
"
|
|
416
|
+
"Delete all local Apex source files and all Apex classes from the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --metadata ApexClass --target-org my-scratch",
|
|
417
|
+
"Delete a specific Apex class and a Profile that has a space in it from your default org; don't prompt for confirmation:\n<%= config.bin %> <%= command.id %> --metadata ApexClass:MyFabulousApexClass --metadata \"Profile: My Profile\" --no-prompt",
|
|
418
|
+
"Run the tests that aren’t in any managed packages as part of the deletion; if the delete succeeds, and the org has source-tracking enabled, update the source tracking information:\n<%= config.bin %> <%= command.id %> --metadata ApexClass --test-level RunLocalTests --track-source",
|
|
419
|
+
"Delete the Apex source files in a directory and the corresponding components from your default org:\n<%= config.bin %> <%= command.id %> --source-dir force-app/main/default/classes"
|
|
418
420
|
],
|
|
419
421
|
"flags": {
|
|
420
422
|
"json": {
|
|
@@ -432,103 +434,207 @@
|
|
|
432
434
|
"multiple": false,
|
|
433
435
|
"type": "option"
|
|
434
436
|
},
|
|
437
|
+
"api-version": {
|
|
438
|
+
"aliases": [
|
|
439
|
+
"apiversion"
|
|
440
|
+
],
|
|
441
|
+
"deprecateAliases": true,
|
|
442
|
+
"description": "Override the api version used for api requests made by this command",
|
|
443
|
+
"name": "api-version",
|
|
444
|
+
"hasDynamicHelp": false,
|
|
445
|
+
"multiple": false,
|
|
446
|
+
"type": "option"
|
|
447
|
+
},
|
|
448
|
+
"loglevel": {
|
|
449
|
+
"deprecated": {
|
|
450
|
+
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
451
|
+
},
|
|
452
|
+
"hidden": true,
|
|
453
|
+
"name": "loglevel",
|
|
454
|
+
"hasDynamicHelp": false,
|
|
455
|
+
"multiple": false,
|
|
456
|
+
"type": "option"
|
|
457
|
+
},
|
|
435
458
|
"target-org": {
|
|
459
|
+
"aliases": [
|
|
460
|
+
"targetusername",
|
|
461
|
+
"u"
|
|
462
|
+
],
|
|
436
463
|
"char": "o",
|
|
464
|
+
"deprecateAliases": true,
|
|
437
465
|
"name": "target-org",
|
|
438
466
|
"noCacheDefault": true,
|
|
439
|
-
"
|
|
467
|
+
"required": true,
|
|
468
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
440
469
|
"hasDynamicHelp": true,
|
|
441
470
|
"multiple": false,
|
|
442
471
|
"type": "option"
|
|
443
472
|
},
|
|
444
|
-
"
|
|
445
|
-
"
|
|
446
|
-
|
|
447
|
-
"wait"
|
|
473
|
+
"check-only": {
|
|
474
|
+
"aliases": [
|
|
475
|
+
"checkonly"
|
|
448
476
|
],
|
|
449
|
-
"
|
|
450
|
-
"
|
|
477
|
+
"char": "c",
|
|
478
|
+
"deprecateAliases": true,
|
|
479
|
+
"description": "IMPORTANT: Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.\n\nValidates the deleted metadata and runs all Apex tests, but prevents the deletion from being saved to the org.\n\nIf you change a field type from Master-Detail to Lookup or vice versa, that change isn’t supported when using the --check-only flag to test a deletion (validation). This kind of change isn’t supported for test deletions to avoid the risk of data loss or corruption. If a change that isn’t supported for test deletions is included in a deletion package, the test deletion fails and issues an error.\n\nIf your deletion package changes a field type from Master-Detail to Lookup or vice versa, you can still validate the changes prior to deploying to Production by performing a full deletion to another test Sandbox. A full deletion includes a validation of the changes as part of the deletion process.\n\nNote: A Metadata API deletion that includes Master-Detail relationships deletes all detail records in the Recycle Bin in the following cases.\n\n 1. For a deletion with a new Master-Detail field, soft delete (send to the Recycle Bin) all detail records before proceeding to delete the Master-Detail field, or the deletion fails. During the deletion, detail records are permanently deleted from the Recycle Bin and cannot be recovered.\n\n 2. For a deletion that converts a Lookup field relationship to a Master-Detail relationship, detail records must reference a master record or be soft-deleted (sent to the Recycle Bin) for the deletion to succeed. However, a successful deletion permanently deletes any detail records in the Recycle Bin.",
|
|
480
|
+
"name": "check-only",
|
|
481
|
+
"summary": "Validate delete command but don't delete anything from the org or the local project.",
|
|
451
482
|
"allowNo": false,
|
|
452
483
|
"type": "boolean"
|
|
453
484
|
},
|
|
454
|
-
"
|
|
455
|
-
"char": "
|
|
456
|
-
"description": "
|
|
457
|
-
"name": "
|
|
458
|
-
"summary": "
|
|
485
|
+
"wait": {
|
|
486
|
+
"char": "w",
|
|
487
|
+
"description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you.",
|
|
488
|
+
"name": "wait",
|
|
489
|
+
"summary": "Number of minutes to wait for the command to finish.",
|
|
490
|
+
"hasDynamicHelp": true,
|
|
491
|
+
"multiple": false,
|
|
492
|
+
"type": "option"
|
|
493
|
+
},
|
|
494
|
+
"tests": {
|
|
495
|
+
"description": "If a test name contains a space, enclose it in double quotes.\nFor multiple test names, use one of the following formats:\n\n- Repeat the flag for multiple test names: --tests Test1 --tests Test2 --tests \"Test With Space\"\n- Separate the test names with spaces: --tests Test1 Test2 \"Test With Space\"",
|
|
496
|
+
"helpGroup": "Test",
|
|
497
|
+
"name": "tests",
|
|
498
|
+
"summary": "Apex tests to run when --test-level is RunSpecifiedTests.",
|
|
499
|
+
"hasDynamicHelp": false,
|
|
500
|
+
"multiple": true,
|
|
501
|
+
"type": "option"
|
|
502
|
+
},
|
|
503
|
+
"test-level": {
|
|
504
|
+
"aliases": [
|
|
505
|
+
"testlevel"
|
|
506
|
+
],
|
|
507
|
+
"char": "l",
|
|
508
|
+
"deprecateAliases": true,
|
|
509
|
+
"description": "Valid values are:\n\n- NoTestRun — No tests are run. This test level applies only to deployments to development environments, such as sandbox, Developer Edition, or trial orgs. This test level is the default for development environments.\n\n- RunSpecifiedTests — Runs only the tests that you specify with the --tests flag. Code coverage requirements differ from the default coverage requirements when using this test level. Executed tests must comprise a minimum of 75% code coverage for each class and trigger in the deployment package. This coverage is computed for each class and trigger individually and is different than the overall coverage percentage.\n\n- RunLocalTests — All tests in your org are run, except the ones that originate from installed managed and unlocked packages. This test level is the default for production deployments that include Apex classes or triggers.\n\n- RunAllTestsInOrg — All tests in your org are run, including tests of managed packages.\n\n- RunRelevantTests (Beta) — Runs only tests that are relevant to the files being deployed. Salesforce automatically identifies the relevant tests based on an analysis of the deployment payload and the payload dependencies. For fine-grained control, you can also annotate test classes so that they always run in certain conditions. See \"@IsTest Annotation\" in the \"Apex Developer Guide\" (https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_annotation_isTest.htm). Each class and trigger in the deployment package must be covered by the executed tests for a minimum of 75% code coverage. This coverage is computed for each class and triggers individually and is different than the overall coverage percentage.\n\nIf you don’t specify a test level, the default behavior depends on the contents of your deployment package and target org. For more information, see \"Running Tests in a Deployment\" (https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_deploy_running_tests.htm) in the \"Metadata API Developer Guide\".",
|
|
510
|
+
"helpGroup": "Test",
|
|
511
|
+
"name": "test-level",
|
|
512
|
+
"summary": "Deployment Apex testing level.",
|
|
459
513
|
"hasDynamicHelp": false,
|
|
460
514
|
"multiple": false,
|
|
515
|
+
"options": [
|
|
516
|
+
"NoTestRun",
|
|
517
|
+
"RunSpecifiedTests",
|
|
518
|
+
"RunLocalTests",
|
|
519
|
+
"RunAllTestsInOrg",
|
|
520
|
+
"RunRelevantTests"
|
|
521
|
+
],
|
|
461
522
|
"type": "option"
|
|
462
523
|
},
|
|
463
|
-
"
|
|
524
|
+
"no-prompt": {
|
|
525
|
+
"aliases": [
|
|
526
|
+
"noprompt"
|
|
527
|
+
],
|
|
464
528
|
"char": "r",
|
|
465
|
-
"
|
|
466
|
-
"name": "
|
|
467
|
-
"summary": "
|
|
529
|
+
"deprecateAliases": true,
|
|
530
|
+
"name": "no-prompt",
|
|
531
|
+
"summary": "Don't prompt for delete confirmation.",
|
|
468
532
|
"allowNo": false,
|
|
469
533
|
"type": "boolean"
|
|
470
534
|
},
|
|
471
|
-
"
|
|
472
|
-
"char": "
|
|
473
|
-
"description": "If
|
|
474
|
-
"
|
|
475
|
-
|
|
535
|
+
"metadata": {
|
|
536
|
+
"char": "m",
|
|
537
|
+
"description": "If you specify this flag, don’t specify --source-dir.",
|
|
538
|
+
"name": "metadata",
|
|
539
|
+
"summary": "Metadata components to delete.",
|
|
540
|
+
"delimiter": ",",
|
|
541
|
+
"hasDynamicHelp": false,
|
|
542
|
+
"multiple": true,
|
|
543
|
+
"type": "option"
|
|
544
|
+
},
|
|
545
|
+
"source-dir": {
|
|
546
|
+
"aliases": [
|
|
547
|
+
"sourcepath"
|
|
476
548
|
],
|
|
477
|
-
"
|
|
478
|
-
"
|
|
479
|
-
"
|
|
480
|
-
"
|
|
481
|
-
"
|
|
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,
|
|
482
557
|
"type": "option"
|
|
558
|
+
},
|
|
559
|
+
"track-source": {
|
|
560
|
+
"aliases": [
|
|
561
|
+
"tracksource"
|
|
562
|
+
],
|
|
563
|
+
"char": "t",
|
|
564
|
+
"deprecateAliases": true,
|
|
565
|
+
"exclusive": [
|
|
566
|
+
"check-only"
|
|
567
|
+
],
|
|
568
|
+
"name": "track-source",
|
|
569
|
+
"summary": "If the delete succeeds, update the source tracking information.",
|
|
570
|
+
"allowNo": false,
|
|
571
|
+
"type": "boolean"
|
|
572
|
+
},
|
|
573
|
+
"force-overwrite": {
|
|
574
|
+
"aliases": [
|
|
575
|
+
"forceoverwrite"
|
|
576
|
+
],
|
|
577
|
+
"char": "f",
|
|
578
|
+
"dependsOn": [
|
|
579
|
+
"track-source"
|
|
580
|
+
],
|
|
581
|
+
"deprecateAliases": true,
|
|
582
|
+
"name": "force-overwrite",
|
|
583
|
+
"summary": "Ignore conflict warnings and overwrite changes to the org.",
|
|
584
|
+
"allowNo": false,
|
|
585
|
+
"type": "boolean"
|
|
586
|
+
},
|
|
587
|
+
"verbose": {
|
|
588
|
+
"name": "verbose",
|
|
589
|
+
"summary": "Verbose output of the delete result.",
|
|
590
|
+
"allowNo": false,
|
|
591
|
+
"type": "boolean"
|
|
483
592
|
}
|
|
484
593
|
},
|
|
485
594
|
"hasDynamicHelp": true,
|
|
486
595
|
"hiddenAliases": [],
|
|
487
|
-
"id": "project:
|
|
596
|
+
"id": "project:delete:source",
|
|
488
597
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
489
598
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
490
599
|
"pluginType": "core",
|
|
491
600
|
"strict": true,
|
|
492
|
-
"summary": "
|
|
601
|
+
"summary": "Delete source from your project and from a non-source-tracked org.",
|
|
493
602
|
"enableJsonFlag": true,
|
|
603
|
+
"requiresProject": true,
|
|
494
604
|
"isESM": true,
|
|
495
605
|
"relativePath": [
|
|
496
606
|
"lib",
|
|
497
607
|
"commands",
|
|
498
608
|
"project",
|
|
499
|
-
"
|
|
500
|
-
"
|
|
609
|
+
"delete",
|
|
610
|
+
"source.js"
|
|
501
611
|
],
|
|
502
612
|
"aliasPermutations": [
|
|
503
|
-
"
|
|
504
|
-
"
|
|
505
|
-
"
|
|
506
|
-
"
|
|
507
|
-
"
|
|
508
|
-
"
|
|
613
|
+
"force:source:delete",
|
|
614
|
+
"source:force:delete",
|
|
615
|
+
"source:delete:force",
|
|
616
|
+
"force:delete:source",
|
|
617
|
+
"delete:force:source",
|
|
618
|
+
"delete:source:force"
|
|
509
619
|
],
|
|
510
620
|
"permutations": [
|
|
511
|
-
"project:
|
|
512
|
-
"
|
|
513
|
-
"
|
|
514
|
-
"project:
|
|
515
|
-
"
|
|
516
|
-
"
|
|
621
|
+
"project:delete:source",
|
|
622
|
+
"delete:project:source",
|
|
623
|
+
"delete:source:project",
|
|
624
|
+
"project:source:delete",
|
|
625
|
+
"source:project:delete",
|
|
626
|
+
"source:delete:project"
|
|
517
627
|
]
|
|
518
628
|
},
|
|
519
|
-
"project:
|
|
629
|
+
"project:delete:tracking": {
|
|
520
630
|
"aliases": [
|
|
521
|
-
"
|
|
631
|
+
"force:source:tracking:clear"
|
|
522
632
|
],
|
|
523
633
|
"args": {},
|
|
524
634
|
"deprecateAliases": true,
|
|
525
|
-
"description": "
|
|
635
|
+
"description": "WARNING: This command deletes or overwrites all existing source tracking files. Use with extreme caution.\n\nDeletes all local source tracking information. When you next run 'project deploy preview', Salesforce CLI displays all local and remote files as changed, and any files with the same name are listed as conflicts.",
|
|
526
636
|
"examples": [
|
|
527
|
-
"
|
|
528
|
-
"Preview the deployment of source files in a directory, such as force-app, to your default org:\n<%= config.bin %> <%= command.id %> --source-dir force-app",
|
|
529
|
-
"Preview the deployment of all Apex classes to an org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --metadata ApexClass --target-org my-scratch",
|
|
530
|
-
"Preview deployment of a specific Apex class:\n<%= config.bin %> <%= command.id %> --metadata ApexClass:MyApexClass",
|
|
531
|
-
"Preview deployment of all components listed in a manifest:\n<%= config.bin %> <%= command.id %> --manifest path/to/package.xml"
|
|
637
|
+
"Delete local source tracking for the org with alias \"my-scratch\":\n$ <%= config.bin %> <%= command.id %> --target-org my-scratch"
|
|
532
638
|
],
|
|
533
639
|
"flags": {
|
|
534
640
|
"json": {
|
|
@@ -546,41 +652,283 @@
|
|
|
546
652
|
"multiple": false,
|
|
547
653
|
"type": "option"
|
|
548
654
|
},
|
|
549
|
-
"
|
|
550
|
-
"
|
|
551
|
-
|
|
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"
|
|
655
|
+
"api-version": {
|
|
656
|
+
"aliases": [
|
|
657
|
+
"apiversion"
|
|
563
658
|
],
|
|
564
|
-
"
|
|
565
|
-
"
|
|
659
|
+
"deprecateAliases": true,
|
|
660
|
+
"description": "Override the api version used for api requests made by this command",
|
|
661
|
+
"name": "api-version",
|
|
566
662
|
"hasDynamicHelp": false,
|
|
567
663
|
"multiple": false,
|
|
568
664
|
"type": "option"
|
|
569
665
|
},
|
|
570
|
-
"
|
|
571
|
-
"
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
"name": "metadata",
|
|
577
|
-
"summary": "Metadata component names to preview.",
|
|
666
|
+
"loglevel": {
|
|
667
|
+
"deprecated": {
|
|
668
|
+
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
669
|
+
},
|
|
670
|
+
"hidden": true,
|
|
671
|
+
"name": "loglevel",
|
|
578
672
|
"hasDynamicHelp": false,
|
|
579
|
-
"multiple":
|
|
673
|
+
"multiple": false,
|
|
580
674
|
"type": "option"
|
|
581
675
|
},
|
|
582
|
-
"
|
|
583
|
-
"
|
|
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,
|
|
928
|
+
"type": "option"
|
|
929
|
+
},
|
|
930
|
+
"source-dir": {
|
|
931
|
+
"char": "d",
|
|
584
932
|
"description": "The supplied path can be to a single file (in which case the operation is applied to only one file) or to a folder (in which case the operation is applied to all metadata types in the directory and its subdirectories).\n\nIf you specify this flag, don’t specify --metadata or --manifest.",
|
|
585
933
|
"exclusive": [
|
|
586
934
|
"manifest",
|
|
@@ -1842,412 +2190,64 @@
|
|
|
1842
2190
|
"name": "SF_USE_PROGRESS_BAR",
|
|
1843
2191
|
"description": "Set to false to disable the progress bar when running the metadata deploy command."
|
|
1844
2192
|
}
|
|
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"
|
|
2155
|
-
],
|
|
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",
|
|
2169
|
-
"hasDynamicHelp": false,
|
|
2170
|
-
"multiple": false,
|
|
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"
|
|
2198
|
-
}
|
|
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
|
+
]
|
|
2199
2227
|
},
|
|
2200
|
-
"hasDynamicHelp": true,
|
|
2201
|
-
"hiddenAliases": [],
|
|
2202
|
-
"id": "project:delete:tracking",
|
|
2203
|
-
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
2204
|
-
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
2205
|
-
"pluginType": "core",
|
|
2206
|
-
"strict": true,
|
|
2207
|
-
"summary": "Delete all local source tracking information.",
|
|
2208
|
-
"enableJsonFlag": true,
|
|
2209
|
-
"requiresProject": true,
|
|
2210
2228
|
"isESM": true,
|
|
2211
2229
|
"relativePath": [
|
|
2212
2230
|
"lib",
|
|
2213
2231
|
"commands",
|
|
2214
2232
|
"project",
|
|
2215
|
-
"
|
|
2216
|
-
"
|
|
2233
|
+
"deploy",
|
|
2234
|
+
"validate.js"
|
|
2217
2235
|
],
|
|
2218
2236
|
"aliasPermutations": [
|
|
2219
|
-
"
|
|
2220
|
-
"
|
|
2221
|
-
"
|
|
2222
|
-
"
|
|
2223
|
-
"
|
|
2224
|
-
"
|
|
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"
|
|
2237
|
+
"deploy:metadata:validate",
|
|
2238
|
+
"metadata:deploy:validate",
|
|
2239
|
+
"metadata:validate:deploy",
|
|
2240
|
+
"deploy:validate:metadata",
|
|
2241
|
+
"validate:deploy:metadata",
|
|
2242
|
+
"validate:metadata:deploy"
|
|
2243
2243
|
],
|
|
2244
2244
|
"permutations": [
|
|
2245
|
-
"project:
|
|
2246
|
-
"
|
|
2247
|
-
"
|
|
2248
|
-
"project:
|
|
2249
|
-
"
|
|
2250
|
-
"
|
|
2245
|
+
"project:deploy:validate",
|
|
2246
|
+
"deploy:project:validate",
|
|
2247
|
+
"deploy:validate:project",
|
|
2248
|
+
"project:validate:deploy",
|
|
2249
|
+
"validate:project:deploy",
|
|
2250
|
+
"validate:deploy:project"
|
|
2251
2251
|
]
|
|
2252
2252
|
},
|
|
2253
2253
|
"project:generate:manifest": {
|
|
@@ -2468,201 +2468,65 @@
|
|
|
2468
2468
|
"create:force:manifest:source",
|
|
2469
2469
|
"create:manifest:force:source",
|
|
2470
2470
|
"create:manifest:source:force"
|
|
2471
|
-
],
|
|
2472
|
-
"permutations": [
|
|
2473
|
-
"project:generate:manifest",
|
|
2474
|
-
"generate:project:manifest",
|
|
2475
|
-
"generate:manifest:project",
|
|
2476
|
-
"project:manifest:generate",
|
|
2477
|
-
"manifest:project:generate",
|
|
2478
|
-
"manifest:generate:project"
|
|
2479
|
-
]
|
|
2480
|
-
},
|
|
2481
|
-
"project:list:ignored": {
|
|
2482
|
-
"aliases": [
|
|
2483
|
-
"force:source:ignored:list"
|
|
2484
|
-
],
|
|
2485
|
-
"args": {},
|
|
2486
|
-
"deprecateAliases": true,
|
|
2487
|
-
"description": "When deploying or retrieving metadata between your local project and an org, you can specify the source files you want to exclude with a .forceignore file. The .forceignore file structure mimics the .gitignore structure. Each line in .forceignore specifies a pattern that corresponds to one or more files. The files typically represent metadata components, but can be any files you want to exclude, such as LWC configuration JSON files or tests.",
|
|
2488
|
-
"examples": [
|
|
2489
|
-
"List all the files in all package directories that are ignored:\n<%= config.bin %> <%= command.id %>",
|
|
2490
|
-
"List all the files in a specific directory that are ignored:\n<%= config.bin %> <%= command.id %> --source-dir force-app",
|
|
2491
|
-
"Check if a particular file is ignored:\n<%= config.bin %> <%= command.id %> --source-dir package.xml"
|
|
2492
|
-
],
|
|
2493
|
-
"flags": {
|
|
2494
|
-
"json": {
|
|
2495
|
-
"description": "Format output as json.",
|
|
2496
|
-
"helpGroup": "GLOBAL",
|
|
2497
|
-
"name": "json",
|
|
2498
|
-
"allowNo": false,
|
|
2499
|
-
"type": "boolean"
|
|
2500
|
-
},
|
|
2501
|
-
"flags-dir": {
|
|
2502
|
-
"helpGroup": "GLOBAL",
|
|
2503
|
-
"name": "flags-dir",
|
|
2504
|
-
"summary": "Import flag values from a directory.",
|
|
2505
|
-
"hasDynamicHelp": false,
|
|
2506
|
-
"multiple": false,
|
|
2507
|
-
"type": "option"
|
|
2508
|
-
},
|
|
2509
|
-
"source-dir": {
|
|
2510
|
-
"aliases": [
|
|
2511
|
-
"sourcepath"
|
|
2512
|
-
],
|
|
2513
|
-
"char": "p",
|
|
2514
|
-
"deprecateAliases": true,
|
|
2515
|
-
"name": "source-dir",
|
|
2516
|
-
"summary": "File or directory of files that the command checks for foreceignored files.",
|
|
2517
|
-
"hasDynamicHelp": false,
|
|
2518
|
-
"multiple": false,
|
|
2519
|
-
"type": "option"
|
|
2520
|
-
}
|
|
2521
|
-
},
|
|
2522
|
-
"hasDynamicHelp": false,
|
|
2523
|
-
"hiddenAliases": [],
|
|
2524
|
-
"id": "project:list:ignored",
|
|
2525
|
-
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
2526
|
-
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
2527
|
-
"pluginType": "core",
|
|
2528
|
-
"strict": true,
|
|
2529
|
-
"summary": "Check your local project package directories for forceignored files.",
|
|
2530
|
-
"enableJsonFlag": true,
|
|
2531
|
-
"requiresProject": true,
|
|
2532
|
-
"isESM": true,
|
|
2533
|
-
"relativePath": [
|
|
2534
|
-
"lib",
|
|
2535
|
-
"commands",
|
|
2536
|
-
"project",
|
|
2537
|
-
"list",
|
|
2538
|
-
"ignored.js"
|
|
2539
|
-
],
|
|
2540
|
-
"aliasPermutations": [
|
|
2541
|
-
"force:source:ignored:list",
|
|
2542
|
-
"source:force:ignored:list",
|
|
2543
|
-
"source:ignored:force:list",
|
|
2544
|
-
"source:ignored:list:force",
|
|
2545
|
-
"force:ignored:source:list",
|
|
2546
|
-
"ignored:force:source:list",
|
|
2547
|
-
"ignored:source:force:list",
|
|
2548
|
-
"ignored:source:list:force",
|
|
2549
|
-
"force:ignored:list:source",
|
|
2550
|
-
"ignored:force:list:source",
|
|
2551
|
-
"ignored:list:force:source",
|
|
2552
|
-
"ignored:list:source:force",
|
|
2553
|
-
"force:source:list:ignored",
|
|
2554
|
-
"source:force:list:ignored",
|
|
2555
|
-
"source:list:force:ignored",
|
|
2556
|
-
"source:list:ignored:force",
|
|
2557
|
-
"force:list:source:ignored",
|
|
2558
|
-
"list:force:source:ignored",
|
|
2559
|
-
"list:source:force:ignored",
|
|
2560
|
-
"list:source:ignored:force",
|
|
2561
|
-
"force:list:ignored:source",
|
|
2562
|
-
"list:force:ignored:source",
|
|
2563
|
-
"list:ignored:force:source",
|
|
2564
|
-
"list:ignored:source:force"
|
|
2565
|
-
],
|
|
2566
|
-
"permutations": [
|
|
2567
|
-
"project:list:ignored",
|
|
2568
|
-
"list:project:ignored",
|
|
2569
|
-
"list:ignored:project",
|
|
2570
|
-
"project:ignored:list",
|
|
2571
|
-
"ignored:project:list",
|
|
2572
|
-
"ignored:list:project"
|
|
2573
|
-
]
|
|
2574
|
-
},
|
|
2575
|
-
"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": {
|
|
2618
|
-
"aliases": [
|
|
2619
|
-
"apiversion"
|
|
2620
|
-
],
|
|
2621
|
-
"deprecateAliases": true,
|
|
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"
|
|
2471
|
+
],
|
|
2472
|
+
"permutations": [
|
|
2473
|
+
"project:generate:manifest",
|
|
2474
|
+
"generate:project:manifest",
|
|
2475
|
+
"generate:manifest:project",
|
|
2476
|
+
"project:manifest:generate",
|
|
2477
|
+
"manifest:project:generate",
|
|
2478
|
+
"manifest:generate:project"
|
|
2479
|
+
]
|
|
2480
|
+
},
|
|
2481
|
+
"project:list:ignored": {
|
|
2482
|
+
"aliases": [
|
|
2483
|
+
"force:source:ignored:list"
|
|
2484
|
+
],
|
|
2485
|
+
"args": {},
|
|
2486
|
+
"deprecateAliases": true,
|
|
2487
|
+
"description": "When deploying or retrieving metadata between your local project and an org, you can specify the source files you want to exclude with a .forceignore file. The .forceignore file structure mimics the .gitignore structure. Each line in .forceignore specifies a pattern that corresponds to one or more files. The files typically represent metadata components, but can be any files you want to exclude, such as LWC configuration JSON files or tests.",
|
|
2488
|
+
"examples": [
|
|
2489
|
+
"List all the files in all package directories that are ignored:\n<%= config.bin %> <%= command.id %>",
|
|
2490
|
+
"List all the files in a specific directory that are ignored:\n<%= config.bin %> <%= command.id %> --source-dir force-app",
|
|
2491
|
+
"Check if a particular file is ignored:\n<%= config.bin %> <%= command.id %> --source-dir package.xml"
|
|
2492
|
+
],
|
|
2493
|
+
"flags": {
|
|
2494
|
+
"json": {
|
|
2495
|
+
"description": "Format output as json.",
|
|
2496
|
+
"helpGroup": "GLOBAL",
|
|
2497
|
+
"name": "json",
|
|
2498
|
+
"allowNo": false,
|
|
2499
|
+
"type": "boolean"
|
|
2637
2500
|
},
|
|
2638
|
-
"
|
|
2639
|
-
"
|
|
2640
|
-
"name": "
|
|
2641
|
-
"summary": "
|
|
2501
|
+
"flags-dir": {
|
|
2502
|
+
"helpGroup": "GLOBAL",
|
|
2503
|
+
"name": "flags-dir",
|
|
2504
|
+
"summary": "Import flag values from a directory.",
|
|
2642
2505
|
"hasDynamicHelp": false,
|
|
2643
2506
|
"multiple": false,
|
|
2644
2507
|
"type": "option"
|
|
2645
2508
|
},
|
|
2646
|
-
"
|
|
2509
|
+
"source-dir": {
|
|
2647
2510
|
"aliases": [
|
|
2648
|
-
"
|
|
2511
|
+
"sourcepath"
|
|
2649
2512
|
],
|
|
2650
2513
|
"char": "p",
|
|
2651
2514
|
"deprecateAliases": true,
|
|
2652
|
-
"name": "
|
|
2653
|
-
"summary": "
|
|
2654
|
-
"
|
|
2655
|
-
"
|
|
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"
|
|
2656
2520
|
}
|
|
2657
2521
|
},
|
|
2658
|
-
"hasDynamicHelp":
|
|
2522
|
+
"hasDynamicHelp": false,
|
|
2659
2523
|
"hiddenAliases": [],
|
|
2660
|
-
"id": "project:
|
|
2524
|
+
"id": "project:list:ignored",
|
|
2661
2525
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
2662
2526
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
2663
2527
|
"pluginType": "core",
|
|
2664
2528
|
"strict": true,
|
|
2665
|
-
"summary": "
|
|
2529
|
+
"summary": "Check your local project package directories for forceignored files.",
|
|
2666
2530
|
"enableJsonFlag": true,
|
|
2667
2531
|
"requiresProject": true,
|
|
2668
2532
|
"isESM": true,
|
|
@@ -2670,42 +2534,42 @@
|
|
|
2670
2534
|
"lib",
|
|
2671
2535
|
"commands",
|
|
2672
2536
|
"project",
|
|
2673
|
-
"
|
|
2674
|
-
"
|
|
2537
|
+
"list",
|
|
2538
|
+
"ignored.js"
|
|
2675
2539
|
],
|
|
2676
2540
|
"aliasPermutations": [
|
|
2677
|
-
"force:source:
|
|
2678
|
-
"source:force:
|
|
2679
|
-
"source:
|
|
2680
|
-
"source:
|
|
2681
|
-
"force:
|
|
2682
|
-
"
|
|
2683
|
-
"
|
|
2684
|
-
"
|
|
2685
|
-
"force:
|
|
2686
|
-
"
|
|
2687
|
-
"
|
|
2688
|
-
"
|
|
2689
|
-
"force:source:
|
|
2690
|
-
"source:force:
|
|
2691
|
-
"source:
|
|
2692
|
-
"source:
|
|
2693
|
-
"force:
|
|
2694
|
-
"
|
|
2695
|
-
"
|
|
2696
|
-
"
|
|
2697
|
-
"force:
|
|
2698
|
-
"
|
|
2699
|
-
"
|
|
2700
|
-
"
|
|
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"
|
|
2701
2565
|
],
|
|
2702
2566
|
"permutations": [
|
|
2703
|
-
"project:
|
|
2704
|
-
"
|
|
2705
|
-
"
|
|
2706
|
-
"project:
|
|
2707
|
-
"
|
|
2708
|
-
"
|
|
2567
|
+
"project:list:ignored",
|
|
2568
|
+
"list:project:ignored",
|
|
2569
|
+
"list:ignored:project",
|
|
2570
|
+
"project:ignored:list",
|
|
2571
|
+
"ignored:project:list",
|
|
2572
|
+
"ignored:list:project"
|
|
2709
2573
|
]
|
|
2710
2574
|
},
|
|
2711
2575
|
"project:retrieve:preview": {
|
|
@@ -3052,7 +2916,143 @@
|
|
|
3052
2916
|
"start:project:retrieve",
|
|
3053
2917
|
"start:retrieve:project"
|
|
3054
2918
|
]
|
|
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.8"
|
|
3058
3058
|
}
|