@salesforce/plugin-templates 56.3.42 → 56.3.43

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 +354 -354
  3. package/package.json +3 -3
package/README.md CHANGED
@@ -171,7 +171,7 @@ FLAG DESCRIPTIONS
171
171
  directory.
172
172
  ```
173
173
 
174
- _See code: [src/commands/analytics/generate/template.ts](https://github.com/salesforcecli/plugin-templates/blob/56.3.42/src/commands/analytics/generate/template.ts)_
174
+ _See code: [src/commands/analytics/generate/template.ts](https://github.com/salesforcecli/plugin-templates/blob/56.3.43/src/commands/analytics/generate/template.ts)_
175
175
 
176
176
  ## `sf apex generate class`
177
177
 
@@ -230,7 +230,7 @@ FLAG DESCRIPTIONS
230
230
  Supplied parameter values or default values are filled into a copy of the template.
231
231
  ```
232
232
 
233
- _See code: [src/commands/apex/generate/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.3.42/src/commands/apex/generate/class.ts)_
233
+ _See code: [src/commands/apex/generate/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.3.43/src/commands/apex/generate/class.ts)_
234
234
 
235
235
  ## `sf apex generate trigger`
236
236
 
@@ -299,7 +299,7 @@ FLAG DESCRIPTIONS
299
299
  Supplied parameter values or default values are filled into a copy of the template.
300
300
  ```
301
301
 
302
- _See code: [src/commands/apex/generate/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.3.42/src/commands/apex/generate/trigger.ts)_
302
+ _See code: [src/commands/apex/generate/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.3.43/src/commands/apex/generate/trigger.ts)_
303
303
 
304
304
  ## `sf lightning generate app`
305
305
 
@@ -354,7 +354,7 @@ FLAG DESCRIPTIONS
354
354
  Supplied parameter values or default values are filled into a copy of the template.
355
355
  ```
356
356
 
357
- _See code: [src/commands/lightning/generate/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.3.42/src/commands/lightning/generate/app.ts)_
357
+ _See code: [src/commands/lightning/generate/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.3.43/src/commands/lightning/generate/app.ts)_
358
358
 
359
359
  ## `sf lightning generate component`
360
360
 
@@ -423,7 +423,7 @@ FLAG DESCRIPTIONS
423
423
  Supplied parameter values or default values are filled into a copy of the template.
424
424
  ```
425
425
 
426
- _See code: [src/commands/lightning/generate/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.3.42/src/commands/lightning/generate/component.ts)_
426
+ _See code: [src/commands/lightning/generate/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.3.43/src/commands/lightning/generate/component.ts)_
427
427
 
428
428
  ## `sf lightning generate event`
429
429
 
@@ -478,7 +478,7 @@ FLAG DESCRIPTIONS
478
478
  Supplied parameter values or default values are filled into a copy of the template.
479
479
  ```
480
480
 
481
- _See code: [src/commands/lightning/generate/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.3.42/src/commands/lightning/generate/event.ts)_
481
+ _See code: [src/commands/lightning/generate/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.3.43/src/commands/lightning/generate/event.ts)_
482
482
 
483
483
  ## `sf lightning generate interface`
484
484
 
@@ -533,7 +533,7 @@ FLAG DESCRIPTIONS
533
533
  Supplied parameter values or default values are filled into a copy of the template.
534
534
  ```
535
535
 
536
- _See code: [src/commands/lightning/generate/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.3.42/src/commands/lightning/generate/interface.ts)_
536
+ _See code: [src/commands/lightning/generate/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.3.43/src/commands/lightning/generate/interface.ts)_
537
537
 
538
538
  ## `sf lightning generate test`
539
539
 
@@ -588,7 +588,7 @@ FLAG DESCRIPTIONS
588
588
  Supplied parameter values or default values are filled into a copy of the template.
589
589
  ```
590
590
 
591
- _See code: [src/commands/lightning/generate/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.3.42/src/commands/lightning/generate/test.ts)_
591
+ _See code: [src/commands/lightning/generate/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.3.43/src/commands/lightning/generate/test.ts)_
592
592
 
593
593
  ## `sf project generate`
594
594
 
@@ -693,7 +693,7 @@ FLAG DESCRIPTIONS
693
693
  Override the api version used for api requests made by this command
