@salesforce/plugin-templates 56.4.7 → 56.5.1
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 +142 -140
- package/lib/commands/{apex/generate → template/generate/apex}/class.js +3 -3
- package/lib/commands/template/generate/apex/class.js.map +1 -0
- package/lib/commands/{apex/generate → template/generate/apex}/trigger.js +3 -3
- package/lib/commands/template/generate/apex/trigger.js.map +1 -0
- package/lib/commands/webapp/generate.d.ts +1 -1
- package/lib/commands/webapp/generate.js +2 -2
- package/messages/webApplication.md +4 -4
- package/oclif.manifest.json +529 -477
- package/package.json +18 -13
- package/lib/commands/apex/generate/class.js.map +0 -1
- package/lib/commands/apex/generate/trigger.js.map +0 -1
- /package/lib/commands/{apex/generate → template/generate/apex}/class.d.ts +0 -0
- /package/lib/commands/{apex/generate → template/generate/apex}/trigger.d.ts +0 -0
package/oclif.manifest.json
CHANGED
|
@@ -289,11 +289,11 @@
|
|
|
289
289
|
"webapp:generate": {
|
|
290
290
|
"aliases": [],
|
|
291
291
|
"args": {},
|
|
292
|
-
"description": "Generates a web application in the specified directory or the current working directory. The web application files are created in a folder with the designated name. Web application files must be contained in a parent directory called \"
|
|
292
|
+
"description": "Generates a web application in the specified directory or the current working directory. The web application files are created in a folder with the designated name. Web application files must be contained in a parent directory called \"webapplications\" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to create one or point to an existing one.",
|
|
293
293
|
"examples": [
|
|
294
294
|
"Generate a web application called MyWebApp in the current directory:\n<%= config.bin %> <%= command.id %> --name MyWebApp",
|
|
295
295
|
"Generate a React-based web application:\n<%= config.bin %> <%= command.id %> --name MyReactApp --template reactbasic",
|
|
296
|
-
"Generate the web application in the \"force-app/main/default/
|
|
296
|
+
"Generate the web application in the \"force-app/main/default/webapplications\" directory:\n<%= config.bin %> <%= command.id %> --name MyWebApp --output-dir force-app/main/default/webapplications"
|
|
297
297
|
],
|
|
298
298
|
"flags": {
|
|
299
299
|
"json": {
|
|
@@ -346,7 +346,7 @@
|
|
|
346
346
|
},
|
|
347
347
|
"output-dir": {
|
|
348
348
|
"char": "d",
|
|
349
|
-
"description": "The location can be an absolute path or relative to the current working directory. If not specified, the command reads your sfdx-project.json and defaults to the
|
|
349
|
+
"description": "The location can be an absolute path or relative to the current working directory. If not specified, the command reads your sfdx-project.json and defaults to the webapplications directory within your default package directory. When running outside a Salesforce DX project, defaults to the current directory.",
|
|
350
350
|
"name": "output-dir",
|
|
351
351
|
"summary": "Directory for saving the created files.",
|
|
352
352
|
"hasDynamicHelp": false,
|
|
@@ -511,16 +511,16 @@
|
|
|
511
511
|
"template:generate:analytics"
|
|
512
512
|
]
|
|
513
513
|
},
|
|
514
|
-
"
|
|
514
|
+
"lightning:generate:app": {
|
|
515
515
|
"aliases": [
|
|
516
|
-
"force:
|
|
516
|
+
"force:lightning:app:create"
|
|
517
517
|
],
|
|
518
518
|
"args": {},
|
|
519
519
|
"deprecateAliases": true,
|
|
520
|
-
"description": "Generates
|
|
520
|
+
"description": "Generates a Lightning App bundle in the specified directory or the current working directory. The bundle consists of multiple files in a folder with the designated name.",
|
|
521
521
|
"examples": [
|
|
522
|
-
"Generate
|
|
523
|
-
"Similar to previous example, but
|
|
522
|
+
"Generate the metadata files for a Lightning app bundle called \"myapp\" in the current directory:\n<%= config.bin %> <%= command.id %> --name myapp",
|
|
523
|
+
"Similar to the previous example, but generate the files in the \"force-app/main/default/aura\" directory:\n<%= config.bin %> <%= command.id %> --name myapp --output-dir force-app/main/default/aura"
|
|
524
524
|
],
|
|
525
525
|
"flags": {
|
|
526
526
|
"json": {
|
|
@@ -540,14 +540,14 @@
|
|
|
540
540
|
},
|
|
541
541
|
"name": {
|
|
542
542
|
"aliases": [
|
|
543
|
-
"
|
|
543
|
+
"appname"
|
|
544
544
|
],
|
|
545
545
|
"char": "n",
|
|
546
546
|
"deprecateAliases": true,
|
|
547
547
|
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
548
548
|
"name": "name",
|
|
549
549
|
"required": true,
|
|
550
|
-
"summary": "Name of the generated
|
|
550
|
+
"summary": "Name of the generated Lightning App.",
|
|
551
551
|
"hasDynamicHelp": false,
|
|
552
552
|
"multiple": false,
|
|
553
553
|
"type": "option"
|
|
@@ -557,15 +557,11 @@
|
|
|
557
557
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
558
558
|
"name": "template",
|
|
559
559
|
"summary": "Template to use for file creation.",
|
|
560
|
-
"default": "
|
|
560
|
+
"default": "DefaultLightningApp",
|
|
561
561
|
"hasDynamicHelp": false,
|
|
562
562
|
"multiple": false,
|
|
563
563
|
"options": [
|
|
564
|
-
"
|
|
565
|
-
"ApexUnitTest",
|
|
566
|
-
"BasicUnitTest",
|
|
567
|
-
"DefaultApexClass",
|
|
568
|
-
"InboundEmailService"
|
|
564
|
+
"DefaultLightningApp"
|
|
569
565
|
],
|
|
570
566
|
"type": "option"
|
|
571
567
|
},
|
|
@@ -594,6 +590,14 @@
|
|
|
594
590
|
"multiple": false,
|
|
595
591
|
"type": "option"
|
|
596
592
|
},
|
|
593
|
+
"internal": {
|
|
594
|
+
"char": "i",
|
|
595
|
+
"hidden": true,
|
|
596
|
+
"name": "internal",
|
|
597
|
+
"summary": "Generate lightning bundles without creating a -meta.xml file.",
|
|
598
|
+
"allowNo": false,
|
|
599
|
+
"type": "boolean"
|
|
600
|
+
},
|
|
597
601
|
"loglevel": {
|
|
598
602
|
"deprecated": {
|
|
599
603
|
"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."
|
|
@@ -607,67 +611,68 @@
|
|
|
607
611
|
},
|
|
608
612
|
"hasDynamicHelp": false,
|
|
609
613
|
"hiddenAliases": [],
|
|
610
|
-
"id": "
|
|
614
|
+
"id": "lightning:generate:app",
|
|
611
615
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
612
616
|
"pluginName": "@salesforce/plugin-templates",
|
|
613
617
|
"pluginType": "core",
|
|
614
618
|
"strict": true,
|
|
615
|
-
"summary": "Generate
|
|
619
|
+
"summary": "Generate a Lightning App.",
|
|
616
620
|
"enableJsonFlag": true,
|
|
617
621
|
"isESM": true,
|
|
618
622
|
"relativePath": [
|
|
619
623
|
"lib",
|
|
620
624
|
"commands",
|
|
621
|
-
"
|
|
625
|
+
"lightning",
|
|
622
626
|
"generate",
|
|
623
|
-
"
|
|
627
|
+
"app.js"
|
|
624
628
|
],
|
|
625
629
|
"aliasPermutations": [
|
|
626
|
-
"force:
|
|
627
|
-
"
|
|
628
|
-
"
|
|
629
|
-
"
|
|
630
|
-
"force:
|
|
631
|
-
"
|
|
632
|
-
"
|
|
633
|
-
"
|
|
634
|
-
"force:
|
|
635
|
-
"
|
|
636
|
-
"
|
|
637
|
-
"
|
|
638
|
-
"force:
|
|
639
|
-
"
|
|
640
|
-
"
|
|
641
|
-
"
|
|
642
|
-
"force:create:
|
|
643
|
-
"create:force:
|
|
644
|
-
"create:
|
|
645
|
-
"create:
|
|
646
|
-
"force:create:
|
|
647
|
-
"create:force:
|
|
648
|
-
"create:
|
|
649
|
-
"create:
|
|
630
|
+
"force:lightning:app:create",
|
|
631
|
+
"lightning:force:app:create",
|
|
632
|
+
"lightning:app:force:create",
|
|
633
|
+
"lightning:app:create:force",
|
|
634
|
+
"force:app:lightning:create",
|
|
635
|
+
"app:force:lightning:create",
|
|
636
|
+
"app:lightning:force:create",
|
|
637
|
+
"app:lightning:create:force",
|
|
638
|
+
"force:app:create:lightning",
|
|
639
|
+
"app:force:create:lightning",
|
|
640
|
+
"app:create:force:lightning",
|
|
641
|
+
"app:create:lightning:force",
|
|
642
|
+
"force:lightning:create:app",
|
|
643
|
+
"lightning:force:create:app",
|
|
644
|
+
"lightning:create:force:app",
|
|
645
|
+
"lightning:create:app:force",
|
|
646
|
+
"force:create:lightning:app",
|
|
647
|
+
"create:force:lightning:app",
|
|
648
|
+
"create:lightning:force:app",
|
|
649
|
+
"create:lightning:app:force",
|
|
650
|
+
"force:create:app:lightning",
|
|
651
|
+
"create:force:app:lightning",
|
|
652
|
+
"create:app:force:lightning",
|
|
653
|
+
"create:app:lightning:force"
|
|
650
654
|
],
|
|
651
655
|
"permutations": [
|
|
652
|
-
"
|
|
653
|
-
"generate:
|
|
654
|
-
"generate:
|
|
655
|
-
"
|
|
656
|
-
"
|
|
657
|
-
"
|
|
656
|
+
"lightning:generate:app",
|
|
657
|
+
"generate:lightning:app",
|
|
658
|
+
"generate:app:lightning",
|
|
659
|
+
"lightning:app:generate",
|
|
660
|
+
"app:lightning:generate",
|
|
661
|
+
"app:generate:lightning"
|
|
658
662
|
]
|
|
659
663
|
},
|
|
660
|
-
"
|
|
664
|
+
"lightning:generate:component": {
|
|
661
665
|
"aliases": [
|
|
662
|
-
"force:
|
|
666
|
+
"force:lightning:component:create"
|
|
663
667
|
],
|
|
664
668
|
"args": {},
|
|
665
669
|
"deprecateAliases": true,
|
|
666
|
-
"description": "Generates the
|
|
670
|
+
"description": "Generates the bundle in the specified directory or the current working directory. The bundle consists of multiple files in a directory with the designated name. Lightning web components are contained in the directory with name \"lwc\", Aura components in \"aura\".\n\nTo generate a Lightning web component, pass \"--type lwc\" to the command. If you don’t specify --type, Salesforce CLI generates an Aura component by default.",
|
|
667
671
|
"examples": [
|
|
668
|
-
"Generate
|
|
669
|
-
"
|
|
670
|
-
"Generate
|
|
672
|
+
"Generate the metadata files for an Aura component bundle in the current directory:\n<%= config.bin %> <%= command.id %> --name mycomponent",
|
|
673
|
+
"Generate a Lightning web component bundle in the current directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --type lwc",
|
|
674
|
+
"Generate an Aura component bundle in the \"force-app/main/default/aura\" directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --output-dir force-app/main/default/aura",
|
|
675
|
+
"Generate a Lightning web component bundle in the \"force-app/main/default/lwc\" directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --type lwc --output-dir force-app/main/default/lwc"
|
|
671
676
|
],
|
|
672
677
|
"flags": {
|
|
673
678
|
"json": {
|
|
@@ -687,14 +692,14 @@
|
|
|
687
692
|
},
|
|
688
693
|
"name": {
|
|
689
694
|
"aliases": [
|
|
690
|
-
"
|
|
695
|
+
"componentname"
|
|
691
696
|
],
|
|
692
697
|
"char": "n",
|
|
693
698
|
"deprecateAliases": true,
|
|
694
699
|
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
695
700
|
"name": "name",
|
|
696
701
|
"required": true,
|
|
697
|
-
"summary": "Name of the generated
|
|
702
|
+
"summary": "Name of the generated Lightning Component.",
|
|
698
703
|
"hasDynamicHelp": false,
|
|
699
704
|
"multiple": false,
|
|
700
705
|
"type": "option"
|
|
@@ -704,11 +709,13 @@
|
|
|
704
709
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
705
710
|
"name": "template",
|
|
706
711
|
"summary": "Template to use for file creation.",
|
|
707
|
-
"default": "
|
|
712
|
+
"default": "default",
|
|
708
713
|
"hasDynamicHelp": false,
|
|
709
714
|
"multiple": false,
|
|
710
715
|
"options": [
|
|
711
|
-
"
|
|
716
|
+
"default",
|
|
717
|
+
"analyticsDashboard",
|
|
718
|
+
"analyticsDashboardWithStep"
|
|
712
719
|
],
|
|
713
720
|
"type": "option"
|
|
714
721
|
},
|
|
@@ -737,40 +744,26 @@
|
|
|
737
744
|
"multiple": false,
|
|
738
745
|
"type": "option"
|
|
739
746
|
},
|
|
740
|
-
"
|
|
741
|
-
"
|
|
742
|
-
"
|
|
743
|
-
"
|
|
744
|
-
"default": "SOBJECT",
|
|
747
|
+
"type": {
|
|
748
|
+
"name": "type",
|
|
749
|
+
"summary": "Type of the component bundle.",
|
|
750
|
+
"default": "aura",
|
|
745
751
|
"hasDynamicHelp": false,
|
|
746
752
|
"multiple": false,
|
|
747
|
-
"type": "option"
|
|
748
|
-
},
|
|
749
|
-
"event": {
|
|
750
|
-
"aliases": [
|
|
751
|
-
"triggerevents"
|
|
752
|
-
],
|
|
753
|
-
"char": "e",
|
|
754
|
-
"deprecateAliases": true,
|
|
755
|
-
"name": "event",
|
|
756
|
-
"summary": "Events that fire the trigger.",
|
|
757
|
-
"default": [
|
|
758
|
-
"before insert"
|
|
759
|
-
],
|
|
760
|
-
"delimiter": ",",
|
|
761
|
-
"hasDynamicHelp": false,
|
|
762
|
-
"multiple": true,
|
|
763
753
|
"options": [
|
|
764
|
-
"
|
|
765
|
-
"
|
|
766
|
-
"before delete",
|
|
767
|
-
"after insert",
|
|
768
|
-
"after update",
|
|
769
|
-
"after delete",
|
|
770
|
-
"after undelete"
|
|
754
|
+
"aura",
|
|
755
|
+
"lwc"
|
|
771
756
|
],
|
|
772
757
|
"type": "option"
|
|
773
758
|
},
|
|
759
|
+
"internal": {
|
|
760
|
+
"char": "i",
|
|
761
|
+
"hidden": true,
|
|
762
|
+
"name": "internal",
|
|
763
|
+
"summary": "Generate lightning bundles without creating a -meta.xml file.",
|
|
764
|
+
"allowNo": false,
|
|
765
|
+
"type": "boolean"
|
|
766
|
+
},
|
|
774
767
|
"loglevel": {
|
|
775
768
|
"deprecated": {
|
|
776
769
|
"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."
|
|
@@ -784,66 +777,66 @@
|
|
|
784
777
|
},
|
|
785
778
|
"hasDynamicHelp": false,
|
|
786
779
|
"hiddenAliases": [],
|
|
787
|
-
"id": "
|
|
780
|
+
"id": "lightning:generate:component",
|
|
788
781
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
789
782
|
"pluginName": "@salesforce/plugin-templates",
|
|
790
783
|
"pluginType": "core",
|
|
791
784
|
"strict": true,
|
|
792
|
-
"summary": "Generate an
|
|
785
|
+
"summary": "Generate a bundle for an Aura component or a Lightning web component.",
|
|
793
786
|
"enableJsonFlag": true,
|
|
794
787
|
"isESM": true,
|
|
795
788
|
"relativePath": [
|
|
796
789
|
"lib",
|
|
797
790
|
"commands",
|
|
798
|
-
"
|
|
791
|
+
"lightning",
|
|
799
792
|
"generate",
|
|
800
|
-
"
|
|
793
|
+
"component.js"
|
|
801
794
|
],
|
|
802
795
|
"aliasPermutations": [
|
|
803
|
-
"force:
|
|
804
|
-
"
|
|
805
|
-
"
|
|
806
|
-
"
|
|
807
|
-
"force:
|
|
808
|
-
"
|
|
809
|
-
"
|
|
810
|
-
"
|
|
811
|
-
"force:
|
|
812
|
-
"
|
|
813
|
-
"
|
|
814
|
-
"
|
|
815
|
-
"force:
|
|
816
|
-
"
|
|
817
|
-
"
|
|
818
|
-
"
|
|
819
|
-
"force:create:
|
|
820
|
-
"create:force:
|
|
821
|
-
"create:
|
|
822
|
-
"create:
|
|
823
|
-
"force:create:
|
|
824
|
-
"create:force:
|
|
825
|
-
"create:
|
|
826
|
-
"create:
|
|
796
|
+
"force:lightning:component:create",
|
|
797
|
+
"lightning:force:component:create",
|
|
798
|
+
"lightning:component:force:create",
|
|
799
|
+
"lightning:component:create:force",
|
|
800
|
+
"force:component:lightning:create",
|
|
801
|
+
"component:force:lightning:create",
|
|
802
|
+
"component:lightning:force:create",
|
|
803
|
+
"component:lightning:create:force",
|
|
804
|
+
"force:component:create:lightning",
|
|
805
|
+
"component:force:create:lightning",
|
|
806
|
+
"component:create:force:lightning",
|
|
807
|
+
"component:create:lightning:force",
|
|
808
|
+
"force:lightning:create:component",
|
|
809
|
+
"lightning:force:create:component",
|
|
810
|
+
"lightning:create:force:component",
|
|
811
|
+
"lightning:create:component:force",
|
|
812
|
+
"force:create:lightning:component",
|
|
813
|
+
"create:force:lightning:component",
|
|
814
|
+
"create:lightning:force:component",
|
|
815
|
+
"create:lightning:component:force",
|
|
816
|
+
"force:create:component:lightning",
|
|
817
|
+
"create:force:component:lightning",
|
|
818
|
+
"create:component:force:lightning",
|
|
819
|
+
"create:component:lightning:force"
|
|
827
820
|
],
|
|
828
821
|
"permutations": [
|
|
829
|
-
"
|
|
830
|
-
"generate:
|
|
831
|
-
"generate:
|
|
832
|
-
"
|
|
833
|
-
"
|
|
834
|
-
"
|
|
822
|
+
"lightning:generate:component",
|
|
823
|
+
"generate:lightning:component",
|
|
824
|
+
"generate:component:lightning",
|
|
825
|
+
"lightning:component:generate",
|
|
826
|
+
"component:lightning:generate",
|
|
827
|
+
"component:generate:lightning"
|
|
835
828
|
]
|
|
836
829
|
},
|
|
837
|
-
"lightning:generate:
|
|
830
|
+
"lightning:generate:event": {
|
|
838
831
|
"aliases": [
|
|
839
|
-
"force:lightning:
|
|
832
|
+
"force:lightning:event:create"
|
|
840
833
|
],
|
|
841
834
|
"args": {},
|
|
842
835
|
"deprecateAliases": true,
|
|
843
|
-
"description": "Generates a Lightning
|
|
836
|
+
"description": "Generates a Lightning Event bundle in the specified directory or the current working directory. The bundle consists of multiple files in a folder with the designated name.",
|
|
844
837
|
"examples": [
|
|
845
|
-
"Generate the metadata files for a Lightning
|
|
846
|
-
"Similar to
|
|
838
|
+
"Generate the metadata files for a Lightning event bundle called \"myevent\" in the current directory:\n<%= config.bin %> <%= command.id %> --name myevent",
|
|
839
|
+
"Similar to previous example, but generate the files in the \"force-app/main/default/aura\" directory:\n<%= config.bin %> <%= command.id %> --name myevent --output-dir force-app/main/default/aura"
|
|
847
840
|
],
|
|
848
841
|
"flags": {
|
|
849
842
|
"json": {
|
|
@@ -863,14 +856,14 @@
|
|
|
863
856
|
},
|
|
864
857
|
"name": {
|
|
865
858
|
"aliases": [
|
|
866
|
-
"
|
|
859
|
+
"eventname"
|
|
867
860
|
],
|
|
868
861
|
"char": "n",
|
|
869
862
|
"deprecateAliases": true,
|
|
870
863
|
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
871
864
|
"name": "name",
|
|
872
865
|
"required": true,
|
|
873
|
-
"summary": "Name of the generated Lightning
|
|
866
|
+
"summary": "Name of the generated Lightning Event.",
|
|
874
867
|
"hasDynamicHelp": false,
|
|
875
868
|
"multiple": false,
|
|
876
869
|
"type": "option"
|
|
@@ -880,11 +873,11 @@
|
|
|
880
873
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
881
874
|
"name": "template",
|
|
882
875
|
"summary": "Template to use for file creation.",
|
|
883
|
-
"default": "
|
|
876
|
+
"default": "DefaultLightningEvt",
|
|
884
877
|
"hasDynamicHelp": false,
|
|
885
878
|
"multiple": false,
|
|
886
879
|
"options": [
|
|
887
|
-
"
|
|
880
|
+
"DefaultLightningEvt"
|
|
888
881
|
],
|
|
889
882
|
"type": "option"
|
|
890
883
|
},
|
|
@@ -934,12 +927,12 @@
|
|
|
934
927
|
},
|
|
935
928
|
"hasDynamicHelp": false,
|
|
936
929
|
"hiddenAliases": [],
|
|
937
|
-
"id": "lightning:generate:
|
|
930
|
+
"id": "lightning:generate:event",
|
|
938
931
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
939
932
|
"pluginName": "@salesforce/plugin-templates",
|
|
940
933
|
"pluginType": "core",
|
|
941
934
|
"strict": true,
|
|
942
|
-
"summary": "Generate a Lightning
|
|
935
|
+
"summary": "Generate a Lightning Event.",
|
|
943
936
|
"enableJsonFlag": true,
|
|
944
937
|
"isESM": true,
|
|
945
938
|
"relativePath": [
|
|
@@ -947,55 +940,53 @@
|
|
|
947
940
|
"commands",
|
|
948
941
|
"lightning",
|
|
949
942
|
"generate",
|
|
950
|
-
"
|
|
943
|
+
"event.js"
|
|
951
944
|
],
|
|
952
945
|
"aliasPermutations": [
|
|
953
|
-
"force:lightning:
|
|
954
|
-
"lightning:force:
|
|
955
|
-
"lightning:
|
|
956
|
-
"lightning:
|
|
957
|
-
"force:
|
|
958
|
-
"
|
|
959
|
-
"
|
|
960
|
-
"
|
|
961
|
-
"force:
|
|
962
|
-
"
|
|
963
|
-
"
|
|
964
|
-
"
|
|
965
|
-
"force:lightning:create:
|
|
966
|
-
"lightning:force:create:
|
|
967
|
-
"lightning:create:force:
|
|
968
|
-
"lightning:create:
|
|
969
|
-
"force:create:lightning:
|
|
970
|
-
"create:force:lightning:
|
|
971
|
-
"create:lightning:force:
|
|
972
|
-
"create:lightning:
|
|
973
|
-
"force:create:
|
|
974
|
-
"create:force:
|
|
975
|
-
"create:
|
|
976
|
-
"create:
|
|
946
|
+
"force:lightning:event:create",
|
|
947
|
+
"lightning:force:event:create",
|
|
948
|
+
"lightning:event:force:create",
|
|
949
|
+
"lightning:event:create:force",
|
|
950
|
+
"force:event:lightning:create",
|
|
951
|
+
"event:force:lightning:create",
|
|
952
|
+
"event:lightning:force:create",
|
|
953
|
+
"event:lightning:create:force",
|
|
954
|
+
"force:event:create:lightning",
|
|
955
|
+
"event:force:create:lightning",
|
|
956
|
+
"event:create:force:lightning",
|
|
957
|
+
"event:create:lightning:force",
|
|
958
|
+
"force:lightning:create:event",
|
|
959
|
+
"lightning:force:create:event",
|
|
960
|
+
"lightning:create:force:event",
|
|
961
|
+
"lightning:create:event:force",
|
|
962
|
+
"force:create:lightning:event",
|
|
963
|
+
"create:force:lightning:event",
|
|
964
|
+
"create:lightning:force:event",
|
|
965
|
+
"create:lightning:event:force",
|
|
966
|
+
"force:create:event:lightning",
|
|
967
|
+
"create:force:event:lightning",
|
|
968
|
+
"create:event:force:lightning",
|
|
969
|
+
"create:event:lightning:force"
|
|
977
970
|
],
|
|
978
971
|
"permutations": [
|
|
979
|
-
"lightning:generate:
|
|
980
|
-
"generate:lightning:
|
|
981
|
-
"generate:
|
|
982
|
-
"lightning:
|
|
983
|
-
"
|
|
984
|
-
"
|
|
972
|
+
"lightning:generate:event",
|
|
973
|
+
"generate:lightning:event",
|
|
974
|
+
"generate:event:lightning",
|
|
975
|
+
"lightning:event:generate",
|
|
976
|
+
"event:lightning:generate",
|
|
977
|
+
"event:generate:lightning"
|
|
985
978
|
]
|
|
986
979
|
},
|
|
987
|
-
"lightning:generate:
|
|
980
|
+
"lightning:generate:interface": {
|
|
988
981
|
"aliases": [
|
|
989
|
-
"force:lightning:
|
|
982
|
+
"force:lightning:interface:create"
|
|
990
983
|
],
|
|
991
984
|
"args": {},
|
|
992
985
|
"deprecateAliases": true,
|
|
993
|
-
"description": "Generates
|
|
986
|
+
"description": "Generates a Lightning Interface bundle in the specified directory or the current working directory. The bundle consists of multiple files in a folder with the designated name.",
|
|
994
987
|
"examples": [
|
|
995
|
-
"Generate the metadata files for
|
|
996
|
-
"
|
|
997
|
-
"Generate an Aura component bundle in the \"force-app/main/default/aura\" directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --output-dir force-app/main/default/aura",
|
|
998
|
-
"Generate a Lightning web component bundle in the \"force-app/main/default/lwc\" directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --type lwc --output-dir force-app/main/default/lwc"
|
|
988
|
+
"Generate the metadata files for a Lightning interface bundle called \"myinterface\" in the current directory:\n<%= config.bin %> <%= command.id %> --name myinterface",
|
|
989
|
+
"Similar to the previous example but generate the files in the \"force-app/main/default/aura\" directory:\n<%= config.bin %> <%= command.id %> --name myinterface --output-dir force-app/main/default/aura"
|
|
999
990
|
],
|
|
1000
991
|
"flags": {
|
|
1001
992
|
"json": {
|
|
@@ -1015,14 +1006,14 @@
|
|
|
1015
1006
|
},
|
|
1016
1007
|
"name": {
|
|
1017
1008
|
"aliases": [
|
|
1018
|
-
"
|
|
1009
|
+
"interfacename"
|
|
1019
1010
|
],
|
|
1020
1011
|
"char": "n",
|
|
1021
1012
|
"deprecateAliases": true,
|
|
1022
1013
|
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
1023
1014
|
"name": "name",
|
|
1024
1015
|
"required": true,
|
|
1025
|
-
"summary": "Name of the generated Lightning
|
|
1016
|
+
"summary": "Name of the generated Lightning Interface.",
|
|
1026
1017
|
"hasDynamicHelp": false,
|
|
1027
1018
|
"multiple": false,
|
|
1028
1019
|
"type": "option"
|
|
@@ -1032,13 +1023,11 @@
|
|
|
1032
1023
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
1033
1024
|
"name": "template",
|
|
1034
1025
|
"summary": "Template to use for file creation.",
|
|
1035
|
-
"default": "
|
|
1026
|
+
"default": "DefaultLightningIntf",
|
|
1036
1027
|
"hasDynamicHelp": false,
|
|
1037
1028
|
"multiple": false,
|
|
1038
1029
|
"options": [
|
|
1039
|
-
"
|
|
1040
|
-
"analyticsDashboard",
|
|
1041
|
-
"analyticsDashboardWithStep"
|
|
1030
|
+
"DefaultLightningIntf"
|
|
1042
1031
|
],
|
|
1043
1032
|
"type": "option"
|
|
1044
1033
|
},
|
|
@@ -1067,18 +1056,6 @@
|
|
|
1067
1056
|
"multiple": false,
|
|
1068
1057
|
"type": "option"
|
|
1069
1058
|
},
|
|
1070
|
-
"type": {
|
|
1071
|
-
"name": "type",
|
|
1072
|
-
"summary": "Type of the component bundle.",
|
|
1073
|
-
"default": "aura",
|
|
1074
|
-
"hasDynamicHelp": false,
|
|
1075
|
-
"multiple": false,
|
|
1076
|
-
"options": [
|
|
1077
|
-
"aura",
|
|
1078
|
-
"lwc"
|
|
1079
|
-
],
|
|
1080
|
-
"type": "option"
|
|
1081
|
-
},
|
|
1082
1059
|
"internal": {
|
|
1083
1060
|
"char": "i",
|
|
1084
1061
|
"hidden": true,
|
|
@@ -1100,12 +1077,12 @@
|
|
|
1100
1077
|
},
|
|
1101
1078
|
"hasDynamicHelp": false,
|
|
1102
1079
|
"hiddenAliases": [],
|
|
1103
|
-
"id": "lightning:generate:
|
|
1080
|
+
"id": "lightning:generate:interface",
|
|
1104
1081
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
1105
1082
|
"pluginName": "@salesforce/plugin-templates",
|
|
1106
1083
|
"pluginType": "core",
|
|
1107
1084
|
"strict": true,
|
|
1108
|
-
"summary": "Generate a
|
|
1085
|
+
"summary": "Generate a Lightning Interface.",
|
|
1109
1086
|
"enableJsonFlag": true,
|
|
1110
1087
|
"isESM": true,
|
|
1111
1088
|
"relativePath": [
|
|
@@ -1113,53 +1090,53 @@
|
|
|
1113
1090
|
"commands",
|
|
1114
1091
|
"lightning",
|
|
1115
1092
|
"generate",
|
|
1116
|
-
"
|
|
1093
|
+
"interface.js"
|
|
1117
1094
|
],
|
|
1118
1095
|
"aliasPermutations": [
|
|
1119
|
-
"force:lightning:
|
|
1120
|
-
"lightning:force:
|
|
1121
|
-
"lightning:
|
|
1122
|
-
"lightning:
|
|
1123
|
-
"force:
|
|
1124
|
-
"
|
|
1125
|
-
"
|
|
1126
|
-
"
|
|
1127
|
-
"force:
|
|
1128
|
-
"
|
|
1129
|
-
"
|
|
1130
|
-
"
|
|
1131
|
-
"force:lightning:create:
|
|
1132
|
-
"lightning:force:create:
|
|
1133
|
-
"lightning:create:force:
|
|
1134
|
-
"lightning:create:
|
|
1135
|
-
"force:create:lightning:
|
|
1136
|
-
"create:force:lightning:
|
|
1137
|
-
"create:lightning:force:
|
|
1138
|
-
"create:lightning:
|
|
1139
|
-
"force:create:
|
|
1140
|
-
"create:force:
|
|
1141
|
-
"create:
|
|
1142
|
-
"create:
|
|
1096
|
+
"force:lightning:interface:create",
|
|
1097
|
+
"lightning:force:interface:create",
|
|
1098
|
+
"lightning:interface:force:create",
|
|
1099
|
+
"lightning:interface:create:force",
|
|
1100
|
+
"force:interface:lightning:create",
|
|
1101
|
+
"interface:force:lightning:create",
|
|
1102
|
+
"interface:lightning:force:create",
|
|
1103
|
+
"interface:lightning:create:force",
|
|
1104
|
+
"force:interface:create:lightning",
|
|
1105
|
+
"interface:force:create:lightning",
|
|
1106
|
+
"interface:create:force:lightning",
|
|
1107
|
+
"interface:create:lightning:force",
|
|
1108
|
+
"force:lightning:create:interface",
|
|
1109
|
+
"lightning:force:create:interface",
|
|
1110
|
+
"lightning:create:force:interface",
|
|
1111
|
+
"lightning:create:interface:force",
|
|
1112
|
+
"force:create:lightning:interface",
|
|
1113
|
+
"create:force:lightning:interface",
|
|
1114
|
+
"create:lightning:force:interface",
|
|
1115
|
+
"create:lightning:interface:force",
|
|
1116
|
+
"force:create:interface:lightning",
|
|
1117
|
+
"create:force:interface:lightning",
|
|
1118
|
+
"create:interface:force:lightning",
|
|
1119
|
+
"create:interface:lightning:force"
|
|
1143
1120
|
],
|
|
1144
1121
|
"permutations": [
|
|
1145
|
-
"lightning:generate:
|
|
1146
|
-
"generate:lightning:
|
|
1147
|
-
"generate:
|
|
1148
|
-
"lightning:
|
|
1149
|
-
"
|
|
1150
|
-
"
|
|
1122
|
+
"lightning:generate:interface",
|
|
1123
|
+
"generate:lightning:interface",
|
|
1124
|
+
"generate:interface:lightning",
|
|
1125
|
+
"lightning:interface:generate",
|
|
1126
|
+
"interface:lightning:generate",
|
|
1127
|
+
"interface:generate:lightning"
|
|
1151
1128
|
]
|
|
1152
1129
|
},
|
|
1153
|
-
"lightning:generate:
|
|
1130
|
+
"lightning:generate:test": {
|
|
1154
1131
|
"aliases": [
|
|
1155
|
-
"force:lightning:
|
|
1132
|
+
"force:lightning:test:create"
|
|
1156
1133
|
],
|
|
1157
1134
|
"args": {},
|
|
1158
1135
|
"deprecateAliases": true,
|
|
1159
|
-
"description": "Generates
|
|
1136
|
+
"description": "Generates the test in the specified directory or the current working directory. The .resource file and associated metadata file are generated.",
|
|
1160
1137
|
"examples": [
|
|
1161
|
-
"Generate the metadata files for
|
|
1162
|
-
"Similar to previous example
|
|
1138
|
+
"Generate the metadata files for the Lightning test called MyLightningTest in the current directory:\n<%= config.bin %> <%= command.id %> --name MyLightningTest",
|
|
1139
|
+
"Similar to the previous example but generate the files in the \"force-app/main/default/lightningTests\" directory:\n<%= config.bin %> <%= command.id %> --name MyLightningTest --output-dir force-app/main/default/lightningTests"
|
|
1163
1140
|
],
|
|
1164
1141
|
"flags": {
|
|
1165
1142
|
"json": {
|
|
@@ -1179,14 +1156,14 @@
|
|
|
1179
1156
|
},
|
|
1180
1157
|
"name": {
|
|
1181
1158
|
"aliases": [
|
|
1182
|
-
"
|
|
1159
|
+
"testname"
|
|
1183
1160
|
],
|
|
1184
1161
|
"char": "n",
|
|
1185
1162
|
"deprecateAliases": true,
|
|
1186
|
-
"description": "
|
|
1163
|
+
"description": "Name of the new Lightning test; can be up to 40 characters and must start with a letter.",
|
|
1187
1164
|
"name": "name",
|
|
1188
1165
|
"required": true,
|
|
1189
|
-
"summary": "Name of the generated Lightning
|
|
1166
|
+
"summary": "Name of the generated Lightning Test.",
|
|
1190
1167
|
"hasDynamicHelp": false,
|
|
1191
1168
|
"multiple": false,
|
|
1192
1169
|
"type": "option"
|
|
@@ -1196,11 +1173,11 @@
|
|
|
1196
1173
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
1197
1174
|
"name": "template",
|
|
1198
1175
|
"summary": "Template to use for file creation.",
|
|
1199
|
-
"default": "
|
|
1176
|
+
"default": "DefaultLightningTest",
|
|
1200
1177
|
"hasDynamicHelp": false,
|
|
1201
1178
|
"multiple": false,
|
|
1202
1179
|
"options": [
|
|
1203
|
-
"
|
|
1180
|
+
"DefaultLightningTest"
|
|
1204
1181
|
],
|
|
1205
1182
|
"type": "option"
|
|
1206
1183
|
},
|
|
@@ -1218,6 +1195,14 @@
|
|
|
1218
1195
|
"multiple": false,
|
|
1219
1196
|
"type": "option"
|
|
1220
1197
|
},
|
|
1198
|
+
"internal": {
|
|
1199
|
+
"char": "i",
|
|
1200
|
+
"hidden": true,
|
|
1201
|
+
"name": "internal",
|
|
1202
|
+
"summary": "Generate lightning bundles without creating a -meta.xml file.",
|
|
1203
|
+
"allowNo": false,
|
|
1204
|
+
"type": "boolean"
|
|
1205
|
+
},
|
|
1221
1206
|
"api-version": {
|
|
1222
1207
|
"aliases": [
|
|
1223
1208
|
"apiversion"
|
|
@@ -1229,14 +1214,6 @@
|
|
|
1229
1214
|
"multiple": false,
|
|
1230
1215
|
"type": "option"
|
|
1231
1216
|
},
|
|
1232
|
-
"internal": {
|
|
1233
|
-
"char": "i",
|
|
1234
|
-
"hidden": true,
|
|
1235
|
-
"name": "internal",
|
|
1236
|
-
"summary": "Generate lightning bundles without creating a -meta.xml file.",
|
|
1237
|
-
"allowNo": false,
|
|
1238
|
-
"type": "boolean"
|
|
1239
|
-
},
|
|
1240
1217
|
"loglevel": {
|
|
1241
1218
|
"deprecated": {
|
|
1242
1219
|
"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."
|
|
@@ -1250,12 +1227,12 @@
|
|
|
1250
1227
|
},
|
|
1251
1228
|
"hasDynamicHelp": false,
|
|
1252
1229
|
"hiddenAliases": [],
|
|
1253
|
-
"id": "lightning:generate:
|
|
1230
|
+
"id": "lightning:generate:test",
|
|
1254
1231
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
1255
1232
|
"pluginName": "@salesforce/plugin-templates",
|
|
1256
1233
|
"pluginType": "core",
|
|
1257
1234
|
"strict": true,
|
|
1258
|
-
"summary": "Generate a Lightning
|
|
1235
|
+
"summary": "Generate a Lightning test.",
|
|
1259
1236
|
"enableJsonFlag": true,
|
|
1260
1237
|
"isESM": true,
|
|
1261
1238
|
"relativePath": [
|
|
@@ -1263,53 +1240,53 @@
|
|
|
1263
1240
|
"commands",
|
|
1264
1241
|
"lightning",
|
|
1265
1242
|
"generate",
|
|
1266
|
-
"
|
|
1243
|
+
"test.js"
|
|
1267
1244
|
],
|
|
1268
1245
|
"aliasPermutations": [
|
|
1269
|
-
"force:lightning:
|
|
1270
|
-
"lightning:force:
|
|
1271
|
-
"lightning:
|
|
1272
|
-
"lightning:
|
|
1273
|
-
"force:
|
|
1274
|
-
"
|
|
1275
|
-
"
|
|
1276
|
-
"
|
|
1277
|
-
"force:
|
|
1278
|
-
"
|
|
1279
|
-
"
|
|
1280
|
-
"
|
|
1281
|
-
"force:lightning:create:
|
|
1282
|
-
"lightning:force:create:
|
|
1283
|
-
"lightning:create:force:
|
|
1284
|
-
"lightning:create:
|
|
1285
|
-
"force:create:lightning:
|
|
1286
|
-
"create:force:lightning:
|
|
1287
|
-
"create:lightning:force:
|
|
1288
|
-
"create:lightning:
|
|
1289
|
-
"force:create:
|
|
1290
|
-
"create:force:
|
|
1291
|
-
"create:
|
|
1292
|
-
"create:
|
|
1246
|
+
"force:lightning:test:create",
|
|
1247
|
+
"lightning:force:test:create",
|
|
1248
|
+
"lightning:test:force:create",
|
|
1249
|
+
"lightning:test:create:force",
|
|
1250
|
+
"force:test:lightning:create",
|
|
1251
|
+
"test:force:lightning:create",
|
|
1252
|
+
"test:lightning:force:create",
|
|
1253
|
+
"test:lightning:create:force",
|
|
1254
|
+
"force:test:create:lightning",
|
|
1255
|
+
"test:force:create:lightning",
|
|
1256
|
+
"test:create:force:lightning",
|
|
1257
|
+
"test:create:lightning:force",
|
|
1258
|
+
"force:lightning:create:test",
|
|
1259
|
+
"lightning:force:create:test",
|
|
1260
|
+
"lightning:create:force:test",
|
|
1261
|
+
"lightning:create:test:force",
|
|
1262
|
+
"force:create:lightning:test",
|
|
1263
|
+
"create:force:lightning:test",
|
|
1264
|
+
"create:lightning:force:test",
|
|
1265
|
+
"create:lightning:test:force",
|
|
1266
|
+
"force:create:test:lightning",
|
|
1267
|
+
"create:force:test:lightning",
|
|
1268
|
+
"create:test:force:lightning",
|
|
1269
|
+
"create:test:lightning:force"
|
|
1293
1270
|
],
|
|
1294
1271
|
"permutations": [
|
|
1295
|
-
"lightning:generate:
|
|
1296
|
-
"generate:lightning:
|
|
1297
|
-
"generate:
|
|
1298
|
-
"lightning:
|
|
1299
|
-
"
|
|
1300
|
-
"
|
|
1272
|
+
"lightning:generate:test",
|
|
1273
|
+
"generate:lightning:test",
|
|
1274
|
+
"generate:test:lightning",
|
|
1275
|
+
"lightning:test:generate",
|
|
1276
|
+
"test:lightning:generate",
|
|
1277
|
+
"test:generate:lightning"
|
|
1301
1278
|
]
|
|
1302
1279
|
},
|
|
1303
|
-
"
|
|
1280
|
+
"visualforce:generate:component": {
|
|
1304
1281
|
"aliases": [
|
|
1305
|
-
"force:
|
|
1282
|
+
"force:visualforce:component:create"
|
|
1306
1283
|
],
|
|
1307
1284
|
"args": {},
|
|
1308
1285
|
"deprecateAliases": true,
|
|
1309
|
-
"description": "
|
|
1286
|
+
"description": "The command generates the .Component file and associated metadata file in the specified directory or the current working directory by default.",
|
|
1310
1287
|
"examples": [
|
|
1311
|
-
"Generate the metadata files for a
|
|
1312
|
-
"Similar to
|
|
1288
|
+
"Generate the metadata files for a Visualforce component in the current directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --label mylabel",
|
|
1289
|
+
"Similar to previous example, but generate the files in the directory \"force-app/main/default/components\":\n<%= config.bin %> <%= command.id %> --name mycomponent --label mylabel --output-dir components"
|
|
1313
1290
|
],
|
|
1314
1291
|
"flags": {
|
|
1315
1292
|
"json": {
|
|
@@ -1329,14 +1306,14 @@
|
|
|
1329
1306
|
},
|
|
1330
1307
|
"name": {
|
|
1331
1308
|
"aliases": [
|
|
1332
|
-
"
|
|
1309
|
+
"componentname"
|
|
1333
1310
|
],
|
|
1334
1311
|
"char": "n",
|
|
1335
1312
|
"deprecateAliases": true,
|
|
1336
1313
|
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
1337
1314
|
"name": "name",
|
|
1338
1315
|
"required": true,
|
|
1339
|
-
"summary": "Name of the generated
|
|
1316
|
+
"summary": "Name of the generated Visualforce Component.",
|
|
1340
1317
|
"hasDynamicHelp": false,
|
|
1341
1318
|
"multiple": false,
|
|
1342
1319
|
"type": "option"
|
|
@@ -1346,11 +1323,11 @@
|
|
|
1346
1323
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
1347
1324
|
"name": "template",
|
|
1348
1325
|
"summary": "Template to use for file creation.",
|
|
1349
|
-
"default": "
|
|
1326
|
+
"default": "DefaultVFComponent",
|
|
1350
1327
|
"hasDynamicHelp": false,
|
|
1351
1328
|
"multiple": false,
|
|
1352
1329
|
"options": [
|
|
1353
|
-
"
|
|
1330
|
+
"DefaultVFComponent"
|
|
1354
1331
|
],
|
|
1355
1332
|
"type": "option"
|
|
1356
1333
|
},
|
|
@@ -1379,13 +1356,14 @@
|
|
|
1379
1356
|
"multiple": false,
|
|
1380
1357
|
"type": "option"
|
|
1381
1358
|
},
|
|
1382
|
-
"
|
|
1383
|
-
"char": "
|
|
1384
|
-
"
|
|
1385
|
-
"
|
|
1386
|
-
"summary": "
|
|
1387
|
-
"
|
|
1388
|
-
"
|
|
1359
|
+
"label": {
|
|
1360
|
+
"char": "l",
|
|
1361
|
+
"name": "label",
|
|
1362
|
+
"required": true,
|
|
1363
|
+
"summary": "Visualforce Component label.",
|
|
1364
|
+
"hasDynamicHelp": false,
|
|
1365
|
+
"multiple": false,
|
|
1366
|
+
"type": "option"
|
|
1389
1367
|
},
|
|
1390
1368
|
"loglevel": {
|
|
1391
1369
|
"deprecated": {
|
|
@@ -1400,66 +1378,66 @@
|
|
|
1400
1378
|
},
|
|
1401
1379
|
"hasDynamicHelp": false,
|
|
1402
1380
|
"hiddenAliases": [],
|
|
1403
|
-
"id": "
|
|
1381
|
+
"id": "visualforce:generate:component",
|
|
1404
1382
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
1405
1383
|
"pluginName": "@salesforce/plugin-templates",
|
|
1406
1384
|
"pluginType": "core",
|
|
1407
1385
|
"strict": true,
|
|
1408
|
-
"summary": "Generate a
|
|
1386
|
+
"summary": "Generate a Visualforce Component.",
|
|
1409
1387
|
"enableJsonFlag": true,
|
|
1410
1388
|
"isESM": true,
|
|
1411
1389
|
"relativePath": [
|
|
1412
1390
|
"lib",
|
|
1413
1391
|
"commands",
|
|
1414
|
-
"
|
|
1392
|
+
"visualforce",
|
|
1415
1393
|
"generate",
|
|
1416
|
-
"
|
|
1394
|
+
"component.js"
|
|
1417
1395
|
],
|
|
1418
1396
|
"aliasPermutations": [
|
|
1419
|
-
"force:
|
|
1420
|
-
"
|
|
1421
|
-
"
|
|
1422
|
-
"
|
|
1423
|
-
"force:
|
|
1424
|
-
"
|
|
1425
|
-
"
|
|
1426
|
-
"
|
|
1427
|
-
"force:
|
|
1428
|
-
"
|
|
1429
|
-
"
|
|
1430
|
-
"
|
|
1431
|
-
"force:
|
|
1432
|
-
"
|
|
1433
|
-
"
|
|
1434
|
-
"
|
|
1435
|
-
"force:create:
|
|
1436
|
-
"create:force:
|
|
1437
|
-
"create:
|
|
1438
|
-
"create:
|
|
1439
|
-
"force:create:
|
|
1440
|
-
"create:force:
|
|
1441
|
-
"create:
|
|
1442
|
-
"create:
|
|
1397
|
+
"force:visualforce:component:create",
|
|
1398
|
+
"visualforce:force:component:create",
|
|
1399
|
+
"visualforce:component:force:create",
|
|
1400
|
+
"visualforce:component:create:force",
|
|
1401
|
+
"force:component:visualforce:create",
|
|
1402
|
+
"component:force:visualforce:create",
|
|
1403
|
+
"component:visualforce:force:create",
|
|
1404
|
+
"component:visualforce:create:force",
|
|
1405
|
+
"force:component:create:visualforce",
|
|
1406
|
+
"component:force:create:visualforce",
|
|
1407
|
+
"component:create:force:visualforce",
|
|
1408
|
+
"component:create:visualforce:force",
|
|
1409
|
+
"force:visualforce:create:component",
|
|
1410
|
+
"visualforce:force:create:component",
|
|
1411
|
+
"visualforce:create:force:component",
|
|
1412
|
+
"visualforce:create:component:force",
|
|
1413
|
+
"force:create:visualforce:component",
|
|
1414
|
+
"create:force:visualforce:component",
|
|
1415
|
+
"create:visualforce:force:component",
|
|
1416
|
+
"create:visualforce:component:force",
|
|
1417
|
+
"force:create:component:visualforce",
|
|
1418
|
+
"create:force:component:visualforce",
|
|
1419
|
+
"create:component:force:visualforce",
|
|
1420
|
+
"create:component:visualforce:force"
|
|
1443
1421
|
],
|
|
1444
1422
|
"permutations": [
|
|
1445
|
-
"
|
|
1446
|
-
"generate:
|
|
1447
|
-
"generate:
|
|
1448
|
-
"
|
|
1449
|
-
"
|
|
1450
|
-
"
|
|
1423
|
+
"visualforce:generate:component",
|
|
1424
|
+
"generate:visualforce:component",
|
|
1425
|
+
"generate:component:visualforce",
|
|
1426
|
+
"visualforce:component:generate",
|
|
1427
|
+
"component:visualforce:generate",
|
|
1428
|
+
"component:generate:visualforce"
|
|
1451
1429
|
]
|
|
1452
1430
|
},
|
|
1453
|
-
"
|
|
1431
|
+
"visualforce:generate:page": {
|
|
1454
1432
|
"aliases": [
|
|
1455
|
-
"force:
|
|
1433
|
+
"force:visualforce:page:create"
|
|
1456
1434
|
],
|
|
1457
1435
|
"args": {},
|
|
1458
1436
|
"deprecateAliases": true,
|
|
1459
|
-
"description": "
|
|
1437
|
+
"description": "The command generates the .Page file and associated metadata file in the specified directory or the current working directory by default.",
|
|
1460
1438
|
"examples": [
|
|
1461
|
-
"Generate the metadata files for
|
|
1462
|
-
"Similar to
|
|
1439
|
+
"Generate the metadata files for a Visualforce page in the current directory:\n<%= config.bin %> <%= command.id %> --name mypage --label mylabel",
|
|
1440
|
+
"Similar to previous example, but generate the files in the directory \"force-app/main/default/pages\":\n<%= config.bin %> <%= command.id %> --name mypage --label mylabel --output-dir pages"
|
|
1463
1441
|
],
|
|
1464
1442
|
"flags": {
|
|
1465
1443
|
"json": {
|
|
@@ -1479,14 +1457,14 @@
|
|
|
1479
1457
|
},
|
|
1480
1458
|
"name": {
|
|
1481
1459
|
"aliases": [
|
|
1482
|
-
"
|
|
1460
|
+
"pagename"
|
|
1483
1461
|
],
|
|
1484
1462
|
"char": "n",
|
|
1485
1463
|
"deprecateAliases": true,
|
|
1486
|
-
"description": "
|
|
1464
|
+
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
1487
1465
|
"name": "name",
|
|
1488
1466
|
"required": true,
|
|
1489
|
-
"summary": "Name of the generated
|
|
1467
|
+
"summary": "Name of the generated Visualforce Page.",
|
|
1490
1468
|
"hasDynamicHelp": false,
|
|
1491
1469
|
"multiple": false,
|
|
1492
1470
|
"type": "option"
|
|
@@ -1494,13 +1472,14 @@
|
|
|
1494
1472
|
"template": {
|
|
1495
1473
|
"char": "t",
|
|
1496
1474
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
1475
|
+
"hidden": true,
|
|
1497
1476
|
"name": "template",
|
|
1498
1477
|
"summary": "Template to use for file creation.",
|
|
1499
|
-
"default": "
|
|
1478
|
+
"default": "DefaultVFPage",
|
|
1500
1479
|
"hasDynamicHelp": false,
|
|
1501
1480
|
"multiple": false,
|
|
1502
1481
|
"options": [
|
|
1503
|
-
"
|
|
1482
|
+
"DefaultVFPage"
|
|
1504
1483
|
],
|
|
1505
1484
|
"type": "option"
|
|
1506
1485
|
},
|
|
@@ -1518,14 +1497,6 @@
|
|
|
1518
1497
|
"multiple": false,
|
|
1519
1498
|
"type": "option"
|
|
1520
1499
|
},
|
|
1521
|
-
"internal": {
|
|
1522
|
-
"char": "i",
|
|
1523
|
-
"hidden": true,
|
|
1524
|
-
"name": "internal",
|
|
1525
|
-
"summary": "Generate lightning bundles without creating a -meta.xml file.",
|
|
1526
|
-
"allowNo": false,
|
|
1527
|
-
"type": "boolean"
|
|
1528
|
-
},
|
|
1529
1500
|
"api-version": {
|
|
1530
1501
|
"aliases": [
|
|
1531
1502
|
"apiversion"
|
|
@@ -1537,6 +1508,15 @@
|
|
|
1537
1508
|
"multiple": false,
|
|
1538
1509
|
"type": "option"
|
|
1539
1510
|
},
|
|
1511
|
+
"label": {
|
|
1512
|
+
"char": "l",
|
|
1513
|
+
"name": "label",
|
|
1514
|
+
"required": true,
|
|
1515
|
+
"summary": "Visualforce Page label.",
|
|
1516
|
+
"hasDynamicHelp": false,
|
|
1517
|
+
"multiple": false,
|
|
1518
|
+
"type": "option"
|
|
1519
|
+
},
|
|
1540
1520
|
"loglevel": {
|
|
1541
1521
|
"deprecated": {
|
|
1542
1522
|
"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."
|
|
@@ -1550,66 +1530,67 @@
|
|
|
1550
1530
|
},
|
|
1551
1531
|
"hasDynamicHelp": false,
|
|
1552
1532
|
"hiddenAliases": [],
|
|
1553
|
-
"id": "
|
|
1533
|
+
"id": "visualforce:generate:page",
|
|
1554
1534
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
1555
1535
|
"pluginName": "@salesforce/plugin-templates",
|
|
1556
1536
|
"pluginType": "core",
|
|
1557
1537
|
"strict": true,
|
|
1558
|
-
"summary": "Generate a
|
|
1538
|
+
"summary": "Generate a Visualforce Page.",
|
|
1559
1539
|
"enableJsonFlag": true,
|
|
1560
1540
|
"isESM": true,
|
|
1561
1541
|
"relativePath": [
|
|
1562
1542
|
"lib",
|
|
1563
1543
|
"commands",
|
|
1564
|
-
"
|
|
1544
|
+
"visualforce",
|
|
1565
1545
|
"generate",
|
|
1566
|
-
"
|
|
1546
|
+
"page.js"
|
|
1567
1547
|
],
|
|
1568
1548
|
"aliasPermutations": [
|
|
1569
|
-
"force:
|
|
1570
|
-
"
|
|
1571
|
-
"
|
|
1572
|
-
"
|
|
1573
|
-
"force:
|
|
1574
|
-
"
|
|
1575
|
-
"
|
|
1576
|
-
"
|
|
1577
|
-
"force:
|
|
1578
|
-
"
|
|
1579
|
-
"
|
|
1580
|
-
"
|
|
1581
|
-
"force:
|
|
1582
|
-
"
|
|
1583
|
-
"
|
|
1584
|
-
"
|
|
1585
|
-
"force:create:
|
|
1586
|
-
"create:force:
|
|
1587
|
-
"create:
|
|
1588
|
-
"create:
|
|
1589
|
-
"force:create:
|
|
1590
|
-
"create:force:
|
|
1591
|
-
"create:
|
|
1592
|
-
"create:
|
|
1549
|
+
"force:visualforce:page:create",
|
|
1550
|
+
"visualforce:force:page:create",
|
|
1551
|
+
"visualforce:page:force:create",
|
|
1552
|
+
"visualforce:page:create:force",
|
|
1553
|
+
"force:page:visualforce:create",
|
|
1554
|
+
"page:force:visualforce:create",
|
|
1555
|
+
"page:visualforce:force:create",
|
|
1556
|
+
"page:visualforce:create:force",
|
|
1557
|
+
"force:page:create:visualforce",
|
|
1558
|
+
"page:force:create:visualforce",
|
|
1559
|
+
"page:create:force:visualforce",
|
|
1560
|
+
"page:create:visualforce:force",
|
|
1561
|
+
"force:visualforce:create:page",
|
|
1562
|
+
"visualforce:force:create:page",
|
|
1563
|
+
"visualforce:create:force:page",
|
|
1564
|
+
"visualforce:create:page:force",
|
|
1565
|
+
"force:create:visualforce:page",
|
|
1566
|
+
"create:force:visualforce:page",
|
|
1567
|
+
"create:visualforce:force:page",
|
|
1568
|
+
"create:visualforce:page:force",
|
|
1569
|
+
"force:create:page:visualforce",
|
|
1570
|
+
"create:force:page:visualforce",
|
|
1571
|
+
"create:page:force:visualforce",
|
|
1572
|
+
"create:page:visualforce:force"
|
|
1593
1573
|
],
|
|
1594
1574
|
"permutations": [
|
|
1595
|
-
"
|
|
1596
|
-
"generate:
|
|
1597
|
-
"generate:
|
|
1598
|
-
"
|
|
1599
|
-
"
|
|
1600
|
-
"
|
|
1575
|
+
"visualforce:generate:page",
|
|
1576
|
+
"generate:visualforce:page",
|
|
1577
|
+
"generate:page:visualforce",
|
|
1578
|
+
"visualforce:page:generate",
|
|
1579
|
+
"page:visualforce:generate",
|
|
1580
|
+
"page:generate:visualforce"
|
|
1601
1581
|
]
|
|
1602
1582
|
},
|
|
1603
|
-
"
|
|
1583
|
+
"template:generate:apex:class": {
|
|
1604
1584
|
"aliases": [
|
|
1605
|
-
"force:
|
|
1585
|
+
"force:apex:class:create",
|
|
1586
|
+
"apex:generate:class"
|
|
1606
1587
|
],
|
|
1607
1588
|
"args": {},
|
|
1608
1589
|
"deprecateAliases": true,
|
|
1609
|
-
"description": "
|
|
1590
|
+
"description": "Generates the Apex *.cls file and associated metadata file. These files must be contained in a parent directory called \"classes\" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to generate one or point to an existing one.",
|
|
1610
1591
|
"examples": [
|
|
1611
|
-
"Generate
|
|
1612
|
-
"Similar to previous example, but
|
|
1592
|
+
"Generate two metadata files associated with the MyClass Apex class (MyClass.cls and MyClass.cls-meta.xml) in the current directory:\n<%= config.bin %> <%= command.id %> --name MyClass",
|
|
1593
|
+
"Similar to previous example, but generates the files in the \"force-app/main/default/classes\" directory:\n<%= config.bin %> <%= command.id %> --name MyClass --output-dir force-app/main/default/classes"
|
|
1613
1594
|
],
|
|
1614
1595
|
"flags": {
|
|
1615
1596
|
"json": {
|
|
@@ -1629,14 +1610,14 @@
|
|
|
1629
1610
|
},
|
|
1630
1611
|
"name": {
|
|
1631
1612
|
"aliases": [
|
|
1632
|
-
"
|
|
1613
|
+
"classname"
|
|
1633
1614
|
],
|
|
1634
1615
|
"char": "n",
|
|
1635
1616
|
"deprecateAliases": true,
|
|
1636
1617
|
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
1637
1618
|
"name": "name",
|
|
1638
1619
|
"required": true,
|
|
1639
|
-
"summary": "Name of the generated
|
|
1620
|
+
"summary": "Name of the generated Apex class.",
|
|
1640
1621
|
"hasDynamicHelp": false,
|
|
1641
1622
|
"multiple": false,
|
|
1642
1623
|
"type": "option"
|
|
@@ -1646,11 +1627,15 @@
|
|
|
1646
1627
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
1647
1628
|
"name": "template",
|
|
1648
1629
|
"summary": "Template to use for file creation.",
|
|
1649
|
-
"default": "
|
|
1630
|
+
"default": "DefaultApexClass",
|
|
1650
1631
|
"hasDynamicHelp": false,
|
|
1651
1632
|
"multiple": false,
|
|
1652
1633
|
"options": [
|
|
1653
|
-
"
|
|
1634
|
+
"ApexException",
|
|
1635
|
+
"ApexUnitTest",
|
|
1636
|
+
"BasicUnitTest",
|
|
1637
|
+
"DefaultApexClass",
|
|
1638
|
+
"InboundEmailService"
|
|
1654
1639
|
],
|
|
1655
1640
|
"type": "option"
|
|
1656
1641
|
},
|
|
@@ -1679,15 +1664,6 @@
|
|
|
1679
1664
|
"multiple": false,
|
|
1680
1665
|
"type": "option"
|
|
1681
1666
|
},
|
|
1682
|
-
"label": {
|
|
1683
|
-
"char": "l",
|
|
1684
|
-
"name": "label",
|
|
1685
|
-
"required": true,
|
|
1686
|
-
"summary": "Visualforce Component label.",
|
|
1687
|
-
"hasDynamicHelp": false,
|
|
1688
|
-
"multiple": false,
|
|
1689
|
-
"type": "option"
|
|
1690
|
-
},
|
|
1691
1667
|
"loglevel": {
|
|
1692
1668
|
"deprecated": {
|
|
1693
1669
|
"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."
|
|
@@ -1701,66 +1677,93 @@
|
|
|
1701
1677
|
},
|
|
1702
1678
|
"hasDynamicHelp": false,
|
|
1703
1679
|
"hiddenAliases": [],
|
|
1704
|
-
"id": "
|
|
1680
|
+
"id": "template:generate:apex:class",
|
|
1705
1681
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
1706
1682
|
"pluginName": "@salesforce/plugin-templates",
|
|
1707
1683
|
"pluginType": "core",
|
|
1708
1684
|
"strict": true,
|
|
1709
|
-
"summary": "Generate
|
|
1685
|
+
"summary": "Generate an Apex class.",
|
|
1710
1686
|
"enableJsonFlag": true,
|
|
1711
1687
|
"isESM": true,
|
|
1712
1688
|
"relativePath": [
|
|
1713
1689
|
"lib",
|
|
1714
1690
|
"commands",
|
|
1715
|
-
"
|
|
1691
|
+
"template",
|
|
1716
1692
|
"generate",
|
|
1717
|
-
"
|
|
1693
|
+
"apex",
|
|
1694
|
+
"class.js"
|
|
1718
1695
|
],
|
|
1719
1696
|
"aliasPermutations": [
|
|
1720
|
-
"force:
|
|
1721
|
-
"
|
|
1722
|
-
"
|
|
1723
|
-
"
|
|
1724
|
-
"force:
|
|
1725
|
-
"
|
|
1726
|
-
"
|
|
1727
|
-
"
|
|
1728
|
-
"force:
|
|
1729
|
-
"
|
|
1730
|
-
"
|
|
1731
|
-
"
|
|
1732
|
-
"force:
|
|
1733
|
-
"
|
|
1734
|
-
"
|
|
1735
|
-
"
|
|
1736
|
-
"force:create:
|
|
1737
|
-
"create:force:
|
|
1738
|
-
"create:
|
|
1739
|
-
"create:
|
|
1740
|
-
"force:create:
|
|
1741
|
-
"create:force:
|
|
1742
|
-
"create:
|
|
1743
|
-
"create:
|
|
1697
|
+
"force:apex:class:create",
|
|
1698
|
+
"apex:force:class:create",
|
|
1699
|
+
"apex:class:force:create",
|
|
1700
|
+
"apex:class:create:force",
|
|
1701
|
+
"force:class:apex:create",
|
|
1702
|
+
"class:force:apex:create",
|
|
1703
|
+
"class:apex:force:create",
|
|
1704
|
+
"class:apex:create:force",
|
|
1705
|
+
"force:class:create:apex",
|
|
1706
|
+
"class:force:create:apex",
|
|
1707
|
+
"class:create:force:apex",
|
|
1708
|
+
"class:create:apex:force",
|
|
1709
|
+
"force:apex:create:class",
|
|
1710
|
+
"apex:force:create:class",
|
|
1711
|
+
"apex:create:force:class",
|
|
1712
|
+
"apex:create:class:force",
|
|
1713
|
+
"force:create:apex:class",
|
|
1714
|
+
"create:force:apex:class",
|
|
1715
|
+
"create:apex:force:class",
|
|
1716
|
+
"create:apex:class:force",
|
|
1717
|
+
"force:create:class:apex",
|
|
1718
|
+
"create:force:class:apex",
|
|
1719
|
+
"create:class:force:apex",
|
|
1720
|
+
"create:class:apex:force",
|
|
1721
|
+
"apex:generate:class",
|
|
1722
|
+
"generate:apex:class",
|
|
1723
|
+
"generate:class:apex",
|
|
1724
|
+
"apex:class:generate",
|
|
1725
|
+
"class:apex:generate",
|
|
1726
|
+
"class:generate:apex"
|
|
1744
1727
|
],
|
|
1745
1728
|
"permutations": [
|
|
1746
|
-
"
|
|
1747
|
-
"generate:
|
|
1748
|
-
"generate:
|
|
1749
|
-
"
|
|
1750
|
-
"
|
|
1751
|
-
"
|
|
1729
|
+
"template:generate:apex:class",
|
|
1730
|
+
"generate:template:apex:class",
|
|
1731
|
+
"generate:apex:template:class",
|
|
1732
|
+
"generate:apex:class:template",
|
|
1733
|
+
"template:apex:generate:class",
|
|
1734
|
+
"apex:template:generate:class",
|
|
1735
|
+
"apex:generate:template:class",
|
|
1736
|
+
"apex:generate:class:template",
|
|
1737
|
+
"template:apex:class:generate",
|
|
1738
|
+
"apex:template:class:generate",
|
|
1739
|
+
"apex:class:template:generate",
|
|
1740
|
+
"apex:class:generate:template",
|
|
1741
|
+
"template:generate:class:apex",
|
|
1742
|
+
"generate:template:class:apex",
|
|
1743
|
+
"generate:class:template:apex",
|
|
1744
|
+
"generate:class:apex:template",
|
|
1745
|
+
"template:class:generate:apex",
|
|
1746
|
+
"class:template:generate:apex",
|
|
1747
|
+
"class:generate:template:apex",
|
|
1748
|
+
"class:generate:apex:template",
|
|
1749
|
+
"template:class:apex:generate",
|
|
1750
|
+
"class:template:apex:generate",
|
|
1751
|
+
"class:apex:template:generate",
|
|
1752
|
+
"class:apex:generate:template"
|
|
1752
1753
|
]
|
|
1753
1754
|
},
|
|
1754
|
-
"
|
|
1755
|
+
"template:generate:apex:trigger": {
|
|
1755
1756
|
"aliases": [
|
|
1756
|
-
"force:
|
|
1757
|
+
"force:apex:trigger:create",
|
|
1758
|
+
"apex:generate:trigger"
|
|
1757
1759
|
],
|
|
1758
1760
|
"args": {},
|
|
1759
1761
|
"deprecateAliases": true,
|
|
1760
|
-
"description": "
|
|
1762
|
+
"description": "Generates the Apex trigger *.trigger file and associated metadata file. These files must be contained in a parent directory called \"triggers\" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to generate one or point to an existing one.\n\nIf you don't specify the --sobject flag, the .trigger file contains the generic placeholder SOBJECT; replace it with the Salesforce object you want to generate a trigger for. If you don't specify --event, \"before insert\" is used.",
|
|
1761
1763
|
"examples": [
|
|
1762
|
-
"Generate the
|
|
1763
|
-
"Similar to previous example, but generate the files in the
|
|
1764
|
+
"Generate two files associated with the MyTrigger Apex trigger (MyTrigger.trigger and MyTrigger.trigger-meta.xml) in the current directory:\n<%= config.bin %> <%= command.id %> --name MyTrigger",
|
|
1765
|
+
"Similar to the previous example, but generate the files in the \"force-app/main/default/triggers\" directory:\n<%= config.bin %> <%= command.id %> --name MyTrigger --output-dir force-app/main/default/triggers",
|
|
1766
|
+
"Generate files for a trigger that fires on the Account object before and after an insert:\n<%= config.bin %> <%= command.id %> --name MyTrigger --sobject Account --event \"before insert,after insert\""
|
|
1764
1767
|
],
|
|
1765
1768
|
"flags": {
|
|
1766
1769
|
"json": {
|
|
@@ -1780,14 +1783,14 @@
|
|
|
1780
1783
|
},
|
|
1781
1784
|
"name": {
|
|
1782
1785
|
"aliases": [
|
|
1783
|
-
"
|
|
1786
|
+
"triggername"
|
|
1784
1787
|
],
|
|
1785
1788
|
"char": "n",
|
|
1786
1789
|
"deprecateAliases": true,
|
|
1787
1790
|
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
1788
1791
|
"name": "name",
|
|
1789
1792
|
"required": true,
|
|
1790
|
-
"summary": "Name of the generated
|
|
1793
|
+
"summary": "Name of the generated Apex trigger",
|
|
1791
1794
|
"hasDynamicHelp": false,
|
|
1792
1795
|
"multiple": false,
|
|
1793
1796
|
"type": "option"
|
|
@@ -1795,14 +1798,13 @@
|
|
|
1795
1798
|
"template": {
|
|
1796
1799
|
"char": "t",
|
|
1797
1800
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
1798
|
-
"hidden": true,
|
|
1799
1801
|
"name": "template",
|
|
1800
1802
|
"summary": "Template to use for file creation.",
|
|
1801
|
-
"default": "
|
|
1803
|
+
"default": "ApexTrigger",
|
|
1802
1804
|
"hasDynamicHelp": false,
|
|
1803
1805
|
"multiple": false,
|
|
1804
1806
|
"options": [
|
|
1805
|
-
"
|
|
1807
|
+
"ApexTrigger"
|
|
1806
1808
|
],
|
|
1807
1809
|
"type": "option"
|
|
1808
1810
|
},
|
|
@@ -1831,15 +1833,40 @@
|
|
|
1831
1833
|
"multiple": false,
|
|
1832
1834
|
"type": "option"
|
|
1833
1835
|
},
|
|
1834
|
-
"
|
|
1835
|
-
"char": "
|
|
1836
|
-
"name": "
|
|
1837
|
-
"
|
|
1838
|
-
"
|
|
1836
|
+
"sobject": {
|
|
1837
|
+
"char": "s",
|
|
1838
|
+
"name": "sobject",
|
|
1839
|
+
"summary": "Salesforce object to generate a trigger on.",
|
|
1840
|
+
"default": "SOBJECT",
|
|
1839
1841
|
"hasDynamicHelp": false,
|
|
1840
1842
|
"multiple": false,
|
|
1841
1843
|
"type": "option"
|
|
1842
1844
|
},
|
|
1845
|
+
"event": {
|
|
1846
|
+
"aliases": [
|
|
1847
|
+
"triggerevents"
|
|
1848
|
+
],
|
|
1849
|
+
"char": "e",
|
|
1850
|
+
"deprecateAliases": true,
|
|
1851
|
+
"name": "event",
|
|
1852
|
+
"summary": "Events that fire the trigger.",
|
|
1853
|
+
"default": [
|
|
1854
|
+
"before insert"
|
|
1855
|
+
],
|
|
1856
|
+
"delimiter": ",",
|
|
1857
|
+
"hasDynamicHelp": false,
|
|
1858
|
+
"multiple": true,
|
|
1859
|
+
"options": [
|
|
1860
|
+
"before insert",
|
|
1861
|
+
"before update",
|
|
1862
|
+
"before delete",
|
|
1863
|
+
"after insert",
|
|
1864
|
+
"after update",
|
|
1865
|
+
"after delete",
|
|
1866
|
+
"after undelete"
|
|
1867
|
+
],
|
|
1868
|
+
"type": "option"
|
|
1869
|
+
},
|
|
1843
1870
|
"loglevel": {
|
|
1844
1871
|
"deprecated": {
|
|
1845
1872
|
"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."
|
|
@@ -1853,56 +1880,81 @@
|
|
|
1853
1880
|
},
|
|
1854
1881
|
"hasDynamicHelp": false,
|
|
1855
1882
|
"hiddenAliases": [],
|
|
1856
|
-
"id": "
|
|
1883
|
+
"id": "template:generate:apex:trigger",
|
|
1857
1884
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
1858
1885
|
"pluginName": "@salesforce/plugin-templates",
|
|
1859
1886
|
"pluginType": "core",
|
|
1860
1887
|
"strict": true,
|
|
1861
|
-
"summary": "Generate
|
|
1888
|
+
"summary": "Generate an Apex trigger.",
|
|
1862
1889
|
"enableJsonFlag": true,
|
|
1863
1890
|
"isESM": true,
|
|
1864
1891
|
"relativePath": [
|
|
1865
1892
|
"lib",
|
|
1866
1893
|
"commands",
|
|
1867
|
-
"
|
|
1894
|
+
"template",
|
|
1868
1895
|
"generate",
|
|
1869
|
-
"
|
|
1896
|
+
"apex",
|
|
1897
|
+
"trigger.js"
|
|
1870
1898
|
],
|
|
1871
1899
|
"aliasPermutations": [
|
|
1872
|
-
"force:
|
|
1873
|
-
"
|
|
1874
|
-
"
|
|
1875
|
-
"
|
|
1876
|
-
"force:
|
|
1877
|
-
"
|
|
1878
|
-
"
|
|
1879
|
-
"
|
|
1880
|
-
"force:
|
|
1881
|
-
"
|
|
1882
|
-
"
|
|
1883
|
-
"
|
|
1884
|
-
"force:
|
|
1885
|
-
"
|
|
1886
|
-
"
|
|
1887
|
-
"
|
|
1888
|
-
"force:create:
|
|
1889
|
-
"create:force:
|
|
1890
|
-
"create:
|
|
1891
|
-
"create:
|
|
1892
|
-
"force:create:
|
|
1893
|
-
"create:force:
|
|
1894
|
-
"create:
|
|
1895
|
-
"create:
|
|
1900
|
+
"force:apex:trigger:create",
|
|
1901
|
+
"apex:force:trigger:create",
|
|
1902
|
+
"apex:trigger:force:create",
|
|
1903
|
+
"apex:trigger:create:force",
|
|
1904
|
+
"force:trigger:apex:create",
|
|
1905
|
+
"trigger:force:apex:create",
|
|
1906
|
+
"trigger:apex:force:create",
|
|
1907
|
+
"trigger:apex:create:force",
|
|
1908
|
+
"force:trigger:create:apex",
|
|
1909
|
+
"trigger:force:create:apex",
|
|
1910
|
+
"trigger:create:force:apex",
|
|
1911
|
+
"trigger:create:apex:force",
|
|
1912
|
+
"force:apex:create:trigger",
|
|
1913
|
+
"apex:force:create:trigger",
|
|
1914
|
+
"apex:create:force:trigger",
|
|
1915
|
+
"apex:create:trigger:force",
|
|
1916
|
+
"force:create:apex:trigger",
|
|
1917
|
+
"create:force:apex:trigger",
|
|
1918
|
+
"create:apex:force:trigger",
|
|
1919
|
+
"create:apex:trigger:force",
|
|
1920
|
+
"force:create:trigger:apex",
|
|
1921
|
+
"create:force:trigger:apex",
|
|
1922
|
+
"create:trigger:force:apex",
|
|
1923
|
+
"create:trigger:apex:force",
|
|
1924
|
+
"apex:generate:trigger",
|
|
1925
|
+
"generate:apex:trigger",
|
|
1926
|
+
"generate:trigger:apex",
|
|
1927
|
+
"apex:trigger:generate",
|
|
1928
|
+
"trigger:apex:generate",
|
|
1929
|
+
"trigger:generate:apex"
|
|
1896
1930
|
],
|
|
1897
1931
|
"permutations": [
|
|
1898
|
-
"
|
|
1899
|
-
"generate:
|
|
1900
|
-
"generate:
|
|
1901
|
-
"
|
|
1902
|
-
"
|
|
1903
|
-
"
|
|
1932
|
+
"template:generate:apex:trigger",
|
|
1933
|
+
"generate:template:apex:trigger",
|
|
1934
|
+
"generate:apex:template:trigger",
|
|
1935
|
+
"generate:apex:trigger:template",
|
|
1936
|
+
"template:apex:generate:trigger",
|
|
1937
|
+
"apex:template:generate:trigger",
|
|
1938
|
+
"apex:generate:template:trigger",
|
|
1939
|
+
"apex:generate:trigger:template",
|
|
1940
|
+
"template:apex:trigger:generate",
|
|
1941
|
+
"apex:template:trigger:generate",
|
|
1942
|
+
"apex:trigger:template:generate",
|
|
1943
|
+
"apex:trigger:generate:template",
|
|
1944
|
+
"template:generate:trigger:apex",
|
|
1945
|
+
"generate:template:trigger:apex",
|
|
1946
|
+
"generate:trigger:template:apex",
|
|
1947
|
+
"generate:trigger:apex:template",
|
|
1948
|
+
"template:trigger:generate:apex",
|
|
1949
|
+
"trigger:template:generate:apex",
|
|
1950
|
+
"trigger:generate:template:apex",
|
|
1951
|
+
"trigger:generate:apex:template",
|
|
1952
|
+
"template:trigger:apex:generate",
|
|
1953
|
+
"trigger:template:apex:generate",
|
|
1954
|
+
"trigger:apex:template:generate",
|
|
1955
|
+
"trigger:apex:generate:template"
|
|
1904
1956
|
]
|
|
1905
1957
|
}
|
|
1906
1958
|
},
|
|
1907
|
-
"version": "56.
|
|
1959
|
+
"version": "56.5.1"
|
|
1908
1960
|
}
|