@salesforce/plugin-templates 56.3.45 → 56.3.47

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 +504 -504
  3. package/package.json +8 -8
@@ -286,133 +286,6 @@
286
286
  "generate:static-resource"
287
287
  ]
288
288
  },
289
- "analytics:generate:template": {
290
- "aliases": [
291
- "force:analytics:template:create"
292
- ],
293
- "args": {},
294
- "deprecateAliases": true,
295
- "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.",
296
- "examples": [
297
- "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"
298
- ],
299
- "flags": {
300
- "json": {
301
- "description": "Format output as json.",
302
- "helpGroup": "GLOBAL",
303
- "name": "json",
304
- "allowNo": false,
305
- "type": "boolean"
306
- },
307
- "flags-dir": {
308
- "helpGroup": "GLOBAL",
309
- "name": "flags-dir",
310
- "summary": "Import flag values from a directory.",
311
- "hasDynamicHelp": false,
312
- "multiple": false,
313
- "type": "option"
314
- },
315
- "output-dir": {
316
- "aliases": [
317
- "outputdir"
318
- ],
319
- "char": "d",
320
- "deprecateAliases": true,
321
- "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
322
- "name": "output-dir",
323
- "summary": "Directory for saving the created files.",
324
- "default": ".",
325
- "hasDynamicHelp": false,
326
- "multiple": false,
327
- "type": "option"
328
- },
329
- "api-version": {
330
- "aliases": [
331
- "apiversion"
332
- ],
333
- "deprecateAliases": true,
334
- "description": "Override the api version used for api requests made by this command",
335
- "name": "api-version",
336
- "hasDynamicHelp": false,
337
- "multiple": false,
338
- "type": "option"
339
- },
340
- "name": {
341
- "aliases": [
342
- "templatename"
343
- ],
344
- "char": "n",
345
- "deprecateAliases": true,
346
- "name": "name",
347
- "required": true,
348
- "summary": "Name of the Analytics template.",
349
- "hasDynamicHelp": false,
350
- "multiple": false,
351
- "type": "option"
352
- },
353
- "loglevel": {
354
- "deprecated": {
355
- "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."
356
- },
357
- "hidden": true,
358
- "name": "loglevel",
359
- "hasDynamicHelp": false,
360
- "multiple": false,
361
- "type": "option"
362
- }
363
- },
364
- "hasDynamicHelp": false,
365
- "hiddenAliases": [],
366
- "id": "analytics:generate:template",
367
- "pluginAlias": "@salesforce/plugin-templates",
368
- "pluginName": "@salesforce/plugin-templates",
369
- "pluginType": "core",
370
- "strict": true,
371
- "summary": "Generate a simple Analytics template.",
372
- "enableJsonFlag": true,
373
- "isESM": true,
374
- "relativePath": [
375
- "lib",
376
- "commands",
377
- "analytics",
378
- "generate",
379
- "template.js"
380
- ],
381
- "aliasPermutations": [
382
- "force:analytics:template:create",
383
- "analytics:force:template:create",
384
- "analytics:template:force:create",
385
- "analytics:template:create:force",
386
- "force:template:analytics:create",
387
- "template:force:analytics:create",
388
- "template:analytics:force:create",
389
- "template:analytics:create:force",
390
- "force:template:create:analytics",
391
- "template:force:create:analytics",
392
- "template:create:force:analytics",
393
- "template:create:analytics:force",
394
- "force:analytics:create:template",
395
- "analytics:force:create:template",
396
- "analytics:create:force:template",
397
- "analytics:create:template:force",
398
- "force:create:analytics:template",
399
- "create:force:analytics:template",
400
- "create:analytics:force:template",
401
- "create:analytics:template:force",
402
- "force:create:template:analytics",
403
- "create:force:template:analytics",
404
- "create:template:force:analytics",
405
- "create:template:analytics:force"
406
- ],
407
- "permutations": [
408
- "analytics:generate:template",
409
- "generate:analytics:template",
410
- "generate:template:analytics",
411
- "analytics:template:generate",
412
- "template:analytics:generate",
413
- "template:generate:analytics"
414
- ]
415
- },
416
289
  "apex:generate:class": {
417
290
  "aliases": [
418
291
  "force:apex:class:create"
@@ -736,16 +609,15 @@
736
609
  "trigger:generate:apex"
737
610
  ]
738
611
  },
