@salesforce/plugin-templates 56.3.43 → 56.3.45
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/LICENSE.txt +200 -6
- package/README.md +12 -12
- package/oclif.manifest.json +354 -354
- package/package.json +12 -11
package/oclif.manifest.json
CHANGED
|
@@ -736,16 +736,16 @@
|
|
|
736
736
|
"trigger:generate:apex"
|
|
737
737
|
]
|
|
738
738
|
},
|
|
739
|
-
"
|
|
739
|
+
"lightning:generate:app": {
|
|
740
740
|
"aliases": [
|
|
741
|
-
"force:
|
|
741
|
+
"force:lightning:app:create"
|
|
742
742
|
],
|
|
743
743
|
"args": {},
|
|
744
744
|
"deprecateAliases": true,
|
|
745
|
-
"description": "
|
|
745
|
+
"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.",
|
|
746
746
|
"examples": [
|
|
747
|
-
"Generate the metadata files for a
|
|
748
|
-
"Similar to previous example, but generate the files in the
|
|
747
|
+
"Generate the metadata files for a Lightning app bundle called \"myapp\" in the current directory:\n<%= config.bin %> <%= command.id %> --name myapp",
|
|
748
|
+
"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"
|
|
749
749
|
],
|
|
750
750
|
"flags": {
|
|
751
751
|
"json": {
|
|
@@ -765,14 +765,14 @@
|
|
|
765
765
|
},
|
|
766
766
|
"name": {
|
|
767
767
|
"aliases": [
|
|
768
|
-
"
|
|
768
|
+
"appname"
|
|
769
769
|
],
|
|
770
770
|
"char": "n",
|
|
771
771
|
"deprecateAliases": true,
|
|
772
772
|
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
773
773
|
"name": "name",
|
|
774
774
|
"required": true,
|
|
775
|
-
"summary": "Name of the generated
|
|
775
|
+
"summary": "Name of the generated Lightning App.",
|
|
776
776
|
"hasDynamicHelp": false,
|
|
777
777
|
"multiple": false,
|
|
778
778
|
"type": "option"
|
|
@@ -782,11 +782,11 @@
|
|
|
782
782
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
783
783
|
"name": "template",
|
|
784
784
|
"summary": "Template to use for file creation.",
|
|
785
|
-
"default": "
|
|
785
|
+
"default": "DefaultLightningApp",
|
|
786
786
|
"hasDynamicHelp": false,
|
|
787
787
|
"multiple": false,
|
|
788
788
|
"options": [
|
|
789
|
-
"
|
|
789
|
+
"DefaultLightningApp"
|
|
790
790
|
],
|
|
791
791
|
"type": "option"
|
|
792
792
|
},
|
|
@@ -815,14 +815,13 @@
|
|
|
815
815
|
"multiple": false,
|
|
816
816
|
"type": "option"
|
|
817
817
|
},
|
|
818
|
-
"
|
|
819
|
-
"char": "
|
|
820
|
-
"
|
|
821
|
-
"
|
|
822
|
-
"summary": "
|
|
823
|
-
"
|
|
824
|
-
"
|
|
825
|
-
"type": "option"
|
|
818
|
+
"internal": {
|
|
819
|
+
"char": "i",
|
|
820
|
+
"hidden": true,
|
|
821
|
+
"name": "internal",
|
|
822
|
+
"summary": "Generate lightning bundles without creating a -meta.xml file.",
|
|
823
|
+
"allowNo": false,
|
|
824
|
+
"type": "boolean"
|
|
826
825
|
},
|
|
827
826
|
"loglevel": {
|
|
828
827
|
"deprecated": {
|
|
@@ -837,66 +836,68 @@
|
|
|
837
836
|
},
|
|
838
837
|
"hasDynamicHelp": false,
|
|
839
838
|
"hiddenAliases": [],
|
|
840
|
-
"id": "
|
|
839
|
+
"id": "lightning:generate:app",
|
|
841
840
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
842
841
|
"pluginName": "@salesforce/plugin-templates",
|
|
843
842
|
"pluginType": "core",
|
|
844
843
|
"strict": true,
|
|
845
|
-
"summary": "Generate a
|
|
844
|
+
"summary": "Generate a Lightning App.",
|
|
846
845
|
"enableJsonFlag": true,
|
|
847
846
|
"isESM": true,
|
|
848
847
|
"relativePath": [
|
|
849
848
|
"lib",
|
|
850
849
|
"commands",
|
|
851
|
-
"
|
|
850
|
+
"lightning",
|
|
852
851
|
"generate",
|
|
853
|
-
"
|
|
852
|
+
"app.js"
|
|
854
853
|
],
|
|
855
854
|
"aliasPermutations": [
|
|
856
|
-
"force:
|
|
857
|
-
"
|
|
858
|
-
"
|
|
859
|
-
"
|
|
860
|
-
"force:
|
|
861
|
-
"
|
|
862
|
-
"
|
|
863
|
-
"
|
|
864
|
-
"force:
|
|
865
|
-
"
|
|
866
|
-
"
|
|
867
|
-
"
|
|
868
|
-
"force:
|
|
869
|
-
"
|
|
870
|
-
"
|
|
871
|
-
"
|
|
872
|
-
"force:create:
|
|
873
|
-
"create:force:
|
|
874
|
-
"create:
|
|
875
|
-
"create:
|
|
876
|
-
"force:create:
|
|
877
|
-
"create:force:
|
|
878
|
-
"create:
|
|
879
|
-
"create:
|
|
855
|
+
"force:lightning:app:create",
|
|
856
|
+
"lightning:force:app:create",
|
|
857
|
+
"lightning:app:force:create",
|
|
858
|
+
"lightning:app:create:force",
|
|
859
|
+
"force:app:lightning:create",
|
|
860
|
+
"app:force:lightning:create",
|
|
861
|
+
"app:lightning:force:create",
|
|
862
|
+
"app:lightning:create:force",
|
|
863
|
+
"force:app:create:lightning",
|
|
864
|
+
"app:force:create:lightning",
|
|
865
|
+
"app:create:force:lightning",
|
|
866
|
+
"app:create:lightning:force",
|
|
867
|
+
"force:lightning:create:app",
|
|
868
|
+
"lightning:force:create:app",
|
|
869
|
+
"lightning:create:force:app",
|
|
870
|
+
"lightning:create:app:force",
|
|
871
|
+
"force:create:lightning:app",
|
|
872
|
+
"create:force:lightning:app",
|
|
873
|
+
"create:lightning:force:app",
|
|
874
|
+
"create:lightning:app:force",
|
|
875
|
+
"force:create:app:lightning",
|
|
876
|
+
"create:force:app:lightning",
|
|
877
|
+
"create:app:force:lightning",
|
|
878
|
+
"create:app:lightning:force"
|
|
880
879
|
],
|
|
881
880
|
"permutations": [
|
|
882
|
-
"
|
|
883
|
-
"generate:
|
|
884
|
-
"generate:
|
|
885
|
-
"
|
|
886
|
-
"
|
|
887
|
-
"
|
|
881
|
+
"lightning:generate:app",
|
|
882
|
+
"generate:lightning:app",
|
|
883
|
+
"generate:app:lightning",
|
|
884
|
+
"lightning:app:generate",
|
|
885
|
+
"app:lightning:generate",
|
|
886
|
+
"app:generate:lightning"
|
|
888
887
|
]
|
|
889
888
|
},
|
|
890
|
-
"
|
|
889
|
+
"lightning:generate:component": {
|
|
891
890
|
"aliases": [
|
|
892
|
-
"force:
|
|
891
|
+
"force:lightning:component:create"
|
|
893
892
|
],
|
|
894
893
|
"args": {},
|
|
895
894
|
"deprecateAliases": true,
|
|
896
|
-
"description": "The
|
|
895
|
+
"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.",
|
|
897
896
|
"examples": [
|
|
898
|
-
"Generate the metadata files for
|
|
899
|
-
"
|
|
897
|
+
"Generate the metadata files for an Aura component bundle in the current directory:\n<%= config.bin %> <%= command.id %> --name mycomponent",
|
|
898
|
+
"Generate a Lightning web component bundle in the current directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --type lwc",
|
|
899
|
+
"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",
|
|
900
|
+
"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"
|
|
900
901
|
],
|
|
901
902
|
"flags": {
|
|
902
903
|
"json": {
|
|
@@ -916,14 +917,14 @@
|
|
|
916
917
|
},
|
|
917
918
|
"name": {
|
|
918
919
|
"aliases": [
|
|
919
|
-
"
|
|
920
|
+
"componentname"
|
|
920
921
|
],
|
|
921
922
|
"char": "n",
|
|
922
923
|
"deprecateAliases": true,
|
|
923
924
|
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
924
925
|
"name": "name",
|
|
925
926
|
"required": true,
|
|
926
|
-
"summary": "Name of the generated
|
|
927
|
+
"summary": "Name of the generated Lightning Component.",
|
|
927
928
|
"hasDynamicHelp": false,
|
|
928
929
|
"multiple": false,
|
|
929
930
|
"type": "option"
|
|
@@ -931,14 +932,15 @@
|
|
|
931
932
|
"template": {
|
|
932
933
|
"char": "t",
|
|
933
934
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
934
|
-
"hidden": true,
|
|
935
935
|
"name": "template",
|
|
936
936
|
"summary": "Template to use for file creation.",
|
|
937
|
-
"default": "
|
|
937
|
+
"default": "default",
|
|
938
938
|
"hasDynamicHelp": false,
|
|
939
939
|
"multiple": false,
|
|
940
940
|
"options": [
|
|
941
|
-
"
|
|
941
|
+
"default",
|
|
942
|
+
"analyticsDashboard",
|
|
943
|
+
"analyticsDashboardWithStep"
|
|
942
944
|
],
|
|
943
945
|
"type": "option"
|
|
944
946
|
},
|
|
@@ -967,15 +969,26 @@
|
|
|
967
969
|
"multiple": false,
|
|
968
970
|
"type": "option"
|
|
969
971
|
},
|
|
970
|
-
"
|
|
971
|
-
"
|
|
972
|
-
"
|
|
973
|
-
"
|
|
974
|
-
"summary": "Visualforce Page label.",
|
|
972
|
+
"type": {
|
|
973
|
+
"name": "type",
|
|
974
|
+
"summary": "Type of the component bundle.",
|
|
975
|
+
"default": "aura",
|
|
975
976
|
"hasDynamicHelp": false,
|
|
976
977
|
"multiple": false,
|
|
978
|
+
"options": [
|
|
979
|
+
"aura",
|
|
980
|
+
"lwc"
|
|
981
|
+
],
|
|
977
982
|
"type": "option"
|
|
978
983
|
},
|
|
984
|
+
"internal": {
|
|
985
|
+
"char": "i",
|
|
986
|
+
"hidden": true,
|
|
987
|
+
"name": "internal",
|
|
988
|
+
"summary": "Generate lightning bundles without creating a -meta.xml file.",
|
|
989
|
+
"allowNo": false,
|
|
990
|
+
"type": "boolean"
|
|
991
|
+
},
|
|
979
992
|
"loglevel": {
|
|
980
993
|
"deprecated": {
|
|
981
994
|
"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."
|
|
@@ -989,66 +1002,66 @@
|
|
|
989
1002
|
},
|
|
990
1003
|
"hasDynamicHelp": false,
|
|
991
1004
|
"hiddenAliases": [],
|
|
992
|
-
"id": "
|
|
1005
|
+
"id": "lightning:generate:component",
|
|
993
1006
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
994
1007
|
"pluginName": "@salesforce/plugin-templates",
|
|
995
1008
|
"pluginType": "core",
|
|
996
1009
|
"strict": true,
|
|
997
|
-
"summary": "Generate a
|
|
1010
|
+
"summary": "Generate a bundle for an Aura component or a Lightning web component.",
|
|
998
1011
|
"enableJsonFlag": true,
|
|
999
1012
|
"isESM": true,
|
|
1000
1013
|
"relativePath": [
|
|
1001
1014
|
"lib",
|
|
1002
1015
|
"commands",
|
|
1003
|
-
"
|
|
1016
|
+
"lightning",
|
|
1004
1017
|
"generate",
|
|
1005
|
-
"
|
|
1018
|
+
"component.js"
|
|
1006
1019
|
],
|
|
1007
1020
|
"aliasPermutations": [
|
|
1008
|
-
"force:
|
|
1009
|
-
"
|
|
1010
|
-
"
|
|
1011
|
-
"
|
|
1012
|
-
"force:
|
|
1013
|
-
"
|
|
1014
|
-
"
|
|
1015
|
-
"
|
|
1016
|
-
"force:
|
|
1017
|
-
"
|
|
1018
|
-
"
|
|
1019
|
-
"
|
|
1020
|
-
"force:
|
|
1021
|
-
"
|
|
1022
|
-
"
|
|
1023
|
-
"
|
|
1024
|
-
"force:create:
|
|
1025
|
-
"create:force:
|
|
1026
|
-
"create:
|
|
1027
|
-
"create:
|
|
1028
|
-
"force:create:
|
|
1029
|
-
"create:force:
|
|
1030
|
-
"create:
|
|
1031
|
-
"create:
|
|
1021
|
+
"force:lightning:component:create",
|
|
1022
|
+
"lightning:force:component:create",
|
|
1023
|
+
"lightning:component:force:create",
|
|
1024
|
+
"lightning:component:create:force",
|
|
1025
|
+
"force:component:lightning:create",
|
|
1026
|
+
"component:force:lightning:create",
|
|
1027
|
+
"component:lightning:force:create",
|
|
1028
|
+
"component:lightning:create:force",
|
|
1029
|
+
"force:component:create:lightning",
|
|
1030
|
+
"component:force:create:lightning",
|
|
1031
|
+
"component:create:force:lightning",
|
|
1032
|
+
"component:create:lightning:force",
|
|
1033
|
+
"force:lightning:create:component",
|
|
1034
|
+
"lightning:force:create:component",
|
|
1035
|
+
"lightning:create:force:component",
|
|
1036
|
+
"lightning:create:component:force",
|
|
1037
|
+
"force:create:lightning:component",
|
|
1038
|
+
"create:force:lightning:component",
|
|
1039
|
+
"create:lightning:force:component",
|
|
1040
|
+
"create:lightning:component:force",
|
|
1041
|
+
"force:create:component:lightning",
|
|
1042
|
+
"create:force:component:lightning",
|
|
1043
|
+
"create:component:force:lightning",
|
|
1044
|
+
"create:component:lightning:force"
|
|
1032
1045
|
],
|
|
1033
1046
|
"permutations": [
|
|
1034
|
-
"
|
|
1035
|
-
"generate:
|
|
1036
|
-
"generate:
|
|
1037
|
-
"
|
|
1038
|
-
"
|
|
1039
|
-
"
|
|
1047
|
+
"lightning:generate:component",
|
|
1048
|
+
"generate:lightning:component",
|
|
1049
|
+
"generate:component:lightning",
|
|
1050
|
+
"lightning:component:generate",
|
|
1051
|
+
"component:lightning:generate",
|
|
1052
|
+
"component:generate:lightning"
|
|
1040
1053
|
]
|
|
1041
1054
|
},
|
|
1042
|
-
"lightning:generate:
|
|
1055
|
+
"lightning:generate:event": {
|
|
1043
1056
|
"aliases": [
|
|
1044
|
-
"force:lightning:
|
|
1057
|
+
"force:lightning:event:create"
|
|
1045
1058
|
],
|
|
1046
1059
|
"args": {},
|
|
1047
1060
|
"deprecateAliases": true,
|
|
1048
|
-
"description": "Generates a Lightning
|
|
1061
|
+
"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.",
|
|
1049
1062
|
"examples": [
|
|
1050
|
-
"Generate the metadata files for a Lightning
|
|
1051
|
-
"Similar to
|
|
1063
|
+
"Generate the metadata files for a Lightning event bundle called \"myevent\" in the current directory:\n<%= config.bin %> <%= command.id %> --name myevent",
|
|
1064
|
+
"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"
|
|
1052
1065
|
],
|
|
1053
1066
|
"flags": {
|
|
1054
1067
|
"json": {
|
|
@@ -1068,14 +1081,14 @@
|
|
|
1068
1081
|
},
|
|
1069
1082
|
"name": {
|
|
1070
1083
|
"aliases": [
|
|
1071
|
-
"
|
|
1084
|
+
"eventname"
|
|
1072
1085
|
],
|
|
1073
1086
|
"char": "n",
|
|
1074
1087
|
"deprecateAliases": true,
|
|
1075
1088
|
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
1076
1089
|
"name": "name",
|
|
1077
1090
|
"required": true,
|
|
1078
|
-
"summary": "Name of the generated Lightning
|
|
1091
|
+
"summary": "Name of the generated Lightning Event.",
|
|
1079
1092
|
"hasDynamicHelp": false,
|
|
1080
1093
|
"multiple": false,
|
|
1081
1094
|
"type": "option"
|
|
@@ -1085,11 +1098,11 @@
|
|
|
1085
1098
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
1086
1099
|
"name": "template",
|
|
1087
1100
|
"summary": "Template to use for file creation.",
|
|
1088
|
-
"default": "
|
|
1101
|
+
"default": "DefaultLightningEvt",
|
|
1089
1102
|
"hasDynamicHelp": false,
|
|
1090
1103
|
"multiple": false,
|
|
1091
1104
|
"options": [
|
|
1092
|
-
"
|
|
1105
|
+
"DefaultLightningEvt"
|
|
1093
1106
|
],
|
|
1094
1107
|
"type": "option"
|
|
1095
1108
|
},
|
|
@@ -1139,12 +1152,12 @@
|
|
|
1139
1152
|
},
|
|
1140
1153
|
"hasDynamicHelp": false,
|
|
1141
1154
|
"hiddenAliases": [],
|
|
1142
|
-
"id": "lightning:generate:
|
|
1155
|
+
"id": "lightning:generate:event",
|
|
1143
1156
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
1144
1157
|
"pluginName": "@salesforce/plugin-templates",
|
|
1145
1158
|
"pluginType": "core",
|
|
1146
1159
|
"strict": true,
|
|
1147
|
-
"summary": "Generate a Lightning
|
|
1160
|
+
"summary": "Generate a Lightning Event.",
|
|
1148
1161
|
"enableJsonFlag": true,
|
|
1149
1162
|
"isESM": true,
|
|
1150
1163
|
"relativePath": [
|
|
@@ -1152,55 +1165,53 @@
|
|
|
1152
1165
|
"commands",
|
|
1153
1166
|
"lightning",
|
|
1154
1167
|
"generate",
|
|
1155
|
-
"
|
|
1168
|
+
"event.js"
|
|
1156
1169
|
],
|
|
1157
1170
|
"aliasPermutations": [
|
|
1158
|
-
"force:lightning:
|
|
1159
|
-
"lightning:force:
|
|
1160
|
-
"lightning:
|
|
1161
|
-
"lightning:
|
|
1162
|
-
"force:
|
|
1163
|
-
"
|
|
1164
|
-
"
|
|
1165
|
-
"
|
|
1166
|
-
"force:
|
|
1167
|
-
"
|
|
1168
|
-
"
|
|
1169
|
-
"
|
|
1170
|
-
"force:lightning:create:
|
|
1171
|
-
"lightning:force:create:
|
|
1172
|
-
"lightning:create:force:
|
|
1173
|
-
"lightning:create:
|
|
1174
|
-
"force:create:lightning:
|
|
1175
|
-
"create:force:lightning:
|
|
1176
|
-
"create:lightning:force:
|
|
1177
|
-
"create:lightning:
|
|
1178
|
-
"force:create:
|
|
1179
|
-
"create:force:
|
|
1180
|
-
"create:
|
|
1181
|
-
"create:
|
|
1171
|
+
"force:lightning:event:create",
|
|
1172
|
+
"lightning:force:event:create",
|
|
1173
|
+
"lightning:event:force:create",
|
|
1174
|
+
"lightning:event:create:force",
|
|
1175
|
+
"force:event:lightning:create",
|
|
1176
|
+
"event:force:lightning:create",
|
|
1177
|
+
"event:lightning:force:create",
|
|
1178
|
+
"event:lightning:create:force",
|
|
1179
|
+
"force:event:create:lightning",
|
|
1180
|
+
"event:force:create:lightning",
|
|
1181
|
+
"event:create:force:lightning",
|
|
1182
|
+
"event:create:lightning:force",
|
|
1183
|
+
"force:lightning:create:event",
|
|
1184
|
+
"lightning:force:create:event",
|
|
1185
|
+
"lightning:create:force:event",
|
|
1186
|
+
"lightning:create:event:force",
|
|
1187
|
+
"force:create:lightning:event",
|
|
1188
|
+
"create:force:lightning:event",
|
|
1189
|
+
"create:lightning:force:event",
|
|
1190
|
+
"create:lightning:event:force",
|
|
1191
|
+
"force:create:event:lightning",
|
|
1192
|
+
"create:force:event:lightning",
|
|
1193
|
+
"create:event:force:lightning",
|
|
1194
|
+
"create:event:lightning:force"
|
|
1182
1195
|
],
|
|
1183
1196
|
"permutations": [
|
|
1184
|
-
"lightning:generate:
|
|
1185
|
-
"generate:lightning:
|
|
1186
|
-
"generate:
|
|
1187
|
-
"lightning:
|
|
1188
|
-
"
|
|
1189
|
-
"
|
|
1197
|
+
"lightning:generate:event",
|
|
1198
|
+
"generate:lightning:event",
|
|
1199
|
+
"generate:event:lightning",
|
|
1200
|
+
"lightning:event:generate",
|
|
1201
|
+
"event:lightning:generate",
|
|
1202
|
+
"event:generate:lightning"
|
|
1190
1203
|
]
|
|
1191
1204
|
},
|
|
1192
|
-
"lightning:generate:
|
|
1205
|
+
"lightning:generate:interface": {
|
|
1193
1206
|
"aliases": [
|
|
1194
|
-
"force:lightning:
|
|
1207
|
+
"force:lightning:interface:create"
|
|
1195
1208
|
],
|
|
1196
1209
|
"args": {},
|
|
1197
1210
|
"deprecateAliases": true,
|
|
1198
|
-
"description": "Generates
|
|
1211
|
+
"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.",
|
|
1199
1212
|
"examples": [
|
|
1200
|
-
"Generate the metadata files for
|
|
1201
|
-
"
|
|
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"
|
|
1213
|
+
"Generate the metadata files for a Lightning interface bundle called \"myinterface\" in the current directory:\n<%= config.bin %> <%= command.id %> --name myinterface",
|
|
1214
|
+
"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"
|
|
1204
1215
|
],
|
|
1205
1216
|
"flags": {
|
|
1206
1217
|
"json": {
|
|
@@ -1220,14 +1231,14 @@
|
|
|
1220
1231
|
},
|
|
1221
1232
|
"name": {
|
|
1222
1233
|
"aliases": [
|
|
1223
|
-
"
|
|
1234
|
+
"interfacename"
|
|
1224
1235
|
],
|
|
1225
1236
|
"char": "n",
|
|
1226
1237
|
"deprecateAliases": true,
|
|
1227
1238
|
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
1228
1239
|
"name": "name",
|
|
1229
1240
|
"required": true,
|
|
1230
|
-
"summary": "Name of the generated Lightning
|
|
1241
|
+
"summary": "Name of the generated Lightning Interface.",
|
|
1231
1242
|
"hasDynamicHelp": false,
|
|
1232
1243
|
"multiple": false,
|
|
1233
1244
|
"type": "option"
|
|
@@ -1237,13 +1248,11 @@
|
|
|
1237
1248
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
1238
1249
|
"name": "template",
|
|
1239
1250
|
"summary": "Template to use for file creation.",
|
|
1240
|
-
"default": "
|
|
1251
|
+
"default": "DefaultLightningIntf",
|
|
1241
1252
|
"hasDynamicHelp": false,
|
|
1242
1253
|
"multiple": false,
|
|
1243
1254
|
"options": [
|
|
1244
|
-
"
|
|
1245
|
-
"analyticsDashboard",
|
|
1246
|
-
"analyticsDashboardWithStep"
|
|
1255
|
+
"DefaultLightningIntf"
|
|
1247
1256
|
],
|
|
1248
1257
|
"type": "option"
|
|
1249
1258
|
},
|
|
@@ -1272,18 +1281,6 @@
|
|
|
1272
1281
|
"multiple": false,
|
|
1273
1282
|
"type": "option"
|
|
1274
1283
|
},
|
|
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
1284
|
"internal": {
|
|
1288
1285
|
"char": "i",
|
|
1289
1286
|
"hidden": true,
|
|
@@ -1305,12 +1302,12 @@
|
|
|
1305
1302
|
},
|
|
1306
1303
|
"hasDynamicHelp": false,
|
|
1307
1304
|
"hiddenAliases": [],
|
|
1308
|
-
"id": "lightning:generate:
|
|
1305
|
+
"id": "lightning:generate:interface",
|
|
1309
1306
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
1310
1307
|
"pluginName": "@salesforce/plugin-templates",
|
|
1311
1308
|
"pluginType": "core",
|
|
1312
1309
|
"strict": true,
|
|
1313
|
-
"summary": "Generate a
|
|
1310
|
+
"summary": "Generate a Lightning Interface.",
|
|
1314
1311
|
"enableJsonFlag": true,
|
|
1315
1312
|
"isESM": true,
|
|
1316
1313
|
"relativePath": [
|
|
@@ -1318,53 +1315,53 @@
|
|
|
1318
1315
|
"commands",
|
|
1319
1316
|
"lightning",
|
|
1320
1317
|
"generate",
|
|
1321
|
-
"
|
|
1318
|
+
"interface.js"
|
|
1322
1319
|
],
|
|
1323
1320
|
"aliasPermutations": [
|
|
1324
|
-
"force:lightning:
|
|
1325
|
-
"lightning:force:
|
|
1326
|
-
"lightning:
|
|
1327
|
-
"lightning:
|
|
1328
|
-
"force:
|
|
1329
|
-
"
|
|
1330
|
-
"
|
|
1331
|
-
"
|
|
1332
|
-
"force:
|
|
1333
|
-
"
|
|
1334
|
-
"
|
|
1335
|
-
"
|
|
1336
|
-
"force:lightning:create:
|
|
1337
|
-
"lightning:force:create:
|
|
1338
|
-
"lightning:create:force:
|
|
1339
|
-
"lightning:create:
|
|
1340
|
-
"force:create:lightning:
|
|
1341
|
-
"create:force:lightning:
|
|
1342
|
-
"create:lightning:force:
|
|
1343
|
-
"create:lightning:
|
|
1344
|
-
"force:create:
|
|
1345
|
-
"create:force:
|
|
1346
|
-
"create:
|
|
1347
|
-
"create:
|
|
1321
|
+
"force:lightning:interface:create",
|
|
1322
|
+
"lightning:force:interface:create",
|
|
1323
|
+
"lightning:interface:force:create",
|
|
1324
|
+
"lightning:interface:create:force",
|
|
1325
|
+
"force:interface:lightning:create",
|
|
1326
|
+
"interface:force:lightning:create",
|
|
1327
|
+
"interface:lightning:force:create",
|
|
1328
|
+
"interface:lightning:create:force",
|
|
1329
|
+
"force:interface:create:lightning",
|
|
1330
|
+
"interface:force:create:lightning",
|
|
1331
|
+
"interface:create:force:lightning",
|
|
1332
|
+
"interface:create:lightning:force",
|
|
1333
|
+
"force:lightning:create:interface",
|
|
1334
|
+
"lightning:force:create:interface",
|
|
1335
|
+
"lightning:create:force:interface",
|
|
1336
|
+
"lightning:create:interface:force",
|
|
1337
|
+
"force:create:lightning:interface",
|
|
1338
|
+
"create:force:lightning:interface",
|
|
1339
|
+
"create:lightning:force:interface",
|
|
1340
|
+
"create:lightning:interface:force",
|
|
1341
|
+
"force:create:interface:lightning",
|
|
1342
|
+
"create:force:interface:lightning",
|
|
1343
|
+
"create:interface:force:lightning",
|
|
1344
|
+
"create:interface:lightning:force"
|
|
1348
1345
|
],
|
|
1349
1346
|
"permutations": [
|
|
1350
|
-
"lightning:generate:
|
|
1351
|
-
"generate:lightning:
|
|
1352
|
-
"generate:
|
|
1353
|
-
"lightning:
|
|
1354
|
-
"
|
|
1355
|
-
"
|
|
1347
|
+
"lightning:generate:interface",
|
|
1348
|
+
"generate:lightning:interface",
|
|
1349
|
+
"generate:interface:lightning",
|
|
1350
|
+
"lightning:interface:generate",
|
|
1351
|
+
"interface:lightning:generate",
|
|
1352
|
+
"interface:generate:lightning"
|
|
1356
1353
|
]
|
|
1357
1354
|
},
|
|
1358
|
-
"lightning:generate:
|
|
1355
|
+
"lightning:generate:test": {
|
|
1359
1356
|
"aliases": [
|
|
1360
|
-
"force:lightning:
|
|
1357
|
+
"force:lightning:test:create"
|
|
1361
1358
|
],
|
|
1362
1359
|
"args": {},
|
|
1363
1360
|
"deprecateAliases": true,
|
|
1364
|
-
"description": "Generates
|
|
1361
|
+
"description": "Generates the test in the specified directory or the current working directory. The .resource file and associated metadata file are generated.",
|
|
1365
1362
|
"examples": [
|
|
1366
|
-
"Generate the metadata files for
|
|
1367
|
-
"Similar to previous example
|
|
1363
|
+
"Generate the metadata files for the Lightning test called MyLightningTest in the current directory:\n<%= config.bin %> <%= command.id %> --name MyLightningTest",
|
|
1364
|
+
"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"
|
|
1368
1365
|
],
|
|
1369
1366
|
"flags": {
|
|
1370
1367
|
"json": {
|
|
@@ -1384,14 +1381,14 @@
|
|
|
1384
1381
|
},
|
|
1385
1382
|
"name": {
|
|
1386
1383
|
"aliases": [
|
|
1387
|
-
"
|
|
1384
|
+
"testname"
|
|
1388
1385
|
],
|
|
1389
1386
|
"char": "n",
|
|
1390
1387
|
"deprecateAliases": true,
|
|
1391
|
-
"description": "
|
|
1388
|
+
"description": "Name of the new Lightning test; can be up to 40 characters and must start with a letter.",
|
|
1392
1389
|
"name": "name",
|
|
1393
1390
|
"required": true,
|
|
1394
|
-
"summary": "Name of the generated Lightning
|
|
1391
|
+
"summary": "Name of the generated Lightning Test.",
|
|
1395
1392
|
"hasDynamicHelp": false,
|
|
1396
1393
|
"multiple": false,
|
|
1397
1394
|
"type": "option"
|
|
@@ -1401,11 +1398,11 @@
|
|
|
1401
1398
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
1402
1399
|
"name": "template",
|
|
1403
1400
|
"summary": "Template to use for file creation.",
|
|
1404
|
-
"default": "
|
|
1401
|
+
"default": "DefaultLightningTest",
|
|
1405
1402
|
"hasDynamicHelp": false,
|
|
1406
1403
|
"multiple": false,
|
|
1407
1404
|
"options": [
|
|
1408
|
-
"
|
|
1405
|
+
"DefaultLightningTest"
|
|
1409
1406
|
],
|
|
1410
1407
|
"type": "option"
|
|
1411
1408
|
},
|
|
@@ -1423,6 +1420,14 @@
|
|
|
1423
1420
|
"multiple": false,
|
|
1424
1421
|
"type": "option"
|
|
1425
1422
|
},
|
|
1423
|
+
"internal": {
|
|
1424
|
+
"char": "i",
|
|
1425
|
+
"hidden": true,
|
|
1426
|
+
"name": "internal",
|
|
1427
|
+
"summary": "Generate lightning bundles without creating a -meta.xml file.",
|
|
1428
|
+
"allowNo": false,
|
|
1429
|
+
"type": "boolean"
|
|
1430
|
+
},
|
|
1426
1431
|
"api-version": {
|
|
1427
1432
|
"aliases": [
|
|
1428
1433
|
"apiversion"
|
|
@@ -1434,14 +1439,6 @@
|
|
|
1434
1439
|
"multiple": false,
|
|
1435
1440
|
"type": "option"
|
|
1436
1441
|
},
|
|
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"
|
|
1444
|
-
},
|
|
1445
1442
|
"loglevel": {
|
|
1446
1443
|
"deprecated": {
|
|
1447
1444
|
"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."
|
|
@@ -1455,12 +1452,12 @@
|
|
|
1455
1452
|
},
|
|
1456
1453
|
"hasDynamicHelp": false,
|
|
1457
1454
|
"hiddenAliases": [],
|
|
1458
|
-
"id": "lightning:generate:
|
|
1455
|
+
"id": "lightning:generate:test",
|
|
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
|
|
1460
|
+
"summary": "Generate a Lightning test.",
|
|
1464
1461
|
"enableJsonFlag": true,
|
|
1465
1462
|
"isESM": true,
|
|
1466
1463
|
"relativePath": [
|
|
@@ -1468,53 +1465,53 @@
|
|
|
1468
1465
|
"commands",
|
|
1469
1466
|
"lightning",
|
|
1470
1467
|
"generate",
|
|
1471
|
-
"
|
|
1468
|
+
"test.js"
|
|
1472
1469
|
],
|
|
1473
1470
|
"aliasPermutations": [
|
|
1474
|
-
"force:lightning:
|
|
1475
|
-
"lightning:force:
|
|
1476
|
-
"lightning:
|
|
1477
|
-
"lightning:
|
|
1478
|
-
"force:
|
|
1479
|
-
"
|
|
1480
|
-
"
|
|
1481
|
-
"
|
|
1482
|
-
"force:
|
|
1483
|
-
"
|
|
1484
|
-
"
|
|
1485
|
-
"
|
|
1486
|
-
"force:lightning:create:
|
|
1487
|
-
"lightning:force:create:
|
|
1488
|
-
"lightning:create:force:
|
|
1489
|
-
"lightning:create:
|
|
1490
|
-
"force:create:lightning:
|
|
1491
|
-
"create:force:lightning:
|
|
1492
|
-
"create:lightning:force:
|
|
1493
|
-
"create:lightning:
|
|
1494
|
-
"force:create:
|
|
1495
|
-
"create:force:
|
|
1496
|
-
"create:
|
|
1497
|
-
"create:
|
|
1471
|
+
"force:lightning:test:create",
|
|
1472
|
+
"lightning:force:test:create",
|
|
1473
|
+
"lightning:test:force:create",
|
|
1474
|
+
"lightning:test:create:force",
|
|
1475
|
+
"force:test:lightning:create",
|
|
1476
|
+
"test:force:lightning:create",
|
|
1477
|
+
"test:lightning:force:create",
|
|
1478
|
+
"test:lightning:create:force",
|
|
1479
|
+
"force:test:create:lightning",
|
|
1480
|
+
"test:force:create:lightning",
|
|
1481
|
+
"test:create:force:lightning",
|
|
1482
|
+
"test:create:lightning:force",
|
|
1483
|
+
"force:lightning:create:test",
|
|
1484
|
+
"lightning:force:create:test",
|
|
1485
|
+
"lightning:create:force:test",
|
|
1486
|
+
"lightning:create:test:force",
|
|
1487
|
+
"force:create:lightning:test",
|
|
1488
|
+
"create:force:lightning:test",
|
|
1489
|
+
"create:lightning:force:test",
|
|
1490
|
+
"create:lightning:test:force",
|
|
1491
|
+
"force:create:test:lightning",
|
|
1492
|
+
"create:force:test:lightning",
|
|
1493
|
+
"create:test:force:lightning",
|
|
1494
|
+
"create:test:lightning:force"
|
|
1498
1495
|
],
|
|
1499
1496
|
"permutations": [
|
|
1500
|
-
"lightning:generate:
|
|
1501
|
-
"generate:lightning:
|
|
1502
|
-
"generate:
|
|
1503
|
-
"lightning:
|
|
1504
|
-
"
|
|
1505
|
-
"
|
|
1497
|
+
"lightning:generate:test",
|
|
1498
|
+
"generate:lightning:test",
|
|
1499
|
+
"generate:test:lightning",
|
|
1500
|
+
"lightning:test:generate",
|
|
1501
|
+
"test:lightning:generate",
|
|
1502
|
+
"test:generate:lightning"
|
|
1506
1503
|
]
|
|
1507
1504
|
},
|
|
1508
|
-
"
|
|
1505
|
+
"visualforce:generate:component": {
|
|
1509
1506
|
"aliases": [
|
|
1510
|
-
"force:
|
|
1507
|
+
"force:visualforce:component:create"
|
|
1511
1508
|
],
|
|
1512
1509
|
"args": {},
|
|
1513
1510
|
"deprecateAliases": true,
|
|
1514
|
-
"description": "
|
|
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
|
|
1517
|
-
"Similar to
|
|
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
|
-
"
|
|
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
|
|
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": "
|
|
1551
|
+
"default": "DefaultVFComponent",
|
|
1555
1552
|
"hasDynamicHelp": false,
|
|
1556
1553
|
"multiple": false,
|
|
1557
1554
|
"options": [
|
|
1558
|
-
"
|
|
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
|
-
"
|
|
1588
|
-
"char": "
|
|
1589
|
-
"
|
|
1590
|
-
"
|
|
1591
|
-
"summary": "
|
|
1592
|
-
"
|
|
1593
|
-
"
|
|
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": "
|
|
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
|
|
1611
|
+
"summary": "Generate a Visualforce Component.",
|
|
1614
1612
|
"enableJsonFlag": true,
|
|
1615
1613
|
"isESM": true,
|
|
1616
1614
|
"relativePath": [
|
|
1617
1615
|
"lib",
|
|
1618
1616
|
"commands",
|
|
1619
|
-
"
|
|
1617
|
+
"visualforce",
|
|
1620
1618
|
"generate",
|
|
1621
|
-
"
|
|
1619
|
+
"component.js"
|
|
1622
1620
|
],
|
|
1623
1621
|
"aliasPermutations": [
|
|
1624
|
-
"force:
|
|
1625
|
-
"
|
|
1626
|
-
"
|
|
1627
|
-
"
|
|
1628
|
-
"force:
|
|
1629
|
-
"
|
|
1630
|
-
"
|
|
1631
|
-
"
|
|
1632
|
-
"force:
|
|
1633
|
-
"
|
|
1634
|
-
"
|
|
1635
|
-
"
|
|
1636
|
-
"force:
|
|
1637
|
-
"
|
|
1638
|
-
"
|
|
1639
|
-
"
|
|
1640
|
-
"force:create:
|
|
1641
|
-
"create:force:
|
|
1642
|
-
"create:
|
|
1643
|
-
"create:
|
|
1644
|
-
"force:create:
|
|
1645
|
-
"create:force:
|
|
1646
|
-
"create:
|
|
1647
|
-
"create:
|
|
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
|
-
"
|
|
1651
|
-
"generate:
|
|
1652
|
-
"generate:
|
|
1653
|
-
"
|
|
1654
|
-
"
|
|
1655
|
-
"
|
|
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
|
-
"
|
|
1656
|
+
"visualforce:generate:page": {
|
|
1659
1657
|
"aliases": [
|
|
1660
|
-
"force:
|
|
1658
|
+
"force:visualforce:page:create"
|
|
1661
1659
|
],
|
|
1662
1660
|
"args": {},
|
|
1663
1661
|
"deprecateAliases": true,
|
|
1664
|
-
"description": "
|
|
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
|
|
1667
|
-
"Similar to
|
|
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
|
-
"
|
|
1685
|
+
"pagename"
|
|
1688
1686
|
],
|
|
1689
1687
|
"char": "n",
|
|
1690
1688
|
"deprecateAliases": true,
|
|
1691
|
-
"description": "
|
|
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
|
|
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": "
|
|
1703
|
+
"default": "DefaultVFPage",
|
|
1705
1704
|
"hasDynamicHelp": false,
|
|
1706
1705
|
"multiple": false,
|
|
1707
1706
|
"options": [
|
|
1708
|
-
"
|
|
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": "
|
|
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
|
|
1763
|
+
"summary": "Generate a Visualforce Page.",
|
|
1764
1764
|
"enableJsonFlag": true,
|
|
1765
1765
|
"isESM": true,
|
|
1766
1766
|
"relativePath": [
|
|
1767
1767
|
"lib",
|
|
1768
1768
|
"commands",
|
|
1769
|
-
"
|
|
1769
|
+
"visualforce",
|
|
1770
1770
|
"generate",
|
|
1771
|
-
"
|
|
1771
|
+
"page.js"
|
|
1772
1772
|
],
|
|
1773
1773
|
"aliasPermutations": [
|
|
1774
|
-
"force:
|
|
1775
|
-
"
|
|
1776
|
-
"
|
|
1777
|
-
"
|
|
1778
|
-
"force:
|
|
1779
|
-
"
|
|
1780
|
-
"
|
|
1781
|
-
"
|
|
1782
|
-
"force:
|
|
1783
|
-
"
|
|
1784
|
-
"
|
|
1785
|
-
"
|
|
1786
|
-
"force:
|
|
1787
|
-
"
|
|
1788
|
-
"
|
|
1789
|
-
"
|
|
1790
|
-
"force:create:
|
|
1791
|
-
"create:force:
|
|
1792
|
-
"create:
|
|
1793
|
-
"create:
|
|
1794
|
-
"force:create:
|
|
1795
|
-
"create:force:
|
|
1796
|
-
"create:
|
|
1797
|
-
"create:
|
|
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
|
-
"
|
|
1801
|
-
"generate:
|
|
1802
|
-
"generate:
|
|
1803
|
-
"
|
|
1804
|
-
"
|
|
1805
|
-
"
|
|
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.
|
|
1809
|
+
"version": "56.3.45"
|
|
1810
1810
|
}
|