694
694
  ```
695
695
 
696
- _See code: [src/commands/project/generate.ts](https://github.com/salesforcecli/plugin-templates/blob/56.3.42/src/commands/project/generate.ts)_
696
+ _See code: [src/commands/project/generate.ts](https://github.com/salesforcecli/plugin-templates/blob/56.3.43/src/commands/project/generate.ts)_
697
697
 
698
698
  ## `sf static-resource generate`
699
699
 
@@ -755,7 +755,7 @@ FLAG DESCRIPTIONS
755
755
  etc.
756
756
  ```
757
757
 
758
- _See code: [src/commands/static-resource/generate.ts](https://github.com/salesforcecli/plugin-templates/blob/56.3.42/src/commands/static-resource/generate.ts)_
758
+ _See code: [src/commands/static-resource/generate.ts](https://github.com/salesforcecli/plugin-templates/blob/56.3.43/src/commands/static-resource/generate.ts)_
759
759
 
760
760
  ## `sf visualforce generate component`
761
761
 
@@ -811,7 +811,7 @@ FLAG DESCRIPTIONS
811
811
  Supplied parameter values or default values are filled into a copy of the template.
812
812
  ```
813
813
 
814
- _See code: [src/commands/visualforce/generate/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.3.42/src/commands/visualforce/generate/component.ts)_
814
+ _See code: [src/commands/visualforce/generate/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.3.43/src/commands/visualforce/generate/component.ts)_
815
815
 
816
816
  ## `sf visualforce generate page`
817
817
 
@@ -861,6 +861,6 @@ FLAG DESCRIPTIONS
861
861
  The name can be up to 40 characters and must start with a letter.
862
862
  ```
863
863
 
864
- _See code: [src/commands/visualforce/generate/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.3.42/src/commands/visualforce/generate/page.ts)_
864
+ _See code: [src/commands/visualforce/generate/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.3.43/src/commands/visualforce/generate/page.ts)_
865
865
 
866
866
  <!-- commandsstop -->
@@ -736,16 +736,16 @@
736
736
  "trigger:generate:apex"
737
737
  ]
738
738
  },
739
- "lightning:generate:app": {
739
+ "visualforce:generate:component": {
740
740
  "aliases": [
741
- "force:lightning:app:create"
741
+ "force:visualforce:component:create"
742
742
  ],
743
743
  "args": {},
744
744
  "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.",
745
+ "description": "The command generates the .Component file and associated metadata file in the specified directory or the current working directory by default.",
746
746
  "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"
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"
749
749
  ],
750
750
  "flags": {
751
751
  "json": {
@@ -765,14 +765,14 @@
765
765
  },
766
766
  "name": {
767
767
  "aliases": [
768
- "appname"
768
+ "componentname"
769
769
  ],
770
770
  "char": "n",
771
771
  "deprecateAliases": true,
772
772
  "description": "The name can be up to 40 characters and must start with a letter.",
773
773
  "name": "name",
774
774
  "required": true,
775
- "summary": "Name of the generated Lightning App.",
775
+ "summary": "Name of the generated Visualforce Component.",
776
776
  "hasDynamicHelp": false,
777
777
  "multiple": false,
778
778
  "type": "option"
@@ -782,11 +782,11 @@
782
782
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
783
783
  "name": "template",
784
784
  "summary": "Template to use for file creation.",
785
- "default": "DefaultLightningApp",
785
+ "default": "DefaultVFComponent",
786
786
  "hasDynamicHelp": false,
787
787
  "multiple": false,
788
788
  "options": [
789
- "DefaultLightningApp"
789
+ "DefaultVFComponent"
790
790
  ],
791
791
  "type": "option"
792
792
  },
@@ -815,13 +815,14 @@
815
815
  "multiple": false,
816
816
  "type": "option"
817
817
  },
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"
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"
825
826
  },
826
827
  "loglevel": {
827
828
  "deprecated": {
@@ -836,68 +837,66 @@
836
837
  },
837
838
  "hasDynamicHelp": false,
838
839
  "hiddenAliases": [],
839
- "id": "lightning:generate:app",
840
+ "id": "visualforce:generate:component",
840
841
  "pluginAlias": "@salesforce/plugin-templates",
841
842
  "pluginName": "@salesforce/plugin-templates",
842
843
  "pluginType": "core",
843
844
  "strict": true,
844
- "summary": "Generate a Lightning App.",
845
+ "summary": "Generate a Visualforce Component.",
845
846
  "enableJsonFlag": true,
846
847
  "isESM": true,
847
848
  "relativePath": [
848
849
  "lib",
849
850
  "commands",
850
- "lightning",
851
+ "visualforce",
851
852
  "generate",
852
- "app.js"
853
+ "component.js"
853
854
  ],
854
855
  "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"
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"
879
880
  ],
880
881
  "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"
882
+ "visualforce:generate:component",
883
+ "generate:visualforce:component",
884
+ "generate:component:visualforce",
885
+ "visualforce:component:generate",
886
+ "component:visualforce:generate",
887
+ "component:generate:visualforce"
887
888
  ]
888
889
  },
889
- "lightning:generate:component": {
890
+ "visualforce:generate:page": {
890
891
  "aliases": [
891
- "force:lightning:component:create"
892
+ "force:visualforce:page:create"
892
893
  ],
893
894
  "args": {},
894
895
  "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.",
896
+ "description": "The command generates the .Page file and associated metadata file in the specified directory or the current working directory by default.",
896
897
  "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"
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"
901
900
  ],
902
901
  "flags": {
903
902
  "json": {
@@ -917,14 +916,14 @@
917
916
  },
918
917
  "name": {
919
918
  "aliases": [
920
- "componentname"
919
+ "pagename"
921
920
  ],
922
921
  "char": "n",
923
922
  "deprecateAliases": true,
924
923
  "description": "The name can be up to 40 characters and must start with a letter.",
925
924
  "name": "name",
926
925
  "required": true,
927
- "summary": "Name of the generated Lightning Component.",
926
+ "summary": "Name of the generated Visualforce Page.",
928
927
  "hasDynamicHelp": false,
929
928
  "multiple": false,
930
929
  "type": "option"
@@ -932,15 +931,14 @@
932
931
  "template": {
933
932
  "char": "t",
934
933
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
934
+ "hidden": true,
935
935
  "name": "template",
936
936
  "summary": "Template to use for file creation.",
937
- "default": "default",
937
+ "default": "DefaultVFPage",
938
938
  "hasDynamicHelp": false,
939
939
  "multiple": false,
940
940
  "options": [
941
- "default",
942
- "analyticsDashboard",
943
- "analyticsDashboardWithStep"
941
+ "DefaultVFPage"
944
942
  ],
945
943
  "type": "option"
946
944
  },
@@ -969,26 +967,15 @@
969
967
  "multiple": false,
970
968
  "type": "option"
971
969
  },
972
- "type": {
973
- "name": "type",
974
- "summary": "Type of the component bundle.",
975
- "default": "aura",
970
+ "label": {
971
+ "char": "l",
972
+ "name": "label",
973
+ "required": true,
974
+ "summary": "Visualforce Page label.",
976
975
  "hasDynamicHelp": false,
977
976
  "multiple": false,
978
- "options": [
979
- "aura",
980
- "lwc"
981
- ],
982
977
  "type": "option"
983
978
  },
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
979
  "loglevel": {
993
980
  "deprecated": {
994
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."
@@ -1002,66 +989,66 @@
1002
989
  },
1003
990
  "hasDynamicHelp": false,
1004
991
  "hiddenAliases": [],
1005
- "id": "lightning:generate:component",
992
+ "id": "visualforce:generate:page",
1006
993
  "pluginAlias": "@salesforce/plugin-templates",
1007
994
  "pluginName": "@salesforce/plugin-templates",
1008
995
  "pluginType": "core",
1009
996
  "strict": true,
1010
- "summary": "Generate a bundle for an Aura component or a Lightning web component.",
997
+ "summary": "Generate a Visualforce Page.",
1011
998
  "enableJsonFlag": true,
1012
999
  "isESM": true,
1013
1000
  "relativePath": [
1014
1001
  "lib",
1015
1002
  "commands",
1016
- "lightning",
1003
+ "visualforce",
1017
1004
  "generate",
1018
- "component.js"
1005
+ "page.js"
1019
1006
  ],
1020
1007
  "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"
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"
1045
1032
  ],
1046
1033
  "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"
1034
+ "visualforce:generate:page",
1035
+ "generate:visualforce:page",
1036
+ "generate:page:visualforce",
1037
+ "visualforce:page:generate",
1038
+ "page:visualforce:generate",
1039
+ "page:generate:visualforce"
1053
1040
  ]
1054
1041
  },
1055
- "lightning:generate:event": {
1042
+ "lightning:generate:app": {
1056
1043
  "aliases": [
1057
- "force:lightning:event:create"
1044
+ "force:lightning:app:create"
1058
1045
  ],
1059
1046
  "args": {},
1060
1047
  "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.",
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.",
1062
1049
  "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"
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"
1065
1052
  ],
1066
1053
  "flags": {
1067
1054
  "json": {
@@ -1081,14 +1068,14 @@
1081
1068
  },
1082
1069
  "name": {
1083
1070
  "aliases": [
1084
- "eventname"
1071
+ "appname"
1085
1072
  ],
1086
1073
  "char": "n",
1087
1074
  "deprecateAliases": true,
1088
1075
  "description": "The name can be up to 40 characters and must start with a letter.",
1089
1076
  "name": "name",
1090
1077
  "required": true,
1091
- "summary": "Name of the generated Lightning Event.",
1078
+ "summary": "Name of the generated Lightning App.",
1092
1079
  "hasDynamicHelp": false,
1093
1080
  "multiple": false,
1094
1081
  "type": "option"
@@ -1098,11 +1085,11 @@
1098
1085
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
1099
1086
  "name": "template",
1100
1087
  "summary": "Template to use for file creation.",
1101
- "default": "DefaultLightningEvt",
1088
+ "default": "DefaultLightningApp",
1102
1089
  "hasDynamicHelp": false,
1103
1090
  "multiple": false,
1104
1091
  "options": [
1105
- "DefaultLightningEvt"
1092
+ "DefaultLightningApp"
1106
1093
  ],
1107
1094
  "type": "option"
1108
1095
  },
@@ -1152,12 +1139,12 @@
1152
1139
  },
1153
1140
  "hasDynamicHelp": false,
1154
1141
  "hiddenAliases": [],
1155
- "id": "lightning:generate:event",
1142
+ "id": "lightning:generate:app",
1156
1143
  "pluginAlias": "@salesforce/plugin-templates",
1157
1144
  "pluginName": "@salesforce/plugin-templates",
1158
1145
  "pluginType": "core",
1159
1146
  "strict": true,
1160
- "summary": "Generate a Lightning Event.",
1147
+ "summary": "Generate a Lightning App.",
1161
1148
  "enableJsonFlag": true,
1162
1149
  "isESM": true,
1163
1150
  "relativePath": [
@@ -1165,53 +1152,55 @@
1165
1152
  "commands",
1166
1153
  "lightning",
1167
1154
  "generate",
1168
- "event.js"
1155
+ "app.js"
1169
1156
  ],
1170
1157
  "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"
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"
1195
1182
  ],
1196
1183
  "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"
1184
+ "lightning:generate:app",
1185
+ "generate:lightning:app",
1186
+ "generate:app:lightning",
1187
+ "lightning:app:generate",
1188
+ "app:lightning:generate",
1189
+ "app:generate:lightning"
1203
1190
  ]
1204
1191
  },
1205
- "lightning:generate:interface": {
1192
+ "lightning:generate:component": {
1206
1193
  "aliases": [
1207
- "force:lightning:interface:create"
1194
+ "force:lightning:component:create"
1208
1195
  ],
1209
1196
  "args": {},
1210
1197
  "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.",
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.",
1212
1199
  "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"
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"
1215
1204
  ],
1216
1205
  "flags": {
1217
1206
  "json": {
@@ -1231,14 +1220,14 @@
1231
1220
  },
1232
1221
  "name": {
1233
1222
  "aliases": [
1234
- "interfacename"
1223
+ "componentname"
1235
1224
  ],
1236
1225
  "char": "n",
1237
1226
  "deprecateAliases": true,
1238
1227
  "description": "The name can be up to 40 characters and must start with a letter.",
1239
1228
  "name": "name",
1240
1229
  "required": true,
1241
- "summary": "Name of the generated Lightning Interface.",
1230
+ "summary": "Name of the generated Lightning Component.",
1242
1231
  "hasDynamicHelp": false,
1243
1232
  "multiple": false,
1244
1233
  "type": "option"
@@ -1248,11 +1237,13 @@
1248
1237
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
1249
1238
  "name": "template",
1250
1239
  "summary": "Template to use for file creation.",
1251
- "default": "DefaultLightningIntf",
1240
+ "default": "default",
1252
1241
  "hasDynamicHelp": false,
1253
1242
  "multiple": false,
1254
1243
  "options": [
1255
- "DefaultLightningIntf"
1244
+ "default",
1245
+ "analyticsDashboard",
1246
+ "analyticsDashboardWithStep"
1256
1247
  ],
1257
1248
  "type": "option"
1258
1249
  },
@@ -1281,6 +1272,18 @@
1281
1272
  "multiple": false,
1282
1273
  "type": "option"
1283
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
+ },
1284
1287
  "internal": {
1285
1288
  "char": "i",
1286
1289
  "hidden": true,
@@ -1302,12 +1305,12 @@
1302
1305
  },
1303
1306
  "hasDynamicHelp": false,
1304
1307
  "hiddenAliases": [],
1305
- "id": "lightning:generate:interface",
1308
+ "id": "lightning:generate:component",
1306
1309
  "pluginAlias": "@salesforce/plugin-templates",
1307
1310
  "pluginName": "@salesforce/plugin-templates",
1308
1311
  "pluginType": "core",
1309
1312
  "strict": true,
1310
- "summary": "Generate a Lightning Interface.",
1313
+ "summary": "Generate a bundle for an Aura component or a Lightning web component.",
1311
1314
  "enableJsonFlag": true,
1312
1315
  "isESM": true,
1313
1316
  "relativePath": [
@@ -1315,53 +1318,53 @@
1315
1318
  "commands",
1316
1319
  "lightning",
1317
1320
  "generate",
1318
- "interface.js"
1321
+ "component.js"
1319
1322
  ],
1320
1323
  "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"
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"
1345
1348
  ],
1346
1349
  "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"
1350
+ "lightning:generate:component",
1351
+ "generate:lightning:component",
1352
+ "generate:component:lightning",
1353
+ "lightning:component:generate",
1354
+ "component:lightning:generate",
1355
+ "component:generate:lightning"
1353
1356
  ]
1354
1357
  },
1355
- "lightning:generate:test": {
1358
+ "lightning:generate:event": {
1356
1359
  "aliases": [
1357
- "force:lightning:test:create"
1360
+ "force:lightning:event:create"
1358
1361
  ],
1359
1362
  "args": {},
1360
1363
  "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.",
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.",
1362
1365
  "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"
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"
1365
1368
  ],
1366
1369
  "flags": {
1367
1370
  "json": {
@@ -1381,14 +1384,14 @@
1381
1384
  },
1382
1385
  "name": {
1383
1386
  "aliases": [
1384
- "testname"
1387
+ "eventname"
1385
1388
  ],
1386
1389
  "char": "n",
1387
1390
  "deprecateAliases": true,
1388
- "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.",
1389
1392
  "name": "name",
1390
1393
  "required": true,
1391
- "summary": "Name of the generated Lightning Test.",
1394
+ "summary": "Name of the generated Lightning Event.",
1392
1395
  "hasDynamicHelp": false,
1393
1396
  "multiple": false,
1394
1397
  "type": "option"
@@ -1398,11 +1401,11 @@
1398
1401
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
1399
1402
  "name": "template",
1400
1403
  "summary": "Template to use for file creation.",
1401
- "default": "DefaultLightningTest",
1404
+ "default": "DefaultLightningEvt",
1402
1405
  "hasDynamicHelp": false,
1403
1406
  "multiple": false,
1404
1407
  "options": [
1405
- "DefaultLightningTest"
1408
+ "DefaultLightningEvt"
1406
1409
  ],
1407
1410
  "type": "option"
1408
1411
  },
@@ -1420,14 +1423,6 @@
1420
1423
  "multiple": false,
1421
1424
  "type": "option"
1422
1425
  },
1423
- "internal": {
1424
- "char": "i",
1425
- "hidden": true,
1426
- "name": "internal",
1427
- "summary": "Generate lightning bundles without creating a -meta.xml file.",
1428
- "allowNo": false,
1429
- "type": "boolean"
1430
- },
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.42"
1809
+ "version": "56.3.43"
1810
1810
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-templates",
3
3
  "description": "Commands to create metadata from a default or custom template",
4
- "version": "56.3.42",
4
+ "version": "56.3.43",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/salesforcecli/plugin-templates/issues",
7
7
  "dependencies": {
@@ -249,7 +249,7 @@
249
249
  "exports": "./lib/index.js",
250
250
  "type": "module",
251
251
  "sfdx": {
252
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.3.42.crt",
253
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.3.42.sig"
252
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.3.43.crt",
253
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.3.43.sig"
254
254
  }
255
255
  }