@salesforce/plugin-templates 56.3.48 → 56.3.49

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 +490 -490
  3. package/package.json +7 -7
@@ -286,6 +286,133 @@
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
+ },
289
416
  "apex:generate:class": {
290
417
  "aliases": [
291
418
  "force:apex:class:create"
@@ -609,16 +736,16 @@
609
736
  "trigger:generate:apex"
610
737
  ]
611
738
  },
612
- "lightning:generate:app": {
739
+ "visualforce:generate:component": {
613
740
  "aliases": [
614
- "force:lightning:app:create"
741
+ "force:visualforce:component:create"
615
742
  ],
616
743
  "args": {},
617
744
  "deprecateAliases": true,
618
- "description": "Generates a Lightning App bundle in the specified directory or the current working directory. The bundle consists of multiple files in a folder with the designated name.",
745
+ "description": "The command generates the .Component file and associated metadata file in the specified directory or the current working directory by default.",
619
746
  "examples": [
620
- "Generate the metadata files for a Lightning app bundle called \"myapp\" in the current directory:\n<%= config.bin %> <%= command.id %> --name myapp",
621
- "Similar to the previous example, but generate the files in the \"force-app/main/default/aura\" directory:\n<%= config.bin %> <%= command.id %> --name myapp --output-dir force-app/main/default/aura"
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"
622
749
  ],
623
750
  "flags": {
624
751
  "json": {
@@ -638,14 +765,14 @@
638
765
  },
639
766
  "name": {
640
767
  "aliases": [
641
- "appname"
768
+ "componentname"
642
769
  ],
643
770
  "char": "n",
644
771
  "deprecateAliases": true,
645
772
  "description": "The name can be up to 40 characters and must start with a letter.",
646
773
  "name": "name",
647
774
  "required": true,
648
- "summary": "Name of the generated Lightning App.",
775
+ "summary": "Name of the generated Visualforce Component.",
649
776
  "hasDynamicHelp": false,
650
777
  "multiple": false,
651
778
  "type": "option"
@@ -655,11 +782,11 @@
655
782
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
656
783
  "name": "template",
657
784
  "summary": "Template to use for file creation.",
658
- "default": "DefaultLightningApp",
785
+ "default": "DefaultVFComponent",
659
786
  "hasDynamicHelp": false,
660
787
  "multiple": false,
661
788
  "options": [
662
- "DefaultLightningApp"
789
+ "DefaultVFComponent"
663
790
  ],
664
791
  "type": "option"
665
792
  },
@@ -688,13 +815,14 @@
688
815
  "multiple": false,
689
816
  "type": "option"
690
817
  },
691
- "internal": {
692
- "char": "i",
693
- "hidden": true,
694
- "name": "internal",
695
- "summary": "Generate lightning bundles without creating a -meta.xml file.",
696
- "allowNo": false,
697
- "type": "boolean"
818
+ "label": {
819
+ "char": "l",
820
+ "name": "label",
821
+ "required": true,
822
+ "summary": "Visualforce Component label.",
823
+ "hasDynamicHelp": false,
824
+ "multiple": false,
825
+ "type": "option"
698
826
  },
699
827
  "loglevel": {
700
828
  "deprecated": {
@@ -709,68 +837,66 @@
709
837
  },
710
838
  "hasDynamicHelp": false,
711
839
  "hiddenAliases": [],
712
- "id": "lightning:generate:app",
840
+ "id": "visualforce:generate:component",
713
841
  "pluginAlias": "@salesforce/plugin-templates",
714
842
  "pluginName": "@salesforce/plugin-templates",
715
843
  "pluginType": "core",
716
844
  "strict": true,
717
- "summary": "Generate a Lightning App.",
845
+ "summary": "Generate a Visualforce Component.",
718
846
  "enableJsonFlag": true,
719
847
  "isESM": true,
720
848
  "relativePath": [
721
849
  "lib",
722
850
  "commands",
723
- "lightning",
851
+ "visualforce",
724
852
  "generate",
725
- "app.js"
853
+ "component.js"
726
854
  ],
727
855
  "aliasPermutations": [
728
- "force:lightning:app:create",
729
- "lightning:force:app:create",
730
- "lightning:app:force:create",
731
- "lightning:app:create:force",
732
- "force:app:lightning:create",
733
- "app:force:lightning:create",
734
- "app:lightning:force:create",
735
- "app:lightning:create:force",
736
- "force:app:create:lightning",
737
- "app:force:create:lightning",
738
- "app:create:force:lightning",
739
- "app:create:lightning:force",
740
- "force:lightning:create:app",
741
- "lightning:force:create:app",
742
- "lightning:create:force:app",
743
- "lightning:create:app:force",
744
- "force:create:lightning:app",
745
- "create:force:lightning:app",
746
- "create:lightning:force:app",
747
- "create:lightning:app:force",
748
- "force:create:app:lightning",
749
- "create:force:app:lightning",
750
- "create:app:force:lightning",
751
- "create:app:lightning:force"
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"
752
880
  ],
753
881
  "permutations": [
754
- "lightning:generate:app",
755
- "generate:lightning:app",
756
- "generate:app:lightning",
757
- "lightning:app:generate",
758
- "app:lightning:generate",
759
- "app: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"
760
888
  ]
761
889
  },
762
- "lightning:generate:component": {
890
+ "visualforce:generate:page": {
763
891
  "aliases": [
764
- "force:lightning:component:create"
892
+ "force:visualforce:page:create"
765
893
  ],
766
894
  "args": {},
767
895
  "deprecateAliases": true,
768
- "description": "Generates the bundle in the specified directory or the current working directory. The bundle consists of multiple files in a directory with the designated name. Lightning web components are contained in the directory with name \"lwc\", Aura components in \"aura\".\n\nTo generate a Lightning web component, pass \"--type lwc\" to the command. If you don’t specify --type, Salesforce CLI generates an Aura component by default.",
896
+ "description": "The command generates the .Page file and associated metadata file in the specified directory or the current working directory by default.",
769
897
  "examples": [
770
- "Generate the metadata files for an Aura component bundle in the current directory:\n<%= config.bin %> <%= command.id %> --name mycomponent",
771
- "Generate a Lightning web component bundle in the current directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --type lwc",
772
- "Generate an Aura component bundle in the \"force-app/main/default/aura\" directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --output-dir force-app/main/default/aura",
773
- "Generate a Lightning web component bundle in the \"force-app/main/default/lwc\" directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --type lwc --output-dir force-app/main/default/lwc"
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"
774
900
  ],
775
901
  "flags": {
776
902
  "json": {
@@ -790,14 +916,14 @@
790
916
  },
791
917
  "name": {
792
918
  "aliases": [
793
- "componentname"
919
+ "pagename"
794
920
  ],
795
921
  "char": "n",
796
922
  "deprecateAliases": true,
797
923
  "description": "The name can be up to 40 characters and must start with a letter.",
798
924
  "name": "name",
799
925
  "required": true,
800
- "summary": "Name of the generated Lightning Component.",
926
+ "summary": "Name of the generated Visualforce Page.",
801
927
  "hasDynamicHelp": false,
802
928
  "multiple": false,
803
929
  "type": "option"
@@ -805,15 +931,14 @@
805
931
  "template": {
806
932
  "char": "t",
807
933
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
934
+ "hidden": true,
808
935
  "name": "template",
809
936
  "summary": "Template to use for file creation.",
810
- "default": "default",
937
+ "default": "DefaultVFPage",
811
938
  "hasDynamicHelp": false,
812
939
  "multiple": false,
813
940
  "options": [
814
- "default",
815
- "analyticsDashboard",
816
- "analyticsDashboardWithStep"
941
+ "DefaultVFPage"
817
942
  ],
818
943
  "type": "option"
819
944
  },
@@ -842,26 +967,15 @@
842
967
  "multiple": false,
843
968
  "type": "option"
844
969
  },
845
- "type": {
846
- "name": "type",
847
- "summary": "Type of the component bundle.",
848
- "default": "aura",
849
- "hasDynamicHelp": false,
970
+ "label": {
971
+ "char": "l",
972
+ "name": "label",
973
+ "required": true,
974
+ "summary": "Visualforce Page label.",
975
+ "hasDynamicHelp": false,
850
976
  "multiple": false,
851
- "options": [
852
- "aura",
853
- "lwc"
854
- ],
855
977
  "type": "option"
856
978
  },
857
- "internal": {
858
- "char": "i",
859
- "hidden": true,
860
- "name": "internal",
861
- "summary": "Generate lightning bundles without creating a -meta.xml file.",
862
- "allowNo": false,
863
- "type": "boolean"
864
- },
865
979
  "loglevel": {
866
980
  "deprecated": {
867
981
  "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."
@@ -875,66 +989,66 @@
875
989
  },
876
990
  "hasDynamicHelp": false,
877
991
  "hiddenAliases": [],
878
- "id": "lightning:generate:component",
992
+ "id": "visualforce:generate:page",
879
993
  "pluginAlias": "@salesforce/plugin-templates",
880
994
  "pluginName": "@salesforce/plugin-templates",
881
995
  "pluginType": "core",
882
996
  "strict": true,
883
- "summary": "Generate a bundle for an Aura component or a Lightning web component.",
997
+ "summary": "Generate a Visualforce Page.",
884
998
  "enableJsonFlag": true,
885
999
  "isESM": true,
886
1000
  "relativePath": [
887
1001
  "lib",
888
1002
  "commands",
889
- "lightning",
1003
+ "visualforce",
890
1004
  "generate",
891
- "component.js"
1005
+ "page.js"
892
1006
  ],
893
1007
  "aliasPermutations": [
894
- "force:lightning:component:create",
895
- "lightning:force:component:create",
896
- "lightning:component:force:create",
897
- "lightning:component:create:force",
898
- "force:component:lightning:create",
899
- "component:force:lightning:create",
900
- "component:lightning:force:create",
901
- "component:lightning:create:force",
902
- "force:component:create:lightning",
903
- "component:force:create:lightning",
904
- "component:create:force:lightning",
905
- "component:create:lightning:force",
906
- "force:lightning:create:component",
907
- "lightning:force:create:component",
908
- "lightning:create:force:component",
909
- "lightning:create:component:force",
910
- "force:create:lightning:component",
911
- "create:force:lightning:component",
912
- "create:lightning:force:component",
913
- "create:lightning:component:force",
914
- "force:create:component:lightning",
915
- "create:force:component:lightning",
916
- "create:component:force:lightning",
917
- "create:component:lightning:force"
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"
918
1032
  ],
919
1033
  "permutations": [
920
- "lightning:generate:component",
921
- "generate:lightning:component",
922
- "generate:component:lightning",
923
- "lightning:component:generate",
924
- "component:lightning:generate",
925
- "component: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"
926
1040
  ]
927
1041
  },
928
- "lightning:generate:event": {
1042
+ "lightning:generate:app": {
929
1043
  "aliases": [
930
- "force:lightning:event:create"
1044
+ "force:lightning:app:create"
931
1045
  ],
932
1046
  "args": {},
933
1047
  "deprecateAliases": true,
934
- "description": "Generates a Lightning Event bundle in the specified directory or the current working directory. The bundle consists of multiple files in a folder with the designated name.",
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.",
935
1049
  "examples": [
936
- "Generate the metadata files for a Lightning event bundle called \"myevent\" in the current directory:\n<%= config.bin %> <%= command.id %> --name myevent",
937
- "Similar to previous example, but generate the files in the \"force-app/main/default/aura\" directory:\n<%= config.bin %> <%= command.id %> --name myevent --output-dir force-app/main/default/aura"
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"
938
1052
  ],
939
1053
  "flags": {
940
1054
  "json": {
@@ -954,14 +1068,14 @@
954
1068
  },
955
1069
  "name": {
956
1070
  "aliases": [
957
- "eventname"
1071
+ "appname"
958
1072
  ],
959
1073
  "char": "n",
960
1074
  "deprecateAliases": true,
961
1075
  "description": "The name can be up to 40 characters and must start with a letter.",
962
1076
  "name": "name",
963
1077
  "required": true,
964
- "summary": "Name of the generated Lightning Event.",
1078
+ "summary": "Name of the generated Lightning App.",
965
1079
  "hasDynamicHelp": false,
966
1080
  "multiple": false,
967
1081
  "type": "option"
@@ -971,11 +1085,11 @@
971
1085
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
972
1086
  "name": "template",
973
1087
  "summary": "Template to use for file creation.",
974
- "default": "DefaultLightningEvt",
1088
+ "default": "DefaultLightningApp",
975
1089
  "hasDynamicHelp": false,
976
1090
  "multiple": false,
977
1091
  "options": [
978
- "DefaultLightningEvt"
1092
+ "DefaultLightningApp"
979
1093
  ],
980
1094
  "type": "option"
981
1095
  },
@@ -1025,12 +1139,12 @@
1025
1139
  },
1026
1140
  "hasDynamicHelp": false,
1027
1141
  "hiddenAliases": [],
1028
- "id": "lightning:generate:event",
1142
+ "id": "lightning:generate:app",
1029
1143
  "pluginAlias": "@salesforce/plugin-templates",
1030
1144
  "pluginName": "@salesforce/plugin-templates",
1031
1145
  "pluginType": "core",
1032
1146
  "strict": true,
1033
- "summary": "Generate a Lightning Event.",
1147
+ "summary": "Generate a Lightning App.",
1034
1148
  "enableJsonFlag": true,
1035
1149
  "isESM": true,
1036
1150
  "relativePath": [
@@ -1038,53 +1152,55 @@
1038
1152
  "commands",
1039
1153
  "lightning",
1040
1154
  "generate",
1041
- "event.js"
1155
+ "app.js"
1042
1156
  ],
1043
1157
  "aliasPermutations": [
1044
- "force:lightning:event:create",
1045
- "lightning:force:event:create",
1046
- "lightning:event:force:create",
1047
- "lightning:event:create:force",
1048
- "force:event:lightning:create",
1049
- "event:force:lightning:create",
1050
- "event:lightning:force:create",
1051
- "event:lightning:create:force",
1052
- "force:event:create:lightning",
1053
- "event:force:create:lightning",
1054
- "event:create:force:lightning",
1055
- "event:create:lightning:force",
1056
- "force:lightning:create:event",
1057
- "lightning:force:create:event",
1058
- "lightning:create:force:event",
1059
- "lightning:create:event:force",
1060
- "force:create:lightning:event",
1061
- "create:force:lightning:event",
1062
- "create:lightning:force:event",
1063
- "create:lightning:event:force",
1064
- "force:create:event:lightning",
1065
- "create:force:event:lightning",
1066
- "create:event:force:lightning",
1067
- "create:event:lightning:force"
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"
1068
1182
  ],
1069
1183
  "permutations": [
1070
- "lightning:generate:event",
1071
- "generate:lightning:event",
1072
- "generate:event:lightning",
1073
- "lightning:event:generate",
1074
- "event:lightning:generate",
1075
- "event:generate:lightning"
1184
+ "lightning:generate:app",
1185
+ "generate:lightning:app",
1186
+ "generate:app:lightning",
1187
+ "lightning:app:generate",
1188
+ "app:lightning:generate",
1189
+ "app:generate:lightning"
1076
1190
  ]
1077
1191
  },
1078
- "lightning:generate:interface": {
1192
+ "lightning:generate:component": {
1079
1193
  "aliases": [
1080
- "force:lightning:interface:create"
1194
+ "force:lightning:component:create"
1081
1195
  ],
1082
1196
  "args": {},
1083
1197
  "deprecateAliases": true,
1084
- "description": "Generates a Lightning Interface bundle in the specified directory or the current working directory. The bundle consists of multiple files in a folder with the designated name.",
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.",
1085
1199
  "examples": [
1086
- "Generate the metadata files for a Lightning interface bundle called \"myinterface\" in the current directory:\n<%= config.bin %> <%= command.id %> --name myinterface",
1087
- "Similar to the previous example but generate the files in the \"force-app/main/default/aura\" directory:\n<%= config.bin %> <%= command.id %> --name myinterface --output-dir force-app/main/default/aura"
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"
1088
1204
  ],
1089
1205
  "flags": {
1090
1206
  "json": {
@@ -1104,14 +1220,14 @@
1104
1220
  },
1105
1221
  "name": {
1106
1222
  "aliases": [
1107
- "interfacename"
1223
+ "componentname"
1108
1224
  ],
1109
1225
  "char": "n",
1110
1226
  "deprecateAliases": true,
1111
1227
  "description": "The name can be up to 40 characters and must start with a letter.",
1112
1228
  "name": "name",
1113
1229
  "required": true,
1114
- "summary": "Name of the generated Lightning Interface.",
1230
+ "summary": "Name of the generated Lightning Component.",
1115
1231
  "hasDynamicHelp": false,
1116
1232
  "multiple": false,
1117
1233
  "type": "option"
@@ -1121,11 +1237,13 @@
1121
1237
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
1122
1238
  "name": "template",
1123
1239
  "summary": "Template to use for file creation.",
1124
- "default": "DefaultLightningIntf",
1240
+ "default": "default",
1125
1241
  "hasDynamicHelp": false,
1126
1242
  "multiple": false,
1127
1243
  "options": [
1128
- "DefaultLightningIntf"
1244
+ "default",
1245
+ "analyticsDashboard",
1246
+ "analyticsDashboardWithStep"
1129
1247
  ],
1130
1248
  "type": "option"
1131
1249
  },
@@ -1154,6 +1272,18 @@
1154
1272
  "multiple": false,
1155
1273
  "type": "option"
1156
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
+ },
1157
1287
  "internal": {
1158
1288
  "char": "i",
1159
1289
  "hidden": true,
@@ -1175,12 +1305,12 @@
1175
1305
  },
1176
1306
  "hasDynamicHelp": false,
1177
1307
  "hiddenAliases": [],
1178
- "id": "lightning:generate:interface",
1308
+ "id": "lightning:generate:component",
1179
1309
  "pluginAlias": "@salesforce/plugin-templates",
1180
1310
  "pluginName": "@salesforce/plugin-templates",
1181
1311
  "pluginType": "core",
1182
1312
  "strict": true,
1183
- "summary": "Generate a Lightning Interface.",
1313
+ "summary": "Generate a bundle for an Aura component or a Lightning web component.",
1184
1314
  "enableJsonFlag": true,
1185
1315
  "isESM": true,
1186
1316
  "relativePath": [
@@ -1188,55 +1318,55 @@
1188
1318
  "commands",
1189
1319
  "lightning",
1190
1320
  "generate",
1191
- "interface.js"
1321
+ "component.js"
1192
1322
  ],
1193
1323
  "aliasPermutations": [
1194
- "force:lightning:interface:create",
1195
- "lightning:force:interface:create",
1196
- "lightning:interface:force:create",
1197
- "lightning:interface:create:force",
1198
- "force:interface:lightning:create",
1199
- "interface:force:lightning:create",
1200
- "interface:lightning:force:create",
1201
- "interface:lightning:create:force",
1202
- "force:interface:create:lightning",
1203
- "interface:force:create:lightning",
1204
- "interface:create:force:lightning",
1205
- "interface:create:lightning:force",
1206
- "force:lightning:create:interface",
1207
- "lightning:force:create:interface",
1208
- "lightning:create:force:interface",
1209
- "lightning:create:interface:force",
1210
- "force:create:lightning:interface",
1211
- "create:force:lightning:interface",
1212
- "create:lightning:force:interface",
1213
- "create:lightning:interface:force",
1214
- "force:create:interface:lightning",
1215
- "create:force:interface:lightning",
1216
- "create:interface:force:lightning",
1217
- "create:interface:lightning:force"
1218
- ],
1219
- "permutations": [
1220
- "lightning:generate:interface",
1221
- "generate:lightning:interface",
1222
- "generate:interface:lightning",
1223
- "lightning:interface:generate",
1224
- "interface:lightning:generate",
1225
- "interface:generate:lightning"
1226
- ]
1227
- },
1228
- "lightning:generate:test": {
1229
- "aliases": [
1230
- "force:lightning:test:create"
1231
- ],
1232
- "args": {},
1233
- "deprecateAliases": true,
1234
- "description": "Generates the test in the specified directory or the current working directory. The .resource file and associated metadata file are generated.",
1235
- "examples": [
1236
- "Generate the metadata files for the Lightning test called MyLightningTest in the current directory:\n<%= config.bin %> <%= command.id %> --name MyLightningTest",
1237
- "Similar to the previous example but generate the files in the \"force-app/main/default/lightningTests\" directory:\n<%= config.bin %> <%= command.id %> --name MyLightningTest --output-dir force-app/main/default/lightningTests"
1238
- ],
1239
- "flags": {
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": {
1240
1370
  "json": {
1241
1371
  "description": "Format output as json.",
1242
1372
  "helpGroup": "GLOBAL",
@@ -1254,14 +1384,14 @@
1254
1384
  },
1255
1385
  "name": {
1256
1386
  "aliases": [
1257
- "testname"
1387
+ "eventname"
1258
1388
  ],
1259
1389
  "char": "n",
1260
1390
  "deprecateAliases": true,
1261
- "description": "Name of the new Lightning test; can be up to 40 characters and must start with a letter.",
1391
+ "description": "The name can be up to 40 characters and must start with a letter.",
1262
1392
  "name": "name",
1263
1393
  "required": true,
1264
- "summary": "Name of the generated Lightning Test.",
1394
+ "summary": "Name of the generated Lightning Event.",
1265
1395
  "hasDynamicHelp": false,
1266
1396
  "multiple": false,
1267
1397
  "type": "option"
@@ -1271,11 +1401,11 @@
1271
1401
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
1272
1402
  "name": "template",
1273
1403
  "summary": "Template to use for file creation.",
1274
- "default": "DefaultLightningTest",
1404
+ "default": "DefaultLightningEvt",
1275
1405
  "hasDynamicHelp": false,
1276
1406
  "multiple": false,
1277
1407
  "options": [
1278
- "DefaultLightningTest"
1408
+ "DefaultLightningEvt"
1279
1409
  ],
1280
1410
  "type": "option"
1281
1411
  },
@@ -1293,14 +1423,6 @@
1293
1423
  "multiple": false,
1294
1424
  "type": "option"
1295
1425
  },
1296
- "internal": {
1297
- "char": "i",
1298
- "hidden": true,
1299
- "name": "internal",
1300
- "summary": "Generate lightning bundles without creating a -meta.xml file.",
1301
- "allowNo": false,
1302
- "type": "boolean"
1303
- },
1304
1426
  "api-version": {
1305
1427
  "aliases": [
1306
1428
  "apiversion"
@@ -1312,133 +1434,14 @@
1312
1434
  "multiple": false,
1313
1435
  "type": "option"
1314
1436
  },
1315
- "loglevel": {
1316
- "deprecated": {
1317
- "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
1318
- },
1437
+ "internal": {
1438
+ "char": "i",
1319
1439
  "hidden": true,
1320
- "name": "loglevel",
1321
- "hasDynamicHelp": false,
1322
- "multiple": false,
1323
- "type": "option"
1324
- }
1325
- },
1326
- "hasDynamicHelp": false,
1327
- "hiddenAliases": [],
1328
- "id": "lightning:generate:test",
1329
- "pluginAlias": "@salesforce/plugin-templates",
1330
- "pluginName": "@salesforce/plugin-templates",
1331
- "pluginType": "core",
1332
- "strict": true,
1333
- "summary": "Generate a Lightning test.",
1334
- "enableJsonFlag": true,
1335
- "isESM": true,
1336
- "relativePath": [
1337
- "lib",
1338
- "commands",
1339
- "lightning",
1340
- "generate",
1341
- "test.js"
1342
- ],
1343
- "aliasPermutations": [
1344
- "force:lightning:test:create",
1345
- "lightning:force:test:create",
1346
- "lightning:test:force:create",
1347
- "lightning:test:create:force",
1348
- "force:test:lightning:create",
1349
- "test:force:lightning:create",
1350
- "test:lightning:force:create",
1351
- "test:lightning:create:force",
1352
- "force:test:create:lightning",
1353
- "test:force:create:lightning",
1354
- "test:create:force:lightning",
1355
- "test:create:lightning:force",
1356
- "force:lightning:create:test",
1357
- "lightning:force:create:test",
1358
- "lightning:create:force:test",
1359
- "lightning:create:test:force",
1360
- "force:create:lightning:test",
1361
- "create:force:lightning:test",
1362
- "create:lightning:force:test",
1363
- "create:lightning:test:force",
1364
- "force:create:test:lightning",
1365
- "create:force:test:lightning",
1366
- "create:test:force:lightning",
1367
- "create:test:lightning:force"
1368
- ],
1369
- "permutations": [
1370
- "lightning:generate:test",
1371
- "generate:lightning:test",
1372
- "generate:test:lightning",
1373
- "lightning:test:generate",
1374
- "test:lightning:generate",
1375
- "test:generate:lightning"
1376
- ]
1377
- },
1378
- "analytics:generate:template": {
1379
- "aliases": [
1380
- "force:analytics:template:create"
1381
- ],
1382
- "args": {},
1383
- "deprecateAliases": true,
1384
- "description": "The metadata files associated with the Analytics template must be contained in a parent directory called \"waveTemplates\" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to generate one or point to an existing one.",
1385
- "examples": [
1386
- "Generate the metadata files for a simple Analytics template file called myTemplate in the force-app/main/default/waveTemplates directory:\n<%= config.bin %> <%= command.id %> --name myTemplate --output-dir force-app/main/default/waveTemplates"
1387
- ],
1388
- "flags": {
1389
- "json": {
1390
- "description": "Format output as json.",
1391
- "helpGroup": "GLOBAL",
1392
- "name": "json",
1440
+ "name": "internal",
1441
+ "summary": "Generate lightning bundles without creating a -meta.xml file.",
1393
1442
  "allowNo": false,
1394
1443
  "type": "boolean"
1395
1444
  },
1396
- "flags-dir": {
1397
- "helpGroup": "GLOBAL",
1398
- "name": "flags-dir",
1399
- "summary": "Import flag values from a directory.",
1400
- "hasDynamicHelp": false,
1401
- "multiple": false,
1402
- "type": "option"
1403
- },
1404
- "output-dir": {
1405
- "aliases": [
1406
- "outputdir"
1407
- ],
1408
- "char": "d",
1409
- "deprecateAliases": true,
1410
- "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
1411
- "name": "output-dir",
1412
- "summary": "Directory for saving the created files.",
1413
- "default": ".",
1414
- "hasDynamicHelp": false,
1415
- "multiple": false,
1416
- "type": "option"
1417
- },
1418
- "api-version": {
1419
- "aliases": [
1420
- "apiversion"
1421
- ],
1422
- "deprecateAliases": true,
1423
- "description": "Override the api version used for api requests made by this command",
1424
- "name": "api-version",
1425
- "hasDynamicHelp": false,
1426
- "multiple": false,
1427
- "type": "option"
1428
- },
1429
- "name": {
1430
- "aliases": [
1431
- "templatename"
1432
- ],
1433
- "char": "n",
1434
- "deprecateAliases": true,
1435
- "name": "name",
1436
- "required": true,
1437
- "summary": "Name of the Analytics template.",
1438
- "hasDynamicHelp": false,
1439
- "multiple": false,
1440
- "type": "option"
1441
- },
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,66 +1455,66 @@
1452
1455
  },
1453
1456
  "hasDynamicHelp": false,
1454
1457
  "hiddenAliases": [],
1455
- "id": "analytics:generate:template",
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 simple Analytics template.",
1463
+ "summary": "Generate a Lightning Event.",
1461
1464
  "enableJsonFlag": true,
1462
1465
  "isESM": true,
1463
1466
  "relativePath": [
1464
1467
  "lib",
1465
1468
  "commands",
1466
- "analytics",
1469
+ "lightning",
1467
1470
  "generate",
1468
- "template.js"
1471
+ "event.js"
1469
1472
  ],
1470
1473
  "aliasPermutations": [
1471
- "force:analytics:template:create",
1472
- "analytics:force:template:create",
1473
- "analytics:template:force:create",
1474
- "analytics:template:create:force",
1475
- "force:template:analytics:create",
1476
- "template:force:analytics:create",
1477
- "template:analytics:force:create",
1478
- "template:analytics:create:force",
1479
- "force:template:create:analytics",
1480
- "template:force:create:analytics",
1481
- "template:create:force:analytics",
1482
- "template:create:analytics:force",
1483
- "force:analytics:create:template",
1484
- "analytics:force:create:template",
1485
- "analytics:create:force:template",
1486
- "analytics:create:template:force",
1487
- "force:create:analytics:template",
1488
- "create:force:analytics:template",
1489
- "create:analytics:force:template",
1490
- "create:analytics:template:force",
1491
- "force:create:template:analytics",
1492
- "create:force:template:analytics",
1493
- "create:template:force:analytics",
1494
- "create:template:analytics:force"
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
- "analytics:generate:template",
1498
- "generate:analytics:template",
1499
- "generate:template:analytics",
1500
- "analytics:template:generate",
1501
- "template:analytics:generate",
1502
- "template:generate:analytics"
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.48"
1809
+ "version": "56.3.49"
1810
1810
  }