@salesforce/plugin-templates 56.3.47 → 56.3.48

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.
Files changed (3) hide show
  1. package/README.md +12 -12
  2. package/oclif.manifest.json +439 -439
  3. package/package.json +5 -5
@@ -609,15 +609,16 @@
609
609
  "trigger:generate:apex"
610
610
  ]
611
611
  },
612
- "analytics:generate:template": {
612
+ "lightning:generate:app": {
613
613
  "aliases": [
614
- "force:analytics:template:create"
614
+ "force:lightning:app:create"
615
615
  ],
616
616
  "args": {},
617
617
  "deprecateAliases": true,
618
- "description": "The metadata files associated with the Analytics template must be contained in a parent directory called \"waveTemplates\" 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.",
618
+ "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.",
619
619
  "examples": [
620
- "Generate the metadata files for a simple Analytics template file called myTemplate in the force-app/main/default/waveTemplates directory:\n<%= config.bin %> <%= command.id %> --name myTemplate --output-dir force-app/main/default/waveTemplates"
620
+ "Generate the metadata files for a Lightning app bundle called \"myapp\" in the current directory:\n<%= config.bin %> <%= command.id %> --name myapp",
621
+ "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"
621
622
  ],
622
623
  "flags": {
623
624
  "json": {
@@ -635,6 +636,33 @@
635
636
  "multiple": false,
636
637
  "type": "option"
637
638
  },
639
+ "name": {
640
+ "aliases": [
641
+ "appname"
642
+ ],
643
+ "char": "n",
644
+ "deprecateAliases": true,
645
+ "description": "The name can be up to 40 characters and must start with a letter.",
646
+ "name": "name",
647
+ "required": true,
648
+ "summary": "Name of the generated Lightning App.",
649
+ "hasDynamicHelp": false,
650
+ "multiple": false,
651
+ "type": "option"
652
+ },
653
+ "template": {
654
+ "char": "t",
655
+ "description": "Supplied parameter values or default values are filled into a copy of the template.",
656
+ "name": "template",
657
+ "summary": "Template to use for file creation.",
658
+ "default": "DefaultLightningApp",
659
+ "hasDynamicHelp": false,
660
+ "multiple": false,
661
+ "options": [
662
+ "DefaultLightningApp"
663
+ ],
664
+ "type": "option"
665
+ },
638
666
  "output-dir": {
639
667
  "aliases": [
640
668
  "outputdir"
@@ -660,18 +688,13 @@
660
688
  "multiple": false,
661
689
  "type": "option"
662
690
  },
663
- "name": {
664
- "aliases": [
665
- "templatename"
666
- ],
667
- "char": "n",
668
- "deprecateAliases": true,
669
- "name": "name",
670
- "required": true,
671
- "summary": "Name of the Analytics template.",
672
- "hasDynamicHelp": false,
673
- "multiple": false,
674
- "type": "option"
691
+ "internal": {
692
+ "char": "i",
693
+ "hidden": true,
694
+ "name": "internal",
695
+ "summary": "Generate lightning bundles without creating a -meta.xml file.",
696
+ "allowNo": false,
697
+ "type": "boolean"
675
698
  },
676
699
  "loglevel": {
677
700
  "deprecated": {
@@ -686,66 +709,68 @@
686
709
  },
687
710
  "hasDynamicHelp": false,
688
711
  "hiddenAliases": [],
689
- "id": "analytics:generate:template",
712
+ "id": "lightning:generate:app",
690
713
  "pluginAlias": "@salesforce/plugin-templates",
691
714
  "pluginName": "@salesforce/plugin-templates",
692
715
  "pluginType": "core",
693
716
  "strict": true,
694
- "summary": "Generate a simple Analytics template.",
717
+ "summary": "Generate a Lightning App.",
695
718
  "enableJsonFlag": true,
696
719
  "isESM": true,
697
720
  "relativePath": [
698
721
  "lib",
699
722
  "commands",
700
- "analytics",
723
+ "lightning",
701
724
  "generate",
702
- "template.js"
725
+ "app.js"
703
726
  ],
704
727
  "aliasPermutations": [
705
- "force:analytics:template:create",
706
- "analytics:force:template:create",
707
- "analytics:template:force:create",
708
- "analytics:template:create:force",
709
- "force:template:analytics:create",
710
- "template:force:analytics:create",
711
- "template:analytics:force:create",
712
- "template:analytics:create:force",
713
- "force:template:create:analytics",
714
- "template:force:create:analytics",
715
- "template:create:force:analytics",
716
- "template:create:analytics:force",
717
- "force:analytics:create:template",
718
- "analytics:force:create:template",
719
- "analytics:create:force:template",
720
- "analytics:create:template:force",
721
- "force:create:analytics:template",
722
- "create:force:analytics:template",
723
- "create:analytics:force:template",
724
- "create:analytics:template:force",
725
- "force:create:template:analytics",
726
- "create:force:template:analytics",
727
- "create:template:force:analytics",
728
- "create:template:analytics:force"
728
+ "force:lightning:app:create",
729
+ "lightning:force:app:create",
730
+ "lightning:app:force:create",
731
+ "lightning:app:create:force",
732
+ "force:app:lightning:create",
733
+ "app:force:lightning:create",
734
+ "app:lightning:force:create",
735
+ "app:lightning:create:force",
736
+ "force:app:create:lightning",
737
+ "app:force:create:lightning",
738
+ "app:create:force:lightning",
739
+ "app:create:lightning:force",
740
+ "force:lightning:create:app",
741
+ "lightning:force:create:app",
742
+ "lightning:create:force:app",
743
+ "lightning:create:app:force",
744
+ "force:create:lightning:app",
745
+ "create:force:lightning:app",
746
+ "create:lightning:force:app",
747
+ "create:lightning:app:force",
748
+ "force:create:app:lightning",
749
+ "create:force:app:lightning",
750
+ "create:app:force:lightning",
751
+ "create:app:lightning:force"
729
752
  ],
730
753
  "permutations": [
731
- "analytics:generate:template",
732
- "generate:analytics:template",
733
- "generate:template:analytics",
734
- "analytics:template:generate",
735
- "template:analytics:generate",
736
- "template:generate:analytics"
754
+ "lightning:generate:app",
755
+ "generate:lightning:app",
756
+ "generate:app:lightning",
757
+ "lightning:app:generate",
758
+ "app:lightning:generate",
759
+ "app:generate:lightning"
737
760
  ]
738
761
  },
739
- "visualforce:generate:component": {
762
+ "lightning:generate:component": {
740
763
  "aliases": [
741
- "force:visualforce:component:create"
764
+ "force:lightning:component:create"
742
765
  ],
743
766
  "args": {},
744
767
  "deprecateAliases": true,
745
- "description": "The command generates the .Component file and associated metadata file in the specified directory or the current working directory by default.",
768
+ "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.",
746
769
  "examples": [
747
- "Generate the metadata files for a Visualforce component in the current directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --label mylabel",
748
- "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"
770
+ "Generate the metadata files for an Aura component bundle in the current directory:\n<%= config.bin %> <%= command.id %> --name mycomponent",
771
+ "Generate a Lightning web component bundle in the current directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --type lwc",
772
+ "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",
773
+ "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"
749
774
  ],
750
775
  "flags": {
751
776
  "json": {
@@ -772,7 +797,7 @@
772
797
  "description": "The name can be up to 40 characters and must start with a letter.",
773
798
  "name": "name",
774
799
  "required": true,
775
- "summary": "Name of the generated Visualforce Component.",
800
+ "summary": "Name of the generated Lightning Component.",
776
801
  "hasDynamicHelp": false,
777
802
  "multiple": false,
778
803
  "type": "option"
@@ -782,11 +807,13 @@
782
807
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
783
808
  "name": "template",
784
809
  "summary": "Template to use for file creation.",
785
- "default": "DefaultVFComponent",
810
+ "default": "default",
786
811
  "hasDynamicHelp": false,
787
812
  "multiple": false,
788
813
  "options": [
789
- "DefaultVFComponent"
814
+ "default",
815
+ "analyticsDashboard",
816
+ "analyticsDashboardWithStep"
790
817
  ],
791
818
  "type": "option"
792
819
  },
@@ -815,15 +842,26 @@
815
842
  "multiple": false,
816
843
  "type": "option"
817
844
  },
818
- "label": {
819
- "char": "l",
820
- "name": "label",
821
- "required": true,
822
- "summary": "Visualforce Component label.",
845
+ "type": {
846
+ "name": "type",
847
+ "summary": "Type of the component bundle.",
848
+ "default": "aura",
823
849
  "hasDynamicHelp": false,
824
850
  "multiple": false,
851
+ "options": [
852
+ "aura",
853
+ "lwc"
854
+ ],
825
855
  "type": "option"
826
856
  },
857
+ "internal": {
858
+ "char": "i",
859
+ "hidden": true,
860
+ "name": "internal",
861
+ "summary": "Generate lightning bundles without creating a -meta.xml file.",
862
+ "allowNo": false,
863
+ "type": "boolean"
864
+ },
827
865
  "loglevel": {
828
866
  "deprecated": {
829
867
  "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."
@@ -837,66 +875,66 @@
837
875
  },
838
876
  "hasDynamicHelp": false,
839
877
  "hiddenAliases": [],
840
- "id": "visualforce:generate:component",
878
+ "id": "lightning:generate:component",
841
879
  "pluginAlias": "@salesforce/plugin-templates",
842
880
  "pluginName": "@salesforce/plugin-templates",
843
881
  "pluginType": "core",
844
882
  "strict": true,
845
- "summary": "Generate a Visualforce Component.",
883
+ "summary": "Generate a bundle for an Aura component or a Lightning web component.",
846
884
  "enableJsonFlag": true,
847
885
  "isESM": true,
848
886
  "relativePath": [
849
887
  "lib",
850
888
  "commands",
851
- "visualforce",
889
+ "lightning",
852
890
  "generate",
853
891
  "component.js"
854
892
  ],
855
893
  "aliasPermutations": [
856
- "force:visualforce:component:create",
857
- "visualforce:force:component:create",
858
- "visualforce:component:force:create",
859
- "visualforce:component:create:force",
860
- "force:component:visualforce:create",
861
- "component:force:visualforce:create",
862
- "component:visualforce:force:create",
863
- "component:visualforce:create:force",
864
- "force:component:create:visualforce",
865
- "component:force:create:visualforce",
866
- "component:create:force:visualforce",
867
- "component:create:visualforce:force",
868
- "force:visualforce:create:component",
869
- "visualforce:force:create:component",
870
- "visualforce:create:force:component",
871
- "visualforce:create:component:force",
872
- "force:create:visualforce:component",
873
- "create:force:visualforce:component",
874
- "create:visualforce:force:component",
875
- "create:visualforce:component:force",
876
- "force:create:component:visualforce",
877
- "create:force:component:visualforce",
878
- "create:component:force:visualforce",
879
- "create:component:visualforce:force"
894
+ "force:lightning:component:create",
895
+ "lightning:force:component:create",
896
+ "lightning:component:force:create",
897
+ "lightning:component:create:force",
898
+ "force:component:lightning:create",
899
+ "component:force:lightning:create",
900
+ "component:lightning:force:create",
901
+ "component:lightning:create:force",
902
+ "force:component:create:lightning",
903
+ "component:force:create:lightning",
904
+ "component:create:force:lightning",
905
+ "component:create:lightning:force",
906
+ "force:lightning:create:component",
907
+ "lightning:force:create:component",
908
+ "lightning:create:force:component",
909
+ "lightning:create:component:force",
910
+ "force:create:lightning:component",
911
+ "create:force:lightning:component",
912
+ "create:lightning:force:component",
913
+ "create:lightning:component:force",
914
+ "force:create:component:lightning",
915
+ "create:force:component:lightning",
916
+ "create:component:force:lightning",
917
+ "create:component:lightning:force"
880
918
  ],
881
919
  "permutations": [
882
- "visualforce:generate:component",
883
- "generate:visualforce:component",
884
- "generate:component:visualforce",
885
- "visualforce:component:generate",
886
- "component:visualforce:generate",
887
- "component:generate:visualforce"
920
+ "lightning:generate:component",
921
+ "generate:lightning:component",
922
+ "generate:component:lightning",
923
+ "lightning:component:generate",
924
+ "component:lightning:generate",
925
+ "component:generate:lightning"
888
926
  ]
889
927
  },
890
- "visualforce:generate:page": {
928
+ "lightning:generate:event": {
891
929
  "aliases": [
892
- "force:visualforce:page:create"
930
+ "force:lightning:event:create"
893
931
  ],
894
932
  "args": {},
895
933
  "deprecateAliases": true,
896
- "description": "The command generates the .Page file and associated metadata file in the specified directory or the current working directory by default.",
934
+ "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.",
897
935
  "examples": [
898
- "Generate the metadata files for a Visualforce page in the current directory:\n<%= config.bin %> <%= command.id %> --name mypage --label mylabel",
899
- "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"
936
+ "Generate the metadata files for a Lightning event bundle called \"myevent\" in the current directory:\n<%= config.bin %> <%= command.id %> --name myevent",
937
+ "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"
900
938
  ],
901
939
  "flags": {
902
940
  "json": {
@@ -916,14 +954,14 @@
916
954
  },
917
955
  "name": {
918
956
  "aliases": [
919
- "pagename"
957
+ "eventname"
920
958
  ],
921
959
  "char": "n",
922
960
  "deprecateAliases": true,
923
961
  "description": "The name can be up to 40 characters and must start with a letter.",
924
962
  "name": "name",
925
963
  "required": true,
926
- "summary": "Name of the generated Visualforce Page.",
964
+ "summary": "Name of the generated Lightning Event.",
927
965
  "hasDynamicHelp": false,
928
966
  "multiple": false,
929
967
  "type": "option"
@@ -931,14 +969,13 @@
931
969
  "template": {
932
970
  "char": "t",
933
971
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
934
- "hidden": true,
935
972
  "name": "template",
936
973
  "summary": "Template to use for file creation.",
937
- "default": "DefaultVFPage",
974
+ "default": "DefaultLightningEvt",
938
975
  "hasDynamicHelp": false,
939
976
  "multiple": false,
940
977
  "options": [
941
- "DefaultVFPage"
978
+ "DefaultLightningEvt"
942
979
  ],
943
980
  "type": "option"
944
981
  },
@@ -967,14 +1004,13 @@
967
1004
  "multiple": false,
968
1005
  "type": "option"
969
1006
  },
970
- "label": {
971
- "char": "l",
972
- "name": "label",
973
- "required": true,
974
- "summary": "Visualforce Page label.",
975
- "hasDynamicHelp": false,
976
- "multiple": false,
977
- "type": "option"
1007
+ "internal": {
1008
+ "char": "i",
1009
+ "hidden": true,
1010
+ "name": "internal",
1011
+ "summary": "Generate lightning bundles without creating a -meta.xml file.",
1012
+ "allowNo": false,
1013
+ "type": "boolean"
978
1014
  },
979
1015
  "loglevel": {
980
1016
  "deprecated": {
@@ -989,66 +1025,66 @@
989
1025
  },
990
1026
  "hasDynamicHelp": false,
991
1027
  "hiddenAliases": [],
992
- "id": "visualforce:generate:page",
1028
+ "id": "lightning:generate:event",
993
1029
  "pluginAlias": "@salesforce/plugin-templates",
994
1030
  "pluginName": "@salesforce/plugin-templates",
995
1031
  "pluginType": "core",
996
1032
  "strict": true,
997
- "summary": "Generate a Visualforce Page.",
1033
+ "summary": "Generate a Lightning Event.",
998
1034
  "enableJsonFlag": true,
999
1035
  "isESM": true,
1000
1036
  "relativePath": [
1001
1037
  "lib",
1002
1038
  "commands",
1003
- "visualforce",
1039
+ "lightning",
1004
1040
  "generate",
1005
- "page.js"
1041
+ "event.js"
1006
1042
  ],
1007
1043
  "aliasPermutations": [
1008
- "force:visualforce:page:create",
1009
- "visualforce:force:page:create",
1010
- "visualforce:page:force:create",
1011
- "visualforce:page:create:force",
1012
- "force:page:visualforce:create",
1013
- "page:force:visualforce:create",
1014
- "page:visualforce:force:create",
1015
- "page:visualforce:create:force",
1016
- "force:page:create:visualforce",
1017
- "page:force:create:visualforce",
1018
- "page:create:force:visualforce",
1019
- "page:create:visualforce:force",
1020
- "force:visualforce:create:page",
1021
- "visualforce:force:create:page",
1022
- "visualforce:create:force:page",
1023
- "visualforce:create:page:force",
1024
- "force:create:visualforce:page",
1025
- "create:force:visualforce:page",
1026
- "create:visualforce:force:page",
1027
- "create:visualforce:page:force",
1028
- "force:create:page:visualforce",
1029
- "create:force:page:visualforce",
1030
- "create:page:force:visualforce",
1031
- "create:page:visualforce:force"
1044
+ "force:lightning:event:create",
1045
+ "lightning:force:event:create",
1046
+ "lightning:event:force:create",
1047
+ "lightning:event:create:force",
1048
+ "force:event:lightning:create",
1049
+ "event:force:lightning:create",
1050
+ "event:lightning:force:create",
1051
+ "event:lightning:create:force",
1052
+ "force:event:create:lightning",
1053
+ "event:force:create:lightning",
1054
+ "event:create:force:lightning",
1055
+ "event:create:lightning:force",
1056
+ "force:lightning:create:event",
1057
+ "lightning:force:create:event",
1058
+ "lightning:create:force:event",
1059
+ "lightning:create:event:force",
1060
+ "force:create:lightning:event",
1061
+ "create:force:lightning:event",
1062
+ "create:lightning:force:event",
1063
+ "create:lightning:event:force",
1064
+ "force:create:event:lightning",
1065
+ "create:force:event:lightning",
1066
+ "create:event:force:lightning",
1067
+ "create:event:lightning:force"
1032
1068
  ],
1033
1069
  "permutations": [
1034
- "visualforce:generate:page",
1035
- "generate:visualforce:page",
1036
- "generate:page:visualforce",
1037
- "visualforce:page:generate",
1038
- "page:visualforce:generate",
1039
- "page:generate:visualforce"
1070
+ "lightning:generate:event",
1071
+ "generate:lightning:event",
1072
+ "generate:event:lightning",
1073
+ "lightning:event:generate",
1074
+ "event:lightning:generate",
1075
+ "event:generate:lightning"
1040
1076
  ]
1041
1077
  },
1042
- "lightning:generate:app": {
1078
+ "lightning:generate:interface": {
1043
1079
  "aliases": [
1044
- "force:lightning:app:create"
1080
+ "force:lightning:interface:create"
1045
1081
  ],
1046
1082
  "args": {},
1047
1083
  "deprecateAliases": true,
1048
- "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.",
1084
+ "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.",
1049
1085
  "examples": [
1050
- "Generate the metadata files for a Lightning app bundle called \"myapp\" in the current directory:\n<%= config.bin %> <%= command.id %> --name myapp",
1051
- "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"
1086
+ "Generate the metadata files for a Lightning interface bundle called \"myinterface\" in the current directory:\n<%= config.bin %> <%= command.id %> --name myinterface",
1087
+ "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"
1052
1088
  ],
1053
1089
  "flags": {
1054
1090
  "json": {
@@ -1068,14 +1104,14 @@
1068
1104
  },
1069
1105
  "name": {
1070
1106
  "aliases": [
1071
- "appname"
1107
+ "interfacename"
1072
1108
  ],
1073
1109
  "char": "n",
1074
1110
  "deprecateAliases": true,
1075
1111
  "description": "The name can be up to 40 characters and must start with a letter.",
1076
1112
  "name": "name",
1077
1113
  "required": true,
1078
- "summary": "Name of the generated Lightning App.",
1114
+ "summary": "Name of the generated Lightning Interface.",
1079
1115
  "hasDynamicHelp": false,
1080
1116
  "multiple": false,
1081
1117
  "type": "option"
@@ -1085,11 +1121,11 @@
1085
1121
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
1086
1122
  "name": "template",
1087
1123
  "summary": "Template to use for file creation.",
1088
- "default": "DefaultLightningApp",
1124
+ "default": "DefaultLightningIntf",
1089
1125
  "hasDynamicHelp": false,
1090
1126
  "multiple": false,
1091
1127
  "options": [
1092
- "DefaultLightningApp"
1128
+ "DefaultLightningIntf"
1093
1129
  ],
1094
1130
  "type": "option"
1095
1131
  },
@@ -1139,12 +1175,12 @@
1139
1175
  },
1140
1176
  "hasDynamicHelp": false,
1141
1177
  "hiddenAliases": [],
1142
- "id": "lightning:generate:app",
1178
+ "id": "lightning:generate:interface",
1143
1179
  "pluginAlias": "@salesforce/plugin-templates",
1144
1180
  "pluginName": "@salesforce/plugin-templates",
1145
1181
  "pluginType": "core",
1146
1182
  "strict": true,
1147
- "summary": "Generate a Lightning App.",
1183
+ "summary": "Generate a Lightning Interface.",
1148
1184
  "enableJsonFlag": true,
1149
1185
  "isESM": true,
1150
1186
  "relativePath": [
@@ -1152,55 +1188,53 @@
1152
1188
  "commands",
1153
1189
  "lightning",
1154
1190
  "generate",
1155
- "app.js"
1191
+ "interface.js"
1156
1192
  ],
1157
1193
  "aliasPermutations": [
1158
- "force:lightning:app:create",
1159
- "lightning:force:app:create",
1160
- "lightning:app:force:create",
1161
- "lightning:app:create:force",
1162
- "force:app:lightning:create",
1163
- "app:force:lightning:create",
1164
- "app:lightning:force:create",
1165
- "app:lightning:create:force",
1166
- "force:app:create:lightning",
1167
- "app:force:create:lightning",
1168
- "app:create:force:lightning",
1169
- "app:create:lightning:force",
1170
- "force:lightning:create:app",
1171
- "lightning:force:create:app",
1172
- "lightning:create:force:app",
1173
- "lightning:create:app:force",
1174
- "force:create:lightning:app",
1175
- "create:force:lightning:app",
1176
- "create:lightning:force:app",
1177
- "create:lightning:app:force",
1178
- "force:create:app:lightning",
1179
- "create:force:app:lightning",
1180
- "create:app:force:lightning",
1181
- "create:app:lightning:force"
1194
+ "force:lightning:interface:create",
1195
+ "lightning:force:interface:create",
1196
+ "lightning:interface:force:create",
1197
+ "lightning:interface:create:force",
1198
+ "force:interface:lightning:create",
1199
+ "interface:force:lightning:create",
1200
+ "interface:lightning:force:create",
1201
+ "interface:lightning:create:force",
1202
+ "force:interface:create:lightning",
1203
+ "interface:force:create:lightning",
1204
+ "interface:create:force:lightning",
1205
+ "interface:create:lightning:force",
1206
+ "force:lightning:create:interface",
1207
+ "lightning:force:create:interface",
1208
+ "lightning:create:force:interface",
1209
+ "lightning:create:interface:force",
1210
+ "force:create:lightning:interface",
1211
+ "create:force:lightning:interface",
1212
+ "create:lightning:force:interface",
1213
+ "create:lightning:interface:force",
1214
+ "force:create:interface:lightning",
1215
+ "create:force:interface:lightning",
1216
+ "create:interface:force:lightning",
1217
+ "create:interface:lightning:force"
1182
1218
  ],
1183
1219
  "permutations": [
1184
- "lightning:generate:app",
1185
- "generate:lightning:app",
1186
- "generate:app:lightning",
1187
- "lightning:app:generate",
1188
- "app:lightning:generate",
1189
- "app:generate:lightning"
1220
+ "lightning:generate:interface",
1221
+ "generate:lightning:interface",
1222
+ "generate:interface:lightning",
1223
+ "lightning:interface:generate",
1224
+ "interface:lightning:generate",
1225
+ "interface:generate:lightning"
1190
1226
  ]
1191
1227
  },
1192
- "lightning:generate:component": {
1228
+ "lightning:generate:test": {
1193
1229
  "aliases": [
1194
- "force:lightning:component:create"
1230
+ "force:lightning:test:create"
1195
1231
  ],
1196
1232
  "args": {},
1197
1233
  "deprecateAliases": true,
1198
- "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.",
1234
+ "description": "Generates the test in the specified directory or the current working directory. The .resource file and associated metadata file are generated.",
1199
1235
  "examples": [
1200
- "Generate the metadata files for an Aura component bundle in the current directory:\n<%= config.bin %> <%= command.id %> --name mycomponent",
1201
- "Generate a Lightning web component bundle in the current directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --type lwc",
1202
- "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",
1203
- "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"
1236
+ "Generate the metadata files for the Lightning test called MyLightningTest in the current directory:\n<%= config.bin %> <%= command.id %> --name MyLightningTest",
1237
+ "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"
1204
1238
  ],
1205
1239
  "flags": {
1206
1240
  "json": {
@@ -1220,14 +1254,14 @@
1220
1254
  },
1221
1255
  "name": {
1222
1256
  "aliases": [
1223
- "componentname"
1257
+ "testname"
1224
1258
  ],
1225
1259
  "char": "n",
1226
1260
  "deprecateAliases": true,
1227
- "description": "The name can be up to 40 characters and must start with a letter.",
1261
+ "description": "Name of the new Lightning test; can be up to 40 characters and must start with a letter.",
1228
1262
  "name": "name",
1229
1263
  "required": true,
1230
- "summary": "Name of the generated Lightning Component.",
1264
+ "summary": "Name of the generated Lightning Test.",
1231
1265
  "hasDynamicHelp": false,
1232
1266
  "multiple": false,
1233
1267
  "type": "option"
@@ -1237,13 +1271,11 @@
1237
1271
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
1238
1272
  "name": "template",
1239
1273
  "summary": "Template to use for file creation.",
1240
- "default": "default",
1274
+ "default": "DefaultLightningTest",
1241
1275
  "hasDynamicHelp": false,
1242
1276
  "multiple": false,
1243
1277
  "options": [
1244
- "default",
1245
- "analyticsDashboard",
1246
- "analyticsDashboardWithStep"
1278
+ "DefaultLightningTest"
1247
1279
  ],
1248
1280
  "type": "option"
1249
1281
  },
@@ -1261,6 +1293,14 @@
1261
1293
  "multiple": false,
1262
1294
  "type": "option"
1263
1295
  },
1296
+ "internal": {
1297
+ "char": "i",
1298
+ "hidden": true,
1299
+ "name": "internal",
1300
+ "summary": "Generate lightning bundles without creating a -meta.xml file.",
1301
+ "allowNo": false,
1302
+ "type": "boolean"
1303
+ },
1264
1304
  "api-version": {
1265
1305
  "aliases": [
1266
1306
  "apiversion"
@@ -1272,26 +1312,6 @@
1272
1312
  "multiple": false,
1273
1313
  "type": "option"
1274
1314
  },
1275
- "type": {
1276
- "name": "type",
1277
- "summary": "Type of the component bundle.",
1278
- "default": "aura",
1279
- "hasDynamicHelp": false,
1280
- "multiple": false,
1281
- "options": [
1282
- "aura",
1283
- "lwc"
1284
- ],
1285
- "type": "option"
1286
- },
1287
- "internal": {
1288
- "char": "i",
1289
- "hidden": true,
1290
- "name": "internal",
1291
- "summary": "Generate lightning bundles without creating a -meta.xml file.",
1292
- "allowNo": false,
1293
- "type": "boolean"
1294
- },
1295
1315
  "loglevel": {
1296
1316
  "deprecated": {
1297
1317
  "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."
@@ -1305,12 +1325,12 @@
1305
1325
  },
1306
1326
  "hasDynamicHelp": false,
1307
1327
  "hiddenAliases": [],
1308
- "id": "lightning:generate:component",
1328
+ "id": "lightning:generate:test",
1309
1329
  "pluginAlias": "@salesforce/plugin-templates",
1310
1330
  "pluginName": "@salesforce/plugin-templates",
1311
1331
  "pluginType": "core",
1312
1332
  "strict": true,
1313
- "summary": "Generate a bundle for an Aura component or a Lightning web component.",
1333
+ "summary": "Generate a Lightning test.",
1314
1334
  "enableJsonFlag": true,
1315
1335
  "isESM": true,
1316
1336
  "relativePath": [
@@ -1318,53 +1338,52 @@
1318
1338
  "commands",
1319
1339
  "lightning",
1320
1340
  "generate",
1321
- "component.js"
1341
+ "test.js"
1322
1342
  ],
1323
1343
  "aliasPermutations": [
1324
- "force:lightning:component:create",
1325
- "lightning:force:component:create",
1326
- "lightning:component:force:create",
1327
- "lightning:component:create:force",
1328
- "force:component:lightning:create",
1329
- "component:force:lightning:create",
1330
- "component:lightning:force:create",
1331
- "component:lightning:create:force",
1332
- "force:component:create:lightning",
1333
- "component:force:create:lightning",
1334
- "component:create:force:lightning",
1335
- "component:create:lightning:force",
1336
- "force:lightning:create:component",
1337
- "lightning:force:create:component",
1338
- "lightning:create:force:component",
1339
- "lightning:create:component:force",
1340
- "force:create:lightning:component",
1341
- "create:force:lightning:component",
1342
- "create:lightning:force:component",
1343
- "create:lightning:component:force",
1344
- "force:create:component:lightning",
1345
- "create:force:component:lightning",
1346
- "create:component:force:lightning",
1347
- "create:component:lightning:force"
1348
- ],
1349
- "permutations": [
1350
- "lightning:generate:component",
1351
- "generate:lightning:component",
1352
- "generate:component:lightning",
1353
- "lightning:component:generate",
1354
- "component:lightning:generate",
1355
- "component:generate:lightning"
1356
- ]
1357
- },
1358
- "lightning:generate:event": {
1359
- "aliases": [
1360
- "force:lightning:event:create"
1361
- ],
1344
+ "force:lightning:test:create",
1345
+ "lightning:force:test:create",
1346
+ "lightning:test:force:create",
1347
+ "lightning:test:create:force",
1348
+ "force:test:lightning:create",
1349
+ "test:force:lightning:create",
1350
+ "test:lightning:force:create",
1351
+ "test:lightning:create:force",
1352
+ "force:test:create:lightning",
1353
+ "test:force:create:lightning",
1354
+ "test:create:force:lightning",
1355
+ "test:create:lightning:force",
1356
+ "force:lightning:create:test",
1357
+ "lightning:force:create:test",
1358
+ "lightning:create:force:test",
1359
+ "lightning:create:test:force",
1360
+ "force:create:lightning:test",
1361
+ "create:force:lightning:test",
1362
+ "create:lightning:force:test",
1363
+ "create:lightning:test:force",
1364
+ "force:create:test:lightning",
1365
+ "create:force:test:lightning",
1366
+ "create:test:force:lightning",
1367
+ "create:test:lightning:force"
1368
+ ],
1369
+ "permutations": [
1370
+ "lightning:generate:test",
1371
+ "generate:lightning:test",
1372
+ "generate:test:lightning",
1373
+ "lightning:test:generate",
1374
+ "test:lightning:generate",
1375
+ "test:generate:lightning"
1376
+ ]
1377
+ },
1378
+ "analytics:generate:template": {
1379
+ "aliases": [
1380
+ "force:analytics:template:create"
1381
+ ],
1362
1382
  "args": {},
1363
1383
  "deprecateAliases": true,
1364
- "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.",
1384
+ "description": "The metadata files associated with the Analytics template must be contained in a parent directory called \"waveTemplates\" 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.",
1365
1385
  "examples": [
1366
- "Generate the metadata files for a Lightning event bundle called \"myevent\" in the current directory:\n<%= config.bin %> <%= command.id %> --name myevent",
1367
- "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"
1386
+ "Generate the metadata files for a simple Analytics template file called myTemplate in the force-app/main/default/waveTemplates directory:\n<%= config.bin %> <%= command.id %> --name myTemplate --output-dir force-app/main/default/waveTemplates"
1368
1387
  ],
1369
1388
  "flags": {
1370
1389
  "json": {
@@ -1382,33 +1401,6 @@
1382
1401
  "multiple": false,
1383
1402
  "type": "option"
1384
1403
  },
1385
- "name": {
1386
- "aliases": [
1387
- "eventname"
1388
- ],
1389
- "char": "n",
1390
- "deprecateAliases": true,
1391
- "description": "The name can be up to 40 characters and must start with a letter.",
1392
- "name": "name",
1393
- "required": true,
1394
- "summary": "Name of the generated Lightning Event.",
1395
- "hasDynamicHelp": false,
1396
- "multiple": false,
1397
- "type": "option"
1398
- },
1399
- "template": {
1400
- "char": "t",
1401
- "description": "Supplied parameter values or default values are filled into a copy of the template.",
1402
- "name": "template",
1403
- "summary": "Template to use for file creation.",
1404
- "default": "DefaultLightningEvt",
1405
- "hasDynamicHelp": false,
1406
- "multiple": false,
1407
- "options": [
1408
- "DefaultLightningEvt"
1409
- ],
1410
- "type": "option"
1411
- },
1412
1404
  "output-dir": {
1413
1405
  "aliases": [
1414
1406
  "outputdir"
@@ -1434,13 +1426,18 @@
1434
1426
  "multiple": false,
1435
1427
  "type": "option"
1436
1428
  },
1437
- "internal": {
1438
- "char": "i",
1439
- "hidden": true,
1440
- "name": "internal",
1441
- "summary": "Generate lightning bundles without creating a -meta.xml file.",
1442
- "allowNo": false,
1443
- "type": "boolean"
1429
+ "name": {
1430
+ "aliases": [
1431
+ "templatename"
1432
+ ],
1433
+ "char": "n",
1434
+ "deprecateAliases": true,
1435
+ "name": "name",
1436
+ "required": true,
1437
+ "summary": "Name of the Analytics template.",
1438
+ "hasDynamicHelp": false,
1439
+ "multiple": false,
1440
+ "type": "option"
1444
1441
  },
1445
1442
  "loglevel": {
1446
1443
  "deprecated": {
@@ -1455,66 +1452,66 @@
1455
1452
  },
1456
1453
  "hasDynamicHelp": false,
1457
1454
  "hiddenAliases": [],
1458
- "id": "lightning:generate:event",
1455
+ "id": "analytics:generate:template",
1459
1456
  "pluginAlias": "@salesforce/plugin-templates",
1460
1457
  "pluginName": "@salesforce/plugin-templates",
1461
1458
  "pluginType": "core",
1462
1459
  "strict": true,
1463
- "summary": "Generate a Lightning Event.",
1460
+ "summary": "Generate a simple Analytics template.",
1464
1461
  "enableJsonFlag": true,
1465
1462
  "isESM": true,
1466
1463
  "relativePath": [
1467
1464
  "lib",
1468
1465
  "commands",
1469
- "lightning",
1466
+ "analytics",
1470
1467
  "generate",
1471
- "event.js"
1468
+ "template.js"
1472
1469
  ],
1473
1470
  "aliasPermutations": [
1474
- "force:lightning:event:create",
1475
- "lightning:force:event:create",
1476
- "lightning:event:force:create",
1477
- "lightning:event:create:force",
1478
- "force:event:lightning:create",
1479
- "event:force:lightning:create",
1480
- "event:lightning:force:create",
1481
- "event:lightning:create:force",
1482
- "force:event:create:lightning",
1483
- "event:force:create:lightning",
1484
- "event:create:force:lightning",
1485
- "event:create:lightning:force",
1486
- "force:lightning:create:event",
1487
- "lightning:force:create:event",
1488
- "lightning:create:force:event",
1489
- "lightning:create:event:force",
1490
- "force:create:lightning:event",
1491
- "create:force:lightning:event",
1492
- "create:lightning:force:event",
1493
- "create:lightning:event:force",
1494
- "force:create:event:lightning",
1495
- "create:force:event:lightning",
1496
- "create:event:force:lightning",
1497
- "create:event:lightning:force"
1471
+ "force:analytics:template:create",
1472
+ "analytics:force:template:create",
1473
+ "analytics:template:force:create",
1474
+ "analytics:template:create:force",
1475
+ "force:template:analytics:create",
1476
+ "template:force:analytics:create",
1477
+ "template:analytics:force:create",
1478
+ "template:analytics:create:force",
1479
+ "force:template:create:analytics",
1480
+ "template:force:create:analytics",
1481
+ "template:create:force:analytics",
1482
+ "template:create:analytics:force",
1483
+ "force:analytics:create:template",
1484
+ "analytics:force:create:template",
1485
+ "analytics:create:force:template",
1486
+ "analytics:create:template:force",
1487
+ "force:create:analytics:template",
1488
+ "create:force:analytics:template",
1489
+ "create:analytics:force:template",
1490
+ "create:analytics:template:force",
1491
+ "force:create:template:analytics",
1492
+ "create:force:template:analytics",
1493
+ "create:template:force:analytics",
1494
+ "create:template:analytics:force"
1498
1495
  ],
1499
1496
  "permutations": [
1500
- "lightning:generate:event",
1501
- "generate:lightning:event",
1502
- "generate:event:lightning",
1503
- "lightning:event:generate",
1504
- "event:lightning:generate",
1505
- "event:generate:lightning"
1497
+ "analytics:generate:template",
1498
+ "generate:analytics:template",
1499
+ "generate:template:analytics",
1500
+ "analytics:template:generate",
1501
+ "template:analytics:generate",
1502
+ "template:generate:analytics"
1506
1503
  ]
1507
1504
  },
1508
- "lightning:generate:interface": {
1505
+ "visualforce:generate:component": {
1509
1506
  "aliases": [
1510
- "force:lightning:interface:create"
1507
+ "force:visualforce:component:create"
1511
1508
  ],
1512
1509
  "args": {},
1513
1510
  "deprecateAliases": true,
1514
- "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.",
1511
+ "description": "The command generates the .Component file and associated metadata file in the specified directory or the current working directory by default.",
1515
1512
  "examples": [
1516
- "Generate the metadata files for a Lightning interface bundle called \"myinterface\" in the current directory:\n<%= config.bin %> <%= command.id %> --name myinterface",
1517
- "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"
1513
+ "Generate the metadata files for a Visualforce component in the current directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --label mylabel",
1514
+ "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"
1518
1515
  ],
1519
1516
  "flags": {
1520
1517
  "json": {
@@ -1534,14 +1531,14 @@
1534
1531
  },
1535
1532
  "name": {
1536
1533
  "aliases": [
1537
- "interfacename"
1534
+ "componentname"
1538
1535
  ],
1539
1536
  "char": "n",
1540
1537
  "deprecateAliases": true,
1541
1538
  "description": "The name can be up to 40 characters and must start with a letter.",
1542
1539
  "name": "name",
1543
1540
  "required": true,
1544
- "summary": "Name of the generated Lightning Interface.",
1541
+ "summary": "Name of the generated Visualforce Component.",
1545
1542
  "hasDynamicHelp": false,
1546
1543
  "multiple": false,
1547
1544
  "type": "option"
@@ -1551,11 +1548,11 @@
1551
1548
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
1552
1549
  "name": "template",
1553
1550
  "summary": "Template to use for file creation.",
1554
- "default": "DefaultLightningIntf",
1551
+ "default": "DefaultVFComponent",
1555
1552
  "hasDynamicHelp": false,
1556
1553
  "multiple": false,
1557
1554
  "options": [
1558
- "DefaultLightningIntf"
1555
+ "DefaultVFComponent"
1559
1556
  ],
1560
1557
  "type": "option"
1561
1558
  },
@@ -1584,13 +1581,14 @@
1584
1581
  "multiple": false,
1585
1582
  "type": "option"
1586
1583
  },
1587
- "internal": {
1588
- "char": "i",
1589
- "hidden": true,
1590
- "name": "internal",
1591
- "summary": "Generate lightning bundles without creating a -meta.xml file.",
1592
- "allowNo": false,
1593
- "type": "boolean"
1584
+ "label": {
1585
+ "char": "l",
1586
+ "name": "label",
1587
+ "required": true,
1588
+ "summary": "Visualforce Component label.",
1589
+ "hasDynamicHelp": false,
1590
+ "multiple": false,
1591
+ "type": "option"
1594
1592
  },
1595
1593
  "loglevel": {
1596
1594
  "deprecated": {
@@ -1605,66 +1603,66 @@
1605
1603
  },
1606
1604
  "hasDynamicHelp": false,
1607
1605
  "hiddenAliases": [],
1608
- "id": "lightning:generate:interface",
1606
+ "id": "visualforce:generate:component",
1609
1607
  "pluginAlias": "@salesforce/plugin-templates",
1610
1608
  "pluginName": "@salesforce/plugin-templates",
1611
1609
  "pluginType": "core",
1612
1610
  "strict": true,
1613
- "summary": "Generate a Lightning Interface.",
1611
+ "summary": "Generate a Visualforce Component.",
1614
1612
  "enableJsonFlag": true,
1615
1613
  "isESM": true,
1616
1614
  "relativePath": [
1617
1615
  "lib",
1618
1616
  "commands",
1619
- "lightning",
1617
+ "visualforce",
1620
1618
  "generate",
1621
- "interface.js"
1619
+ "component.js"
1622
1620
  ],
1623
1621
  "aliasPermutations": [
1624
- "force:lightning:interface:create",
1625
- "lightning:force:interface:create",
1626
- "lightning:interface:force:create",
1627
- "lightning:interface:create:force",
1628
- "force:interface:lightning:create",
1629
- "interface:force:lightning:create",
1630
- "interface:lightning:force:create",
1631
- "interface:lightning:create:force",
1632
- "force:interface:create:lightning",
1633
- "interface:force:create:lightning",
1634
- "interface:create:force:lightning",
1635
- "interface:create:lightning:force",
1636
- "force:lightning:create:interface",
1637
- "lightning:force:create:interface",
1638
- "lightning:create:force:interface",
1639
- "lightning:create:interface:force",
1640
- "force:create:lightning:interface",
1641
- "create:force:lightning:interface",
1642
- "create:lightning:force:interface",
1643
- "create:lightning:interface:force",
1644
- "force:create:interface:lightning",
1645
- "create:force:interface:lightning",
1646
- "create:interface:force:lightning",
1647
- "create:interface:lightning:force"
1622
+ "force:visualforce:component:create",
1623
+ "visualforce:force:component:create",
1624
+ "visualforce:component:force:create",
1625
+ "visualforce:component:create:force",
1626
+ "force:component:visualforce:create",
1627
+ "component:force:visualforce:create",
1628
+ "component:visualforce:force:create",
1629
+ "component:visualforce:create:force",
1630
+ "force:component:create:visualforce",
1631
+ "component:force:create:visualforce",
1632
+ "component:create:force:visualforce",
1633
+ "component:create:visualforce:force",
1634
+ "force:visualforce:create:component",
1635
+ "visualforce:force:create:component",
1636
+ "visualforce:create:force:component",
1637
+ "visualforce:create:component:force",
1638
+ "force:create:visualforce:component",
1639
+ "create:force:visualforce:component",
1640
+ "create:visualforce:force:component",
1641
+ "create:visualforce:component:force",
1642
+ "force:create:component:visualforce",
1643
+ "create:force:component:visualforce",
1644
+ "create:component:force:visualforce",
1645
+ "create:component:visualforce:force"
1648
1646
  ],
1649
1647
  "permutations": [
1650
- "lightning:generate:interface",
1651
- "generate:lightning:interface",
1652
- "generate:interface:lightning",
1653
- "lightning:interface:generate",
1654
- "interface:lightning:generate",
1655
- "interface:generate:lightning"
1648
+ "visualforce:generate:component",
1649
+ "generate:visualforce:component",
1650
+ "generate:component:visualforce",
1651
+ "visualforce:component:generate",
1652
+ "component:visualforce:generate",
1653
+ "component:generate:visualforce"
1656
1654
  ]
1657
1655
  },
1658
- "lightning:generate:test": {
1656
+ "visualforce:generate:page": {
1659
1657
  "aliases": [
1660
- "force:lightning:test:create"
1658
+ "force:visualforce:page:create"
1661
1659
  ],
1662
1660
  "args": {},
1663
1661
  "deprecateAliases": true,
1664
- "description": "Generates the test in the specified directory or the current working directory. The .resource file and associated metadata file are generated.",
1662
+ "description": "The command generates the .Page file and associated metadata file in the specified directory or the current working directory by default.",
1665
1663
  "examples": [
1666
- "Generate the metadata files for the Lightning test called MyLightningTest in the current directory:\n<%= config.bin %> <%= command.id %> --name MyLightningTest",
1667
- "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"
1664
+ "Generate the metadata files for a Visualforce page in the current directory:\n<%= config.bin %> <%= command.id %> --name mypage --label mylabel",
1665
+ "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"
1668
1666
  ],
1669
1667
  "flags": {
1670
1668
  "json": {
@@ -1684,14 +1682,14 @@
1684
1682
  },
1685
1683
  "name": {
1686
1684
  "aliases": [
1687
- "testname"
1685
+ "pagename"
1688
1686
  ],
1689
1687
  "char": "n",
1690
1688
  "deprecateAliases": true,
1691
- "description": "Name of the new Lightning test; can be up to 40 characters and must start with a letter.",
1689
+ "description": "The name can be up to 40 characters and must start with a letter.",
1692
1690
  "name": "name",
1693
1691
  "required": true,
1694
- "summary": "Name of the generated Lightning Test.",
1692
+ "summary": "Name of the generated Visualforce Page.",
1695
1693
  "hasDynamicHelp": false,
1696
1694
  "multiple": false,
1697
1695
  "type": "option"
@@ -1699,13 +1697,14 @@
1699
1697
  "template": {
1700
1698
  "char": "t",
1701
1699
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
1700
+ "hidden": true,
1702
1701
  "name": "template",
1703
1702
  "summary": "Template to use for file creation.",
1704
- "default": "DefaultLightningTest",
1703
+ "default": "DefaultVFPage",
1705
1704
  "hasDynamicHelp": false,
1706
1705
  "multiple": false,
1707
1706
  "options": [
1708
- "DefaultLightningTest"
1707
+ "DefaultVFPage"
1709
1708
  ],
1710
1709
  "type": "option"
1711
1710
  },
@@ -1723,14 +1722,6 @@
1723
1722
  "multiple": false,
1724
1723
  "type": "option"
1725
1724
  },
1726
- "internal": {
1727
- "char": "i",
1728
- "hidden": true,
1729
- "name": "internal",
1730
- "summary": "Generate lightning bundles without creating a -meta.xml file.",
1731
- "allowNo": false,
1732
- "type": "boolean"
1733
- },
1734
1725
  "api-version": {
1735
1726
  "aliases": [
1736
1727
  "apiversion"
@@ -1742,6 +1733,15 @@
1742
1733
  "multiple": false,
1743
1734
  "type": "option"
1744
1735
  },
1736
+ "label": {
1737
+ "char": "l",
1738
+ "name": "label",
1739
+ "required": true,
1740
+ "summary": "Visualforce Page label.",
1741
+ "hasDynamicHelp": false,
1742
+ "multiple": false,
1743
+ "type": "option"
1744
+ },
1745
1745
  "loglevel": {
1746
1746
  "deprecated": {
1747
1747
  "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."
@@ -1755,56 +1755,56 @@
1755
1755
  },
1756
1756
  "hasDynamicHelp": false,
1757
1757
  "hiddenAliases": [],
1758
- "id": "lightning:generate:test",
1758
+ "id": "visualforce:generate:page",
1759
1759
  "pluginAlias": "@salesforce/plugin-templates",
1760
1760
  "pluginName": "@salesforce/plugin-templates",
1761
1761
  "pluginType": "core",
1762
1762
  "strict": true,
1763
- "summary": "Generate a Lightning test.",
1763
+ "summary": "Generate a Visualforce Page.",
1764
1764
  "enableJsonFlag": true,
1765
1765
  "isESM": true,
1766
1766
  "relativePath": [
1767
1767
  "lib",
1768
1768
  "commands",
1769
- "lightning",
1769
+ "visualforce",
1770
1770
  "generate",
1771
- "test.js"
1771
+ "page.js"
1772
1772
  ],
1773
1773
  "aliasPermutations": [
1774
- "force:lightning:test:create",
1775
- "lightning:force:test:create",
1776
- "lightning:test:force:create",
1777
- "lightning:test:create:force",
1778
- "force:test:lightning:create",
1779
- "test:force:lightning:create",
1780
- "test:lightning:force:create",
1781
- "test:lightning:create:force",
1782
- "force:test:create:lightning",
1783
- "test:force:create:lightning",
1784
- "test:create:force:lightning",
1785
- "test:create:lightning:force",
1786
- "force:lightning:create:test",
1787
- "lightning:force:create:test",
1788
- "lightning:create:force:test",
1789
- "lightning:create:test:force",
1790
- "force:create:lightning:test",
1791
- "create:force:lightning:test",
1792
- "create:lightning:force:test",
1793
- "create:lightning:test:force",
1794
- "force:create:test:lightning",
1795
- "create:force:test:lightning",
1796
- "create:test:force:lightning",
1797
- "create:test:lightning:force"
1774
+ "force:visualforce:page:create",
1775
+ "visualforce:force:page:create",
1776
+ "visualforce:page:force:create",
1777
+ "visualforce:page:create:force",
1778
+ "force:page:visualforce:create",
1779
+ "page:force:visualforce:create",
1780
+ "page:visualforce:force:create",
1781
+ "page:visualforce:create:force",
1782
+ "force:page:create:visualforce",
1783
+ "page:force:create:visualforce",
1784
+ "page:create:force:visualforce",
1785
+ "page:create:visualforce:force",
1786
+ "force:visualforce:create:page",
1787
+ "visualforce:force:create:page",
1788
+ "visualforce:create:force:page",
1789
+ "visualforce:create:page:force",
1790
+ "force:create:visualforce:page",
1791
+ "create:force:visualforce:page",
1792
+ "create:visualforce:force:page",
1793
+ "create:visualforce:page:force",
1794
+ "force:create:page:visualforce",
1795
+ "create:force:page:visualforce",
1796
+ "create:page:force:visualforce",
1797
+ "create:page:visualforce:force"
1798
1798
  ],
1799
1799
  "permutations": [
1800
- "lightning:generate:test",
1801
- "generate:lightning:test",
1802
- "generate:test:lightning",
1803
- "lightning:test:generate",
1804
- "test:lightning:generate",
1805
- "test:generate:lightning"
1800
+ "visualforce:generate:page",
1801
+ "generate:visualforce:page",
1802
+ "generate:page:visualforce",
1803
+ "visualforce:page:generate",
1804
+ "page:visualforce:generate",
1805
+ "page:generate:visualforce"
1806
1806
  ]
1807
1807
  }
1808
1808
  },
1809
- "version": "56.3.47"
1809
+ "version": "56.3.48"
1810
1810
  }