739
- "lightning:generate:app": {
612
+ "analytics:generate:template": {
740
613
  "aliases": [
741
- "force:lightning:app:create"
614
+ "force:analytics:template:create"
742
615
  ],
743
616
  "args": {},
744
617
  "deprecateAliases": true,
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.",
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.",
746
619
  "examples": [
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"
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"
749
621
  ],
750
622
  "flags": {
751
623
  "json": {
@@ -763,33 +635,6 @@
763
635
  "multiple": false,
764
636
  "type": "option"
765
637
  },
766
- "name": {
767
- "aliases": [
768
- "appname"
769
- ],
770
- "char": "n",
771
- "deprecateAliases": true,
772
- "description": "The name can be up to 40 characters and must start with a letter.",
773
- "name": "name",
774
- "required": true,
775
- "summary": "Name of the generated Lightning App.",
776
- "hasDynamicHelp": false,
777
- "multiple": false,
778
- "type": "option"
779
- },
780
- "template": {
781
- "char": "t",
782
- "description": "Supplied parameter values or default values are filled into a copy of the template.",
783
- "name": "template",
784
- "summary": "Template to use for file creation.",
785
- "default": "DefaultLightningApp",
786
- "hasDynamicHelp": false,
787
- "multiple": false,
788
- "options": [
789
- "DefaultLightningApp"
790
- ],
791
- "type": "option"
792
- },
793
638
  "output-dir": {
794
639
  "aliases": [
795
640
  "outputdir"
@@ -815,13 +660,18 @@
815
660
  "multiple": false,
816
661
  "type": "option"
817
662
  },
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"
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"
825
675
  },
826
676
  "loglevel": {
827
677
  "deprecated": {
@@ -836,68 +686,66 @@
836
686
  },
837
687
  "hasDynamicHelp": false,
838
688
  "hiddenAliases": [],
839
- "id": "lightning:generate:app",
689
+ "id": "analytics:generate:template",
840
690
  "pluginAlias": "@salesforce/plugin-templates",
841
691
  "pluginName": "@salesforce/plugin-templates",
842
692
  "pluginType": "core",
843
693
  "strict": true,
844
- "summary": "Generate a Lightning App.",
694
+ "summary": "Generate a simple Analytics template.",
845
695
  "enableJsonFlag": true,
846
696
  "isESM": true,
847
697
  "relativePath": [
848
698
  "lib",
849
699
  "commands",
850
- "lightning",
700
+ "analytics",
851
701
  "generate",
852
- "app.js"
702
+ "template.js"
853
703
  ],
854
704
  "aliasPermutations": [
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"
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"
879
729
  ],
880
730
  "permutations": [
881
- "lightning:generate:app",
882
- "generate:lightning:app",
883
- "generate:app:lightning",
884
- "lightning:app:generate",
885
- "app:lightning:generate",
886
- "app:generate:lightning"
731
+ "analytics:generate:template",
732
+ "generate:analytics:template",
733
+ "generate:template:analytics",
734
+ "analytics:template:generate",
735
+ "template:analytics:generate",
736
+ "template:generate:analytics"
887
737
  ]
888
738
  },
889
- "lightning:generate:component": {
739
+ "visualforce:generate:component": {
890
740
  "aliases": [
891
- "force:lightning:component:create"
741
+ "force:visualforce:component:create"
892
742
  ],
893
743
  "args": {},
894
744
  "deprecateAliases": true,
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.",
745
+ "description": "The command generates the .Component file and associated metadata file in the specified directory or the current working directory by default.",
896
746
  "examples": [
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"
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"
901
749
  ],
902
750
  "flags": {
903
751
  "json": {
@@ -924,7 +772,7 @@
924
772
  "description": "The name can be up to 40 characters and must start with a letter.",
925
773
  "name": "name",
926
774
  "required": true,
927
- "summary": "Name of the generated Lightning Component.",
775
+ "summary": "Name of the generated Visualforce Component.",
928
776
  "hasDynamicHelp": false,
929
777
  "multiple": false,
930
778
  "type": "option"
@@ -934,13 +782,11 @@
934
782
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
935
783
  "name": "template",
936
784
  "summary": "Template to use for file creation.",
937
- "default": "default",
785
+ "default": "DefaultVFComponent",
938
786
  "hasDynamicHelp": false,
939
787
  "multiple": false,
940
788
  "options": [
941
- "default",
942
- "analyticsDashboard",
943
- "analyticsDashboardWithStep"
789
+ "DefaultVFComponent"
944
790
  ],
945
791
  "type": "option"
946
792
  },
@@ -969,26 +815,15 @@
969
815
  "multiple": false,
970
816
  "type": "option"
971
817
  },
972
- "type": {
973
- "name": "type",
974
- "summary": "Type of the component bundle.",
975
- "default": "aura",
818
+ "label": {
819
+ "char": "l",
820
+ "name": "label",
821
+ "required": true,
822
+ "summary": "Visualforce Component label.",
976
823
  "hasDynamicHelp": false,
977
824
  "multiple": false,
978
- "options": [
979
- "aura",
980
- "lwc"
981
- ],
982
825
  "type": "option"
983
826
  },
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
- },
992
827
  "loglevel": {
993
828
  "deprecated": {
994
829
  "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."
@@ -1002,66 +837,66 @@
1002
837
  },
1003
838
  "hasDynamicHelp": false,
1004
839
  "hiddenAliases": [],
1005
- "id": "lightning:generate:component",
840
+ "id": "visualforce:generate:component",
1006
841
  "pluginAlias": "@salesforce/plugin-templates",
1007
842
  "pluginName": "@salesforce/plugin-templates",
1008
843
  "pluginType": "core",
1009
844
  "strict": true,
1010
- "summary": "Generate a bundle for an Aura component or a Lightning web component.",
845
+ "summary": "Generate a Visualforce Component.",
1011
846
  "enableJsonFlag": true,
1012
847
  "isESM": true,
1013
848
  "relativePath": [
1014
849
  "lib",
1015
850
  "commands",
1016
- "lightning",
851
+ "visualforce",
1017
852
  "generate",
1018
853
  "component.js"
1019
854
  ],
1020
855
  "aliasPermutations": [
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"
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"
1045
880
  ],
1046
881
  "permutations": [
1047
- "lightning:generate:component",
1048
- "generate:lightning:component",
1049
- "generate:component:lightning",
1050
- "lightning:component:generate",
1051
- "component:lightning:generate",
1052
- "component:generate:lightning"
882
+ "visualforce:generate:component",
883
+ "generate:visualforce:component",
884
+ "generate:component:visualforce",
885
+ "visualforce:component:generate",
886
+ "component:visualforce:generate",
887
+ "component:generate:visualforce"
1053
888
  ]
1054
889
  },
1055
- "lightning:generate:event": {
890
+ "visualforce:generate:page": {
1056
891
  "aliases": [
1057
- "force:lightning:event:create"
892
+ "force:visualforce:page:create"
1058
893
  ],
1059
894
  "args": {},
1060
895
  "deprecateAliases": true,
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.",
896
+ "description": "The command generates the .Page file and associated metadata file in the specified directory or the current working directory by default.",
1062
897
  "examples": [
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"
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"
1065
900
  ],
1066
901
  "flags": {
1067
902
  "json": {
@@ -1081,14 +916,14 @@
1081
916
  },
1082
917
  "name": {
1083
918
  "aliases": [
1084
- "eventname"
919
+ "pagename"
1085
920
  ],
1086
921
  "char": "n",
1087
922
  "deprecateAliases": true,
1088
923
  "description": "The name can be up to 40 characters and must start with a letter.",
1089
924
  "name": "name",
1090
925
  "required": true,
1091
- "summary": "Name of the generated Lightning Event.",
926
+ "summary": "Name of the generated Visualforce Page.",
1092
927
  "hasDynamicHelp": false,
1093
928
  "multiple": false,
1094
929
  "type": "option"
@@ -1096,13 +931,14 @@
1096
931
  "template": {
1097
932
  "char": "t",
1098
933
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
934
+ "hidden": true,
1099
935
  "name": "template",
1100
936
  "summary": "Template to use for file creation.",
1101
- "default": "DefaultLightningEvt",
937
+ "default": "DefaultVFPage",
1102
938
  "hasDynamicHelp": false,
1103
939
  "multiple": false,
1104
940
  "options": [
1105
- "DefaultLightningEvt"
941
+ "DefaultVFPage"
1106
942
  ],
1107
943
  "type": "option"
1108
944
  },
@@ -1131,13 +967,14 @@
1131
967
  "multiple": false,
1132
968
  "type": "option"
1133
969
  },
1134
- "internal": {
1135
- "char": "i",
1136
- "hidden": true,
1137
- "name": "internal",
1138
- "summary": "Generate lightning bundles without creating a -meta.xml file.",
1139
- "allowNo": false,
1140
- "type": "boolean"
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"
1141
978
  },
1142
979
  "loglevel": {
1143
980
  "deprecated": {
@@ -1152,66 +989,66 @@
1152
989
  },
1153
990
  "hasDynamicHelp": false,
1154
991
  "hiddenAliases": [],
1155
- "id": "lightning:generate:event",
992
+ "id": "visualforce:generate:page",
1156
993
  "pluginAlias": "@salesforce/plugin-templates",
1157
994
  "pluginName": "@salesforce/plugin-templates",
1158
995
  "pluginType": "core",
1159
996
  "strict": true,
1160
- "summary": "Generate a Lightning Event.",
997
+ "summary": "Generate a Visualforce Page.",
1161
998
  "enableJsonFlag": true,
1162
999
  "isESM": true,
1163
1000
  "relativePath": [
1164
1001
  "lib",
1165
1002
  "commands",
1166
- "lightning",
1003
+ "visualforce",
1167
1004
  "generate",
1168
- "event.js"
1005
+ "page.js"
1169
1006
  ],
1170
1007
  "aliasPermutations": [
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"
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"
1195
1032
  ],
1196
1033
  "permutations": [
1197
- "lightning:generate:event",
1198
- "generate:lightning:event",
1199
- "generate:event:lightning",
1200
- "lightning:event:generate",
1201
- "event:lightning:generate",
1202
- "event:generate:lightning"
1034
+ "visualforce:generate:page",
1035
+ "generate:visualforce:page",
1036
+ "generate:page:visualforce",
1037
+ "visualforce:page:generate",
1038
+ "page:visualforce:generate",
1039
+ "page:generate:visualforce"
1203
1040
  ]
1204
1041
  },
1205
- "lightning:generate:interface": {
1042
+ "lightning:generate:app": {
1206
1043
  "aliases": [
1207
- "force:lightning:interface:create"
1044
+ "force:lightning:app:create"
1208
1045
  ],
1209
1046
  "args": {},
1210
1047
  "deprecateAliases": true,
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.",
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.",
1212
1049
  "examples": [
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"
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"
1215
1052
  ],
1216
1053
  "flags": {
1217
1054
  "json": {
@@ -1231,14 +1068,14 @@
1231
1068
  },
1232
1069
  "name": {
1233
1070
  "aliases": [
1234
- "interfacename"
1071
+ "appname"
1235
1072
  ],
1236
1073
  "char": "n",
1237
1074
  "deprecateAliases": true,
1238
1075
  "description": "The name can be up to 40 characters and must start with a letter.",
1239
1076
  "name": "name",
1240
1077
  "required": true,
1241
- "summary": "Name of the generated Lightning Interface.",
1078
+ "summary": "Name of the generated Lightning App.",
1242
1079
  "hasDynamicHelp": false,
1243
1080
  "multiple": false,
1244
1081
  "type": "option"
@@ -1248,11 +1085,11 @@
1248
1085
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
1249
1086
  "name": "template",
1250
1087
  "summary": "Template to use for file creation.",
1251
- "default": "DefaultLightningIntf",
1088
+ "default": "DefaultLightningApp",
1252
1089
  "hasDynamicHelp": false,
1253
1090
  "multiple": false,
1254
1091
  "options": [
1255
- "DefaultLightningIntf"
1092
+ "DefaultLightningApp"
1256
1093
  ],
1257
1094
  "type": "option"
1258
1095
  },
@@ -1302,12 +1139,12 @@
1302
1139
  },
1303
1140
  "hasDynamicHelp": false,
1304
1141
  "hiddenAliases": [],
1305
- "id": "lightning:generate:interface",
1142
+ "id": "lightning:generate:app",
1306
1143
  "pluginAlias": "@salesforce/plugin-templates",
1307
1144
  "pluginName": "@salesforce/plugin-templates",
1308
1145
  "pluginType": "core",
1309
1146
  "strict": true,
1310
- "summary": "Generate a Lightning Interface.",
1147
+ "summary": "Generate a Lightning App.",
1311
1148
  "enableJsonFlag": true,
1312
1149
  "isESM": true,
1313
1150
  "relativePath": [
@@ -1315,53 +1152,55 @@
1315
1152
  "commands",
1316
1153
  "lightning",
1317
1154
  "generate",
1318
- "interface.js"
1155
+ "app.js"
1319
1156
  ],
1320
1157
  "aliasPermutations": [
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"
1345
- ],
1346
- "permutations": [
1347
- "lightning:generate:interface",
1348
- "generate:lightning:interface",
1349
- "generate:interface:lightning",
1350
- "lightning:interface:generate",
1351
- "interface:lightning:generate",
1352
- "interface:generate:lightning"
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"
1182
+ ],
1183
+ "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"
1353
1190
  ]
1354
1191
  },
1355
- "lightning:generate:test": {
1192
+ "lightning:generate:component": {
1356
1193
  "aliases": [
1357
- "force:lightning:test:create"
1194
+ "force:lightning:component:create"
1358
1195
  ],
1359
1196
  "args": {},
1360
1197
  "deprecateAliases": true,
1361
- "description": "Generates the test in the specified directory or the current working directory. The .resource file and associated metadata file are generated.",
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.",
1362
1199
  "examples": [
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"
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"
1365
1204
  ],
1366
1205
  "flags": {
1367
1206
  "json": {
@@ -1381,14 +1220,14 @@
1381
1220
  },
1382
1221
  "name": {
1383
1222
  "aliases": [
1384
- "testname"
1223
+ "componentname"
1385
1224
  ],
1386
1225
  "char": "n",
1387
1226
  "deprecateAliases": true,
1388
- "description": "Name of the new Lightning test; can be up to 40 characters and must start with a letter.",
1227
+ "description": "The name can be up to 40 characters and must start with a letter.",
1389
1228
  "name": "name",
1390
1229
  "required": true,
1391
- "summary": "Name of the generated Lightning Test.",
1230
+ "summary": "Name of the generated Lightning Component.",
1392
1231
  "hasDynamicHelp": false,
1393
1232
  "multiple": false,
1394
1233
  "type": "option"
@@ -1398,11 +1237,13 @@
1398
1237
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
1399
1238
  "name": "template",
1400
1239
  "summary": "Template to use for file creation.",
1401
- "default": "DefaultLightningTest",
1240
+ "default": "default",
1402
1241
  "hasDynamicHelp": false,
1403
1242
  "multiple": false,
1404
1243
  "options": [
1405
- "DefaultLightningTest"
1244
+ "default",
1245
+ "analyticsDashboard",
1246
+ "analyticsDashboardWithStep"
1406
1247
  ],
1407
1248
  "type": "option"
1408
1249
  },
@@ -1420,6 +1261,29 @@
1420
1261
  "multiple": false,
1421
1262
  "type": "option"
1422
1263
  },
1264
+ "api-version": {
1265
+ "aliases": [
1266
+ "apiversion"
1267
+ ],
1268
+ "deprecateAliases": true,
1269
+ "description": "Override the api version used for api requests made by this command",
1270
+ "name": "api-version",
1271
+ "hasDynamicHelp": false,
1272
+ "multiple": false,
1273
+ "type": "option"
1274
+ },
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
+ },
1423
1287
  "internal": {
1424
1288
  "char": "i",
1425
1289
  "hidden": true,
@@ -1428,6 +1292,137 @@
1428
1292
  "allowNo": false,
1429
1293
  "type": "boolean"
1430
1294
  },
1295
+ "loglevel": {
1296
+ "deprecated": {
1297
+ "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."
1298
+ },
1299
+ "hidden": true,
1300
+ "name": "loglevel",
1301
+ "hasDynamicHelp": false,
1302
+ "multiple": false,
1303
+ "type": "option"
1304
+ }
1305
+ },
1306
+ "hasDynamicHelp": false,
1307
+ "hiddenAliases": [],
1308
+ "id": "lightning:generate:component",
1309
+ "pluginAlias": "@salesforce/plugin-templates",
1310
+ "pluginName": "@salesforce/plugin-templates",
1311
+ "pluginType": "core",
1312
+ "strict": true,
1313
+ "summary": "Generate a bundle for an Aura component or a Lightning web component.",
1314
+ "enableJsonFlag": true,
1315
+ "isESM": true,
1316
+ "relativePath": [
1317
+ "lib",
1318
+ "commands",
1319
+ "lightning",
1320
+ "generate",
1321
+ "component.js"
1322
+ ],
1323
+ "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
+ ],
1362
+ "args": {},
1363
+ "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.",
1365
+ "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"
1368
+ ],
1369
+ "flags": {
1370
+ "json": {
1371
+ "description": "Format output as json.",
1372
+ "helpGroup": "GLOBAL",
1373
+ "name": "json",
1374
+ "allowNo": false,
1375
+ "type": "boolean"
1376
+ },
1377
+ "flags-dir": {
1378
+ "helpGroup": "GLOBAL",
1379
+ "name": "flags-dir",
1380
+ "summary": "Import flag values from a directory.",
1381
+ "hasDynamicHelp": false,
1382
+ "multiple": false,
1383
+ "type": "option"
1384
+ },
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
+ "output-dir": {
1413
+ "aliases": [
1414
+ "outputdir"
1415
+ ],
1416
+ "char": "d",
1417
+ "deprecateAliases": true,
1418
+ "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
1419
+ "name": "output-dir",
1420
+ "summary": "Directory for saving the created files.",
1421
+ "default": ".",
1422
+ "hasDynamicHelp": false,
1423
+ "multiple": false,
1424
+ "type": "option"
1425
+ },
1431
1426
  "api-version": {
1432
1427
  "aliases": [
1433
1428
  "apiversion"
@@ -1439,6 +1434,14 @@
1439
1434
  "multiple": false,
1440
1435
  "type": "option"
1441
1436
  },
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
+ },
1442
1445
  "loglevel": {
1443
1446
  "deprecated": {
1444
1447
  "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."
@@ -1452,12 +1455,12 @@
1452
1455
  },
1453
1456
  "hasDynamicHelp": false,
1454
1457
  "hiddenAliases": [],
1455
- "id": "lightning:generate:test",
1458
+ "id": "lightning:generate:event",
1456
1459
  "pluginAlias": "@salesforce/plugin-templates",
1457
1460
  "pluginName": "@salesforce/plugin-templates",
1458
1461
  "pluginType": "core",
1459
1462
  "strict": true,
1460
- "summary": "Generate a Lightning test.",
1463
+ "summary": "Generate a Lightning Event.",
1461
1464
  "enableJsonFlag": true,
1462
1465
  "isESM": true,
1463
1466
  "relativePath": [
@@ -1465,53 +1468,53 @@
1465
1468
  "commands",
1466
1469
  "lightning",
1467
1470
  "generate",
1468
- "test.js"
1471
+ "event.js"
1469
1472
  ],
1470
1473
  "aliasPermutations": [
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"
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"
1495
1498
  ],
1496
1499
  "permutations": [
1497
- "lightning:generate:test",
1498
- "generate:lightning:test",
1499
- "generate:test:lightning",
1500
- "lightning:test:generate",
1501
- "test:lightning:generate",
1502
- "test:generate:lightning"
1500
+ "lightning:generate:event",
1501
+ "generate:lightning:event",
1502
+ "generate:event:lightning",
1503
+ "lightning:event:generate",
1504
+ "event:lightning:generate",
1505
+ "event:generate:lightning"
1503
1506
  ]
1504
1507
  },
1505
- "visualforce:generate:component": {
1508
+ "lightning:generate:interface": {
1506
1509
  "aliases": [
1507
- "force:visualforce:component:create"
1510
+ "force:lightning:interface:create"
1508
1511
  ],
1509
1512
  "args": {},
1510
1513
  "deprecateAliases": true,
1511
- "description": "The command generates the .Component file and associated metadata file in the specified directory or the current working directory by default.",
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.",
1512
1515
  "examples": [
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"
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"
1515
1518
  ],
1516
1519
  "flags": {
1517
1520
  "json": {
@@ -1531,14 +1534,14 @@
1531
1534
  },
1532
1535
  "name": {
1533
1536
  "aliases": [
1534
- "componentname"
1537
+ "interfacename"
1535
1538
  ],
1536
1539
  "char": "n",
1537
1540
  "deprecateAliases": true,
1538
1541
  "description": "The name can be up to 40 characters and must start with a letter.",
1539
1542
  "name": "name",
1540
1543
  "required": true,
1541
- "summary": "Name of the generated Visualforce Component.",
1544
+ "summary": "Name of the generated Lightning Interface.",
1542
1545
  "hasDynamicHelp": false,
1543
1546
  "multiple": false,
1544
1547
  "type": "option"
@@ -1548,11 +1551,11 @@
1548
1551
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
1549
1552
  "name": "template",
1550
1553
  "summary": "Template to use for file creation.",
1551
- "default": "DefaultVFComponent",
1554
+ "default": "DefaultLightningIntf",
1552
1555
  "hasDynamicHelp": false,
1553
1556
  "multiple": false,
1554
1557
  "options": [
1555
- "DefaultVFComponent"
1558
+ "DefaultLightningIntf"
1556
1559
  ],
1557
1560
  "type": "option"
1558
1561
  },
@@ -1581,14 +1584,13 @@
1581
1584
  "multiple": false,
1582
1585
  "type": "option"
1583
1586
  },
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"
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"
1592
1594
  },
1593
1595
  "loglevel": {
1594
1596
  "deprecated": {
@@ -1603,66 +1605,66 @@
1603
1605
  },
1604
1606
  "hasDynamicHelp": false,
1605
1607
  "hiddenAliases": [],
1606
- "id": "visualforce:generate:component",
1608
+ "id": "lightning:generate:interface",
1607
1609
  "pluginAlias": "@salesforce/plugin-templates",
1608
1610
  "pluginName": "@salesforce/plugin-templates",
1609
1611
  "pluginType": "core",
1610
1612
  "strict": true,
1611
- "summary": "Generate a Visualforce Component.",
1613
+ "summary": "Generate a Lightning Interface.",
1612
1614
  "enableJsonFlag": true,
1613
1615
  "isESM": true,
1614
1616
  "relativePath": [
1615
1617
  "lib",
1616
1618
  "commands",
1617
- "visualforce",
1619
+ "lightning",
1618
1620
  "generate",
1619
- "component.js"
1621
+ "interface.js"
1620
1622
  ],
1621
1623
  "aliasPermutations": [
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"
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"
1646
1648
  ],
1647
1649
  "permutations": [
1648
- "visualforce:generate:component",
1649
- "generate:visualforce:component",
1650
- "generate:component:visualforce",
1651
- "visualforce:component:generate",
1652
- "component:visualforce:generate",
1653
- "component:generate:visualforce"
1650
+ "lightning:generate:interface",
1651
+ "generate:lightning:interface",
1652
+ "generate:interface:lightning",
1653
+ "lightning:interface:generate",
1654
+ "interface:lightning:generate",
1655
+ "interface:generate:lightning"
1654
1656
  ]
1655
1657
  },
1656
- "visualforce:generate:page": {
1658
+ "lightning:generate:test": {
1657
1659
  "aliases": [
1658
- "force:visualforce:page:create"
1660
+ "force:lightning:test:create"
1659
1661
  ],
1660
1662
  "args": {},
1661
1663
  "deprecateAliases": true,
1662
- "description": "The command generates the .Page file and associated metadata file in the specified directory or the current working directory by default.",
1664
+ "description": "Generates the test in the specified directory or the current working directory. The .resource file and associated metadata file are generated.",
1663
1665
  "examples": [
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"
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"
1666
1668
  ],
1667
1669
  "flags": {
1668
1670
  "json": {
@@ -1682,14 +1684,14 @@
1682
1684
  },
1683
1685
  "name": {
1684
1686
  "aliases": [
1685
- "pagename"
1687
+ "testname"
1686
1688
  ],
1687
1689
  "char": "n",
1688
1690
  "deprecateAliases": true,
1689
- "description": "The name can be up to 40 characters and must start with a letter.",
1691
+ "description": "Name of the new Lightning test; can be up to 40 characters and must start with a letter.",
1690
1692
  "name": "name",
1691
1693
  "required": true,
1692
- "summary": "Name of the generated Visualforce Page.",
1694
+ "summary": "Name of the generated Lightning Test.",
1693
1695
  "hasDynamicHelp": false,
1694
1696
  "multiple": false,
1695
1697
  "type": "option"
@@ -1697,14 +1699,13 @@
1697
1699
  "template": {
1698
1700
  "char": "t",
1699
1701
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
1700
- "hidden": true,
1701
1702
  "name": "template",
1702
1703
  "summary": "Template to use for file creation.",
1703
- "default": "DefaultVFPage",
1704
+ "default": "DefaultLightningTest",
1704
1705
  "hasDynamicHelp": false,
1705
1706
  "multiple": false,
1706
1707
  "options": [
1707
- "DefaultVFPage"
1708
+ "DefaultLightningTest"
1708
1709
  ],
1709
1710
  "type": "option"
1710
1711
  },
@@ -1722,6 +1723,14 @@
1722
1723
  "multiple": false,
1723
1724
  "type": "option"
1724
1725
  },
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
+ },
1725
1734
  "api-version": {
1726
1735
  "aliases": [
1727
1736
  "apiversion"
@@ -1733,15 +1742,6 @@
1733
1742
  "multiple": false,
1734
1743
  "type": "option"
1735
1744
  },
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": "visualforce:generate:page",
1758
+ "id": "lightning:generate:test",
1759
1759
  "pluginAlias": "@salesforce/plugin-templates",
1760
1760
  "pluginName": "@salesforce/plugin-templates",
1761
1761
  "pluginType": "core",
1762
1762
  "strict": true,
1763
- "summary": "Generate a Visualforce Page.",
1763
+ "summary": "Generate a Lightning test.",
1764
1764
  "enableJsonFlag": true,
1765
1765
  "isESM": true,
1766
1766
  "relativePath": [
1767
1767
  "lib",
1768
1768
  "commands",
1769
- "visualforce",
1769
+ "lightning",
1770
1770
  "generate",
1771
- "page.js"
1771
+ "test.js"
1772
1772
  ],
1773
1773
  "aliasPermutations": [
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"
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"
1798
1798
  ],
1799
1799
  "permutations": [
1800
- "visualforce:generate:page",
1801
- "generate:visualforce:page",
1802
- "generate:page:visualforce",
1803
- "visualforce:page:generate",
1804
- "page:visualforce:generate",
1805
- "page:generate:visualforce"
1800
+ "lightning:generate:test",
1801
+ "generate:lightning:test",
1802
+ "generate:test:lightning",
1803
+ "lightning:test:generate",
1804
+ "test:lightning:generate",
1805
+ "test:generate:lightning"
1806
1806
  ]
1807
1807
  }
1808
1808
  },
1809
- "version": "56.3.45"
1809
+ "version": "56.3.47"
1810
1810
  }