@salesforce/plugin-templates 56.3.52 → 56.3.53

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 +646 -646
  3. package/package.json +6 -6
@@ -1,125 +1,5 @@
1
1
  {
2
2
  "commands": {
3
- "static-resource:generate": {
4
- "aliases": [
5
- "force:staticresource:create"
6
- ],
7
- "args": {},
8
- "deprecateAliases": true,
9
- "description": "Generates the metadata resource file in the specified directory or the current working directory. Static resource files must be contained in a parent directory called \"staticresources\" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to create one or point to an existing one.",
10
- "examples": [
11
- "Generate the metadata file for a static resource called MyResource in the current directory:\n<%= config.bin %> <%= command.id %> --name MyResource",
12
- "Similar to previous example, but specifies a MIME type of application/json:\n<%= config.bin %> <%= command.id %> --name MyResource --type application/json",
13
- "Generate the resource file in the \"force-app/main/default/staticresources\" directory:\n<%= config.bin %> <%= command.id %> --name MyResource --output-dir force-app/main/default/staticresources"
14
- ],
15
- "flags": {
16
- "json": {
17
- "description": "Format output as json.",
18
- "helpGroup": "GLOBAL",
19
- "name": "json",
20
- "allowNo": false,
21
- "type": "boolean"
22
- },
23
- "flags-dir": {
24
- "helpGroup": "GLOBAL",
25
- "name": "flags-dir",
26
- "summary": "Import flag values from a directory.",
27
- "hasDynamicHelp": false,
28
- "multiple": false,
29
- "type": "option"
30
- },
31
- "name": {
32
- "aliases": [
33
- "resourcename"
34
- ],
35
- "char": "n",
36
- "deprecateAliases": true,
37
- "description": "This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores.",
38
- "name": "name",
39
- "required": true,
40
- "summary": "Name of the generated static resource.",
41
- "hasDynamicHelp": false,
42
- "multiple": false,
43
- "type": "option"
44
- },
45
- "type": {
46
- "aliases": [
47
- "contenttype"
48
- ],
49
- "deprecateAliases": true,
50
- "description": "Must be a valid MIME type such as application/json, application/javascript, application/zip, text/plain, text/css, etc.",
51
- "name": "type",
52
- "summary": "Content type (mime type) of the generated static resource.",
53
- "default": "application/zip",
54
- "hasDynamicHelp": false,
55
- "multiple": false,
56
- "type": "option"
57
- },
58
- "output-dir": {
59
- "aliases": [
60
- "outputdir"
61
- ],
62
- "char": "d",
63
- "deprecateAliases": true,
64
- "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
65
- "name": "output-dir",
66
- "summary": "Directory for saving the created files.",
67
- "default": ".",
68
- "hasDynamicHelp": false,
69
- "multiple": false,
70
- "type": "option"
71
- },
72
- "api-version": {
73
- "aliases": [
74
- "apiversion"
75
- ],
76
- "deprecateAliases": true,
77
- "description": "Override the api version used for api requests made by this command",
78
- "name": "api-version",
79
- "hasDynamicHelp": false,
80
- "multiple": false,
81
- "type": "option"
82
- },
83
- "loglevel": {
84
- "deprecated": {
85
- "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."
86
- },
87
- "hidden": true,
88
- "name": "loglevel",
89
- "hasDynamicHelp": false,
90
- "multiple": false,
91
- "type": "option"
92
- }
93
- },
94
- "hasDynamicHelp": false,
95
- "hiddenAliases": [],
96
- "id": "static-resource:generate",
97
- "pluginAlias": "@salesforce/plugin-templates",
98
- "pluginName": "@salesforce/plugin-templates",
99
- "pluginType": "core",
100
- "strict": true,
101
- "summary": "Generate a static resource.",
102
- "enableJsonFlag": true,
103
- "isESM": true,
104
- "relativePath": [
105
- "lib",
106
- "commands",
107
- "static-resource",
108
- "generate.js"
109
- ],
110
- "aliasPermutations": [
111
- "force:staticresource:create",
112
- "staticresource:force:create",
113
- "staticresource:create:force",
114
- "force:create:staticresource",
115
- "create:force:staticresource",
116
- "create:staticresource:force"
117
- ],
118
- "permutations": [
119
- "static-resource:generate",
120
- "generate:static-resource"
121
- ]
122
- },
123
3
  "project:generate": {
124
4
  "aliases": [
125
5
  "force:project:create"
@@ -286,15 +166,17 @@
286
166
  "generate:project"
287
167
  ]
288
168
  },
289
- "analytics:generate:template": {
169
+ "static-resource:generate": {
290
170
  "aliases": [
291
- "force:analytics:template:create"
171
+ "force:staticresource:create"
292
172
  ],
293
173
  "args": {},
294
174
  "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.",
175
+ "description": "Generates the metadata resource file in the specified directory or the current working directory. Static resource files must be contained in a parent directory called \"staticresources\" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to create one or point to an existing one.",
296
176
  "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"
177
+ "Generate the metadata file for a static resource called MyResource in the current directory:\n<%= config.bin %> <%= command.id %> --name MyResource",
178
+ "Similar to previous example, but specifies a MIME type of application/json:\n<%= config.bin %> <%= command.id %> --name MyResource --type application/json",
179
+ "Generate the resource file in the \"force-app/main/default/staticresources\" directory:\n<%= config.bin %> <%= command.id %> --name MyResource --output-dir force-app/main/default/staticresources"
298
180
  ],
299
181
  "flags": {
300
182
  "json": {
@@ -312,6 +194,33 @@
312
194
  "multiple": false,
313
195
  "type": "option"
314
196
  },
197
+ "name": {
198
+ "aliases": [
199
+ "resourcename"
200
+ ],
201
+ "char": "n",
202
+ "deprecateAliases": true,
203
+ "description": "This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores.",
204
+ "name": "name",
205
+ "required": true,
206
+ "summary": "Name of the generated static resource.",
207
+ "hasDynamicHelp": false,
208
+ "multiple": false,
209
+ "type": "option"
210
+ },
211
+ "type": {
212
+ "aliases": [
213
+ "contenttype"
214
+ ],
215
+ "deprecateAliases": true,
216
+ "description": "Must be a valid MIME type such as application/json, application/javascript, application/zip, text/plain, text/css, etc.",
217
+ "name": "type",
218
+ "summary": "Content type (mime type) of the generated static resource.",
219
+ "default": "application/zip",
220
+ "hasDynamicHelp": false,
221
+ "multiple": false,
222
+ "type": "option"
223
+ },
315
224
  "output-dir": {
316
225
  "aliases": [
317
226
  "outputdir"
@@ -337,19 +246,6 @@
337
246
  "multiple": false,
338
247
  "type": "option"
339
248
  },
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
249
  "loglevel": {
354
250
  "deprecated": {
355
251
  "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."
@@ -363,66 +259,43 @@
363
259
  },
364
260
  "hasDynamicHelp": false,
365
261
  "hiddenAliases": [],
366
- "id": "analytics:generate:template",
262
+ "id": "static-resource:generate",
367
263
  "pluginAlias": "@salesforce/plugin-templates",
368
264
  "pluginName": "@salesforce/plugin-templates",
369
265
  "pluginType": "core",
370
266
  "strict": true,
371
- "summary": "Generate a simple Analytics template.",
267
+ "summary": "Generate a static resource.",
372
268
  "enableJsonFlag": true,
373
269
  "isESM": true,
374
270
  "relativePath": [
375
271
  "lib",
376
272
  "commands",
377
- "analytics",
378
- "generate",
379
- "template.js"
273
+ "static-resource",
274
+ "generate.js"
380
275
  ],
381
276
  "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"
277
+ "force:staticresource:create",
278
+ "staticresource:force:create",
279
+ "staticresource:create:force",
280
+ "force:create:staticresource",
281
+ "create:force:staticresource",
282
+ "create:staticresource:force"
406
283
  ],
407
284
  "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"
285
+ "static-resource:generate",
286
+ "generate:static-resource"
414
287
  ]
415
288
  },
416
- "lightning:generate:app": {
289
+ "apex:generate:class": {
417
290
  "aliases": [
418
- "force:lightning:app:create"
291
+ "force:apex:class:create"
419
292
  ],
420
293
  "args": {},
421
294
  "deprecateAliases": true,
422
- "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.",
295
+ "description": "Generates the Apex *.cls file and associated metadata file. These files must be contained in a parent directory called \"classes\" 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.",
423
296
  "examples": [
424
- "Generate the metadata files for a Lightning app bundle called \"myapp\" in the current directory:\n<%= config.bin %> <%= command.id %> --name myapp",
425
- "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"
297
+ "Generate two metadata files associated with the MyClass Apex class (MyClass.cls and MyClass.cls-meta.xml) in the current directory:\n<%= config.bin %> <%= command.id %> --name MyClass",
298
+ "Similar to previous example, but generates the files in the \"force-app/main/default/classes\" directory:\n<%= config.bin %> <%= command.id %> --name MyClass --output-dir force-app/main/default/classes"
426
299
  ],
427
300
  "flags": {
428
301
  "json": {
@@ -442,14 +315,14 @@
442
315
  },
443
316
  "name": {
444
317
  "aliases": [
445
- "appname"
318
+ "classname"
446
319
  ],
447
320
  "char": "n",
448
321
  "deprecateAliases": true,
449
322
  "description": "The name can be up to 40 characters and must start with a letter.",
450
323
  "name": "name",
451
324
  "required": true,
452
- "summary": "Name of the generated Lightning App.",
325
+ "summary": "Name of the generated Apex class.",
453
326
  "hasDynamicHelp": false,
454
327
  "multiple": false,
455
328
  "type": "option"
@@ -459,11 +332,15 @@
459
332
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
460
333
  "name": "template",
461
334
  "summary": "Template to use for file creation.",
462
- "default": "DefaultLightningApp",
335
+ "default": "DefaultApexClass",
463
336
  "hasDynamicHelp": false,
464
337
  "multiple": false,
465
338
  "options": [
466
- "DefaultLightningApp"
339
+ "ApexException",
340
+ "ApexUnitTest",
341
+ "BasicUnitTest",
342
+ "DefaultApexClass",
343
+ "InboundEmailService"
467
344
  ],
468
345
  "type": "option"
469
346
  },
@@ -492,14 +369,6 @@
492
369
  "multiple": false,
493
370
  "type": "option"
494
371
  },
495
- "internal": {
496
- "char": "i",
497
- "hidden": true,
498
- "name": "internal",
499
- "summary": "Generate lightning bundles without creating a -meta.xml file.",
500
- "allowNo": false,
501
- "type": "boolean"
502
- },
503
372
  "loglevel": {
504
373
  "deprecated": {
505
374
  "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."
@@ -513,68 +382,67 @@
513
382
  },
514
383
  "hasDynamicHelp": false,
515
384
  "hiddenAliases": [],
516
- "id": "lightning:generate:app",
385
+ "id": "apex:generate:class",
517
386
  "pluginAlias": "@salesforce/plugin-templates",
518
387
  "pluginName": "@salesforce/plugin-templates",
519
388
  "pluginType": "core",
520
389
  "strict": true,
521
- "summary": "Generate a Lightning App.",
390
+ "summary": "Generate an Apex class.",
522
391
  "enableJsonFlag": true,
523
392
  "isESM": true,
524
393
  "relativePath": [
525
394
  "lib",
526
395
  "commands",
527
- "lightning",
396
+ "apex",
528
397
  "generate",
529
- "app.js"
398
+ "class.js"
530
399
  ],
531
400
  "aliasPermutations": [
532
- "force:lightning:app:create",
533
- "lightning:force:app:create",
534
- "lightning:app:force:create",
535
- "lightning:app:create:force",
536
- "force:app:lightning:create",
537
- "app:force:lightning:create",
538
- "app:lightning:force:create",
539
- "app:lightning:create:force",
540
- "force:app:create:lightning",
541
- "app:force:create:lightning",
542
- "app:create:force:lightning",
543
- "app:create:lightning:force",
544
- "force:lightning:create:app",
545
- "lightning:force:create:app",
546
- "lightning:create:force:app",
547
- "lightning:create:app:force",
548
- "force:create:lightning:app",
549
- "create:force:lightning:app",
550
- "create:lightning:force:app",
551
- "create:lightning:app:force",
552
- "force:create:app:lightning",
553
- "create:force:app:lightning",
554
- "create:app:force:lightning",
555
- "create:app:lightning:force"
401
+ "force:apex:class:create",
402
+ "apex:force:class:create",
403
+ "apex:class:force:create",
404
+ "apex:class:create:force",
405
+ "force:class:apex:create",
406
+ "class:force:apex:create",
407
+ "class:apex:force:create",
408
+ "class:apex:create:force",
409
+ "force:class:create:apex",
410
+ "class:force:create:apex",
411
+ "class:create:force:apex",
412
+ "class:create:apex:force",
413
+ "force:apex:create:class",
414
+ "apex:force:create:class",
415
+ "apex:create:force:class",
416
+ "apex:create:class:force",
417
+ "force:create:apex:class",
418
+ "create:force:apex:class",
419
+ "create:apex:force:class",
420
+ "create:apex:class:force",
421
+ "force:create:class:apex",
422
+ "create:force:class:apex",
423
+ "create:class:force:apex",
424
+ "create:class:apex:force"
556
425
  ],
557
426
  "permutations": [
558
- "lightning:generate:app",
559
- "generate:lightning:app",
560
- "generate:app:lightning",
561
- "lightning:app:generate",
562
- "app:lightning:generate",
563
- "app:generate:lightning"
427
+ "apex:generate:class",
428
+ "generate:apex:class",
429
+ "generate:class:apex",
430
+ "apex:class:generate",
431
+ "class:apex:generate",
432
+ "class:generate:apex"
564
433
  ]
565
434
  },
566
- "lightning:generate:component": {
435
+ "apex:generate:trigger": {
567
436
  "aliases": [
568
- "force:lightning:component:create"
437
+ "force:apex:trigger:create"
569
438
  ],
570
439
  "args": {},
571
440
  "deprecateAliases": true,
572
- "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.",
441
+ "description": "Generates the Apex trigger *.trigger file and associated metadata file. These files must be contained in a parent directory called \"triggers\" 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.\n\nIf you don't specify the --sobject flag, the .trigger file contains the generic placeholder SOBJECT; replace it with the Salesforce object you want to generate a trigger for. If you don't specify --event, \"before insert\" is used.",
573
442
  "examples": [
574
- "Generate the metadata files for an Aura component bundle in the current directory:\n<%= config.bin %> <%= command.id %> --name mycomponent",
575
- "Generate a Lightning web component bundle in the current directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --type lwc",
576
- "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",
577
- "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"
443
+ "Generate two files associated with the MyTrigger Apex trigger (MyTrigger.trigger and MyTrigger.trigger-meta.xml) in the current directory:\n<%= config.bin %> <%= command.id %> --name MyTrigger",
444
+ "Similar to the previous example, but generate the files in the \"force-app/main/default/triggers\" directory:\n<%= config.bin %> <%= command.id %> --name MyTrigger --output-dir force-app/main/default/triggers",
445
+ "Generate files for a trigger that fires on the Account object before and after an insert:\n<%= config.bin %> <%= command.id %> --name MyTrigger --sobject Account --event \"before insert,after insert\""
578
446
  ],
579
447
  "flags": {
580
448
  "json": {
@@ -594,14 +462,14 @@
594
462
  },
595
463
  "name": {
596
464
  "aliases": [
597
- "componentname"
465
+ "triggername"
598
466
  ],
599
467
  "char": "n",
600
468
  "deprecateAliases": true,
601
469
  "description": "The name can be up to 40 characters and must start with a letter.",
602
470
  "name": "name",
603
471
  "required": true,
604
- "summary": "Name of the generated Lightning Component.",
472
+ "summary": "Name of the generated Apex trigger",
605
473
  "hasDynamicHelp": false,
606
474
  "multiple": false,
607
475
  "type": "option"
@@ -611,13 +479,11 @@
611
479
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
612
480
  "name": "template",
613
481
  "summary": "Template to use for file creation.",
614
- "default": "default",
482
+ "default": "ApexTrigger",
615
483
  "hasDynamicHelp": false,
616
484
  "multiple": false,
617
485
  "options": [
618
- "default",
619
- "analyticsDashboard",
620
- "analyticsDashboardWithStep"
486
+ "ApexTrigger"
621
487
  ],
622
488
  "type": "option"
623
489
  },
@@ -646,26 +512,40 @@
646
512
  "multiple": false,
647
513
  "type": "option"
648
514
  },
649
- "type": {
650
- "name": "type",
651
- "summary": "Type of the component bundle.",
652
- "default": "aura",
515
+ "sobject": {
516
+ "char": "s",
517
+ "name": "sobject",
518
+ "summary": "Salesforce object to generate a trigger on.",
519
+ "default": "SOBJECT",
653
520
  "hasDynamicHelp": false,
654
521
  "multiple": false,
522
+ "type": "option"
523
+ },
524
+ "event": {
525
+ "aliases": [
526
+ "triggerevents"
527
+ ],
528
+ "char": "e",
529
+ "deprecateAliases": true,
530
+ "name": "event",
531
+ "summary": "Events that fire the trigger.",
532
+ "default": [
533
+ "before insert"
534
+ ],
535
+ "delimiter": ",",
536
+ "hasDynamicHelp": false,
537
+ "multiple": true,
655
538
  "options": [
656
- "aura",
657
- "lwc"
539
+ "before insert",
540
+ "before update",
541
+ "before delete",
542
+ "after insert",
543
+ "after update",
544
+ "after delete",
545
+ "after undelete"
658
546
  ],
659
547
  "type": "option"
660
548
  },
661
- "internal": {
662
- "char": "i",
663
- "hidden": true,
664
- "name": "internal",
665
- "summary": "Generate lightning bundles without creating a -meta.xml file.",
666
- "allowNo": false,
667
- "type": "boolean"
668
- },
669
549
  "loglevel": {
670
550
  "deprecated": {
671
551
  "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."
@@ -679,66 +559,193 @@
679
559
  },
680
560
  "hasDynamicHelp": false,
681
561
  "hiddenAliases": [],
682
- "id": "lightning:generate:component",
562
+ "id": "apex:generate:trigger",
683
563
  "pluginAlias": "@salesforce/plugin-templates",
684
564
  "pluginName": "@salesforce/plugin-templates",
685
565
  "pluginType": "core",
686
566
  "strict": true,
687
- "summary": "Generate a bundle for an Aura component or a Lightning web component.",
567
+ "summary": "Generate an Apex trigger.",
688
568
  "enableJsonFlag": true,
689
569
  "isESM": true,
690
570
  "relativePath": [
691
571
  "lib",
692
572
  "commands",
693
- "lightning",
573
+ "apex",
694
574
  "generate",
695
- "component.js"
575
+ "trigger.js"
696
576
  ],
697
577
  "aliasPermutations": [
698
- "force:lightning:component:create",
699
- "lightning:force:component:create",
700
- "lightning:component:force:create",
701
- "lightning:component:create:force",
702
- "force:component:lightning:create",
703
- "component:force:lightning:create",
704
- "component:lightning:force:create",
705
- "component:lightning:create:force",
706
- "force:component:create:lightning",
707
- "component:force:create:lightning",
708
- "component:create:force:lightning",
709
- "component:create:lightning:force",
710
- "force:lightning:create:component",
711
- "lightning:force:create:component",
712
- "lightning:create:force:component",
713
- "lightning:create:component:force",
714
- "force:create:lightning:component",
715
- "create:force:lightning:component",
716
- "create:lightning:force:component",
717
- "create:lightning:component:force",
718
- "force:create:component:lightning",
719
- "create:force:component:lightning",
720
- "create:component:force:lightning",
721
- "create:component:lightning:force"
578
+ "force:apex:trigger:create",
579
+ "apex:force:trigger:create",
580
+ "apex:trigger:force:create",
581
+ "apex:trigger:create:force",
582
+ "force:trigger:apex:create",
583
+ "trigger:force:apex:create",
584
+ "trigger:apex:force:create",
585
+ "trigger:apex:create:force",
586
+ "force:trigger:create:apex",
587
+ "trigger:force:create:apex",
588
+ "trigger:create:force:apex",
589
+ "trigger:create:apex:force",
590
+ "force:apex:create:trigger",
591
+ "apex:force:create:trigger",
592
+ "apex:create:force:trigger",
593
+ "apex:create:trigger:force",
594
+ "force:create:apex:trigger",
595
+ "create:force:apex:trigger",
596
+ "create:apex:force:trigger",
597
+ "create:apex:trigger:force",
598
+ "force:create:trigger:apex",
599
+ "create:force:trigger:apex",
600
+ "create:trigger:force:apex",
601
+ "create:trigger:apex:force"
602
+ ],
603
+ "permutations": [
604
+ "apex:generate:trigger",
605
+ "generate:apex:trigger",
606
+ "generate:trigger:apex",
607
+ "apex:trigger:generate",
608
+ "trigger:apex:generate",
609
+ "trigger:generate:apex"
610
+ ]
611
+ },
612
+ "analytics:generate:template": {
613
+ "aliases": [
614
+ "force:analytics:template:create"
615
+ ],
616
+ "args": {},
617
+ "deprecateAliases": true,
618
+ "description": "The metadata files associated with the Analytics template must be contained in a parent directory called \"waveTemplates\" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to generate one or point to an existing one.",
619
+ "examples": [
620
+ "Generate the metadata files for a simple Analytics template file called myTemplate in the force-app/main/default/waveTemplates directory:\n<%= config.bin %> <%= command.id %> --name myTemplate --output-dir force-app/main/default/waveTemplates"
621
+ ],
622
+ "flags": {
623
+ "json": {
624
+ "description": "Format output as json.",
625
+ "helpGroup": "GLOBAL",
626
+ "name": "json",
627
+ "allowNo": false,
628
+ "type": "boolean"
629
+ },
630
+ "flags-dir": {
631
+ "helpGroup": "GLOBAL",
632
+ "name": "flags-dir",
633
+ "summary": "Import flag values from a directory.",
634
+ "hasDynamicHelp": false,
635
+ "multiple": false,
636
+ "type": "option"
637
+ },
638
+ "output-dir": {
639
+ "aliases": [
640
+ "outputdir"
641
+ ],
642
+ "char": "d",
643
+ "deprecateAliases": true,
644
+ "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
645
+ "name": "output-dir",
646
+ "summary": "Directory for saving the created files.",
647
+ "default": ".",
648
+ "hasDynamicHelp": false,
649
+ "multiple": false,
650
+ "type": "option"
651
+ },
652
+ "api-version": {
653
+ "aliases": [
654
+ "apiversion"
655
+ ],
656
+ "deprecateAliases": true,
657
+ "description": "Override the api version used for api requests made by this command",
658
+ "name": "api-version",
659
+ "hasDynamicHelp": false,
660
+ "multiple": false,
661
+ "type": "option"
662
+ },
663
+ "name": {
664
+ "aliases": [
665
+ "templatename"
666
+ ],
667
+ "char": "n",
668
+ "deprecateAliases": true,
669
+ "name": "name",
670
+ "required": true,
671
+ "summary": "Name of the Analytics template.",
672
+ "hasDynamicHelp": false,
673
+ "multiple": false,
674
+ "type": "option"
675
+ },
676
+ "loglevel": {
677
+ "deprecated": {
678
+ "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."
679
+ },
680
+ "hidden": true,
681
+ "name": "loglevel",
682
+ "hasDynamicHelp": false,
683
+ "multiple": false,
684
+ "type": "option"
685
+ }
686
+ },
687
+ "hasDynamicHelp": false,
688
+ "hiddenAliases": [],
689
+ "id": "analytics:generate:template",
690
+ "pluginAlias": "@salesforce/plugin-templates",
691
+ "pluginName": "@salesforce/plugin-templates",
692
+ "pluginType": "core",
693
+ "strict": true,
694
+ "summary": "Generate a simple Analytics template.",
695
+ "enableJsonFlag": true,
696
+ "isESM": true,
697
+ "relativePath": [
698
+ "lib",
699
+ "commands",
700
+ "analytics",
701
+ "generate",
702
+ "template.js"
703
+ ],
704
+ "aliasPermutations": [
705
+ "force:analytics:template:create",
706
+ "analytics:force:template:create",
707
+ "analytics:template:force:create",
708
+ "analytics:template:create:force",
709
+ "force:template:analytics:create",
710
+ "template:force:analytics:create",
711
+ "template:analytics:force:create",
712
+ "template:analytics:create:force",
713
+ "force:template:create:analytics",
714
+ "template:force:create:analytics",
715
+ "template:create:force:analytics",
716
+ "template:create:analytics:force",
717
+ "force:analytics:create:template",
718
+ "analytics:force:create:template",
719
+ "analytics:create:force:template",
720
+ "analytics:create:template:force",
721
+ "force:create:analytics:template",
722
+ "create:force:analytics:template",
723
+ "create:analytics:force:template",
724
+ "create:analytics:template:force",
725
+ "force:create:template:analytics",
726
+ "create:force:template:analytics",
727
+ "create:template:force:analytics",
728
+ "create:template:analytics:force"
722
729
  ],
723
730
  "permutations": [
724
- "lightning:generate:component",
725
- "generate:lightning:component",
726
- "generate:component:lightning",
727
- "lightning:component:generate",
728
- "component:lightning:generate",
729
- "component:generate:lightning"
731
+ "analytics:generate:template",
732
+ "generate:analytics:template",
733
+ "generate:template:analytics",
734
+ "analytics:template:generate",
735
+ "template:analytics:generate",
736
+ "template:generate:analytics"
730
737
  ]
731
738
  },
732
- "lightning:generate:event": {
739
+ "lightning:generate:app": {
733
740
  "aliases": [
734
- "force:lightning:event:create"
741
+ "force:lightning:app:create"
735
742
  ],
736
743
  "args": {},
737
744
  "deprecateAliases": true,
738
- "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.",
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.",
739
746
  "examples": [
740
- "Generate the metadata files for a Lightning event bundle called \"myevent\" in the current directory:\n<%= config.bin %> <%= command.id %> --name myevent",
741
- "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"
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"
742
749
  ],
743
750
  "flags": {
744
751
  "json": {
@@ -758,14 +765,14 @@
758
765
  },
759
766
  "name": {
760
767
  "aliases": [
761
- "eventname"
768
+ "appname"
762
769
  ],
763
770
  "char": "n",
764
771
  "deprecateAliases": true,
765
772
  "description": "The name can be up to 40 characters and must start with a letter.",
766
773
  "name": "name",
767
774
  "required": true,
768
- "summary": "Name of the generated Lightning Event.",
775
+ "summary": "Name of the generated Lightning App.",
769
776
  "hasDynamicHelp": false,
770
777
  "multiple": false,
771
778
  "type": "option"
@@ -775,11 +782,11 @@
775
782
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
776
783
  "name": "template",
777
784
  "summary": "Template to use for file creation.",
778
- "default": "DefaultLightningEvt",
785
+ "default": "DefaultLightningApp",
779
786
  "hasDynamicHelp": false,
780
787
  "multiple": false,
781
788
  "options": [
782
- "DefaultLightningEvt"
789
+ "DefaultLightningApp"
783
790
  ],
784
791
  "type": "option"
785
792
  },
@@ -829,12 +836,12 @@
829
836
  },
830
837
  "hasDynamicHelp": false,
831
838
  "hiddenAliases": [],
832
- "id": "lightning:generate:event",
839
+ "id": "lightning:generate:app",
833
840
  "pluginAlias": "@salesforce/plugin-templates",
834
841
  "pluginName": "@salesforce/plugin-templates",
835
842
  "pluginType": "core",
836
843
  "strict": true,
837
- "summary": "Generate a Lightning Event.",
844
+ "summary": "Generate a Lightning App.",
838
845
  "enableJsonFlag": true,
839
846
  "isESM": true,
840
847
  "relativePath": [
@@ -842,53 +849,55 @@
842
849
  "commands",
843
850
  "lightning",
844
851
  "generate",
845
- "event.js"
852
+ "app.js"
846
853
  ],
847
854
  "aliasPermutations": [
848
- "force:lightning:event:create",
849
- "lightning:force:event:create",
850
- "lightning:event:force:create",
851
- "lightning:event:create:force",
852
- "force:event:lightning:create",
853
- "event:force:lightning:create",
854
- "event:lightning:force:create",
855
- "event:lightning:create:force",
856
- "force:event:create:lightning",
857
- "event:force:create:lightning",
858
- "event:create:force:lightning",
859
- "event:create:lightning:force",
860
- "force:lightning:create:event",
861
- "lightning:force:create:event",
862
- "lightning:create:force:event",
863
- "lightning:create:event:force",
864
- "force:create:lightning:event",
865
- "create:force:lightning:event",
866
- "create:lightning:force:event",
867
- "create:lightning:event:force",
868
- "force:create:event:lightning",
869
- "create:force:event:lightning",
870
- "create:event:force:lightning",
871
- "create:event:lightning:force"
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"
872
879
  ],
873
880
  "permutations": [
874
- "lightning:generate:event",
875
- "generate:lightning:event",
876
- "generate:event:lightning",
877
- "lightning:event:generate",
878
- "event:lightning:generate",
879
- "event:generate:lightning"
881
+ "lightning:generate:app",
882
+ "generate:lightning:app",
883
+ "generate:app:lightning",
884
+ "lightning:app:generate",
885
+ "app:lightning:generate",
886
+ "app:generate:lightning"
880
887
  ]
881
888
  },
882
- "lightning:generate:interface": {
889
+ "lightning:generate:component": {
883
890
  "aliases": [
884
- "force:lightning:interface:create"
891
+ "force:lightning:component:create"
885
892
  ],
886
893
  "args": {},
887
894
  "deprecateAliases": true,
888
- "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.",
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.",
889
896
  "examples": [
890
- "Generate the metadata files for a Lightning interface bundle called \"myinterface\" in the current directory:\n<%= config.bin %> <%= command.id %> --name myinterface",
891
- "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"
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"
892
901
  ],
893
902
  "flags": {
894
903
  "json": {
@@ -908,14 +917,14 @@
908
917
  },
909
918
  "name": {
910
919
  "aliases": [
911
- "interfacename"
920
+ "componentname"
912
921
  ],
913
922
  "char": "n",
914
923
  "deprecateAliases": true,
915
924
  "description": "The name can be up to 40 characters and must start with a letter.",
916
925
  "name": "name",
917
926
  "required": true,
918
- "summary": "Name of the generated Lightning Interface.",
927
+ "summary": "Name of the generated Lightning Component.",
919
928
  "hasDynamicHelp": false,
920
929
  "multiple": false,
921
930
  "type": "option"
@@ -925,11 +934,13 @@
925
934
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
926
935
  "name": "template",
927
936
  "summary": "Template to use for file creation.",
928
- "default": "DefaultLightningIntf",
937
+ "default": "default",
929
938
  "hasDynamicHelp": false,
930
939
  "multiple": false,
931
940
  "options": [
932
- "DefaultLightningIntf"
941
+ "default",
942
+ "analyticsDashboard",
943
+ "analyticsDashboardWithStep"
933
944
  ],
934
945
  "type": "option"
935
946
  },
@@ -958,6 +969,18 @@
958
969
  "multiple": false,
959
970
  "type": "option"
960
971
  },
972
+ "type": {
973
+ "name": "type",
974
+ "summary": "Type of the component bundle.",
975
+ "default": "aura",
976
+ "hasDynamicHelp": false,
977
+ "multiple": false,
978
+ "options": [
979
+ "aura",
980
+ "lwc"
981
+ ],
982
+ "type": "option"
983
+ },
961
984
  "internal": {
962
985
  "char": "i",
963
986
  "hidden": true,
@@ -979,12 +1002,12 @@
979
1002
  },
980
1003
  "hasDynamicHelp": false,
981
1004
  "hiddenAliases": [],
982
- "id": "lightning:generate:interface",
1005
+ "id": "lightning:generate:component",
983
1006
  "pluginAlias": "@salesforce/plugin-templates",
984
1007
  "pluginName": "@salesforce/plugin-templates",
985
1008
  "pluginType": "core",
986
1009
  "strict": true,
987
- "summary": "Generate a Lightning Interface.",
1010
+ "summary": "Generate a bundle for an Aura component or a Lightning web component.",
988
1011
  "enableJsonFlag": true,
989
1012
  "isESM": true,
990
1013
  "relativePath": [
@@ -992,53 +1015,53 @@
992
1015
  "commands",
993
1016
  "lightning",
994
1017
  "generate",
995
- "interface.js"
1018
+ "component.js"
996
1019
  ],
997
1020
  "aliasPermutations": [
998
- "force:lightning:interface:create",
999
- "lightning:force:interface:create",
1000
- "lightning:interface:force:create",
1001
- "lightning:interface:create:force",
1002
- "force:interface:lightning:create",
1003
- "interface:force:lightning:create",
1004
- "interface:lightning:force:create",
1005
- "interface:lightning:create:force",
1006
- "force:interface:create:lightning",
1007
- "interface:force:create:lightning",
1008
- "interface:create:force:lightning",
1009
- "interface:create:lightning:force",
1010
- "force:lightning:create:interface",
1011
- "lightning:force:create:interface",
1012
- "lightning:create:force:interface",
1013
- "lightning:create:interface:force",
1014
- "force:create:lightning:interface",
1015
- "create:force:lightning:interface",
1016
- "create:lightning:force:interface",
1017
- "create:lightning:interface:force",
1018
- "force:create:interface:lightning",
1019
- "create:force:interface:lightning",
1020
- "create:interface:force:lightning",
1021
- "create:interface:lightning:force"
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"
1022
1045
  ],
1023
1046
  "permutations": [
1024
- "lightning:generate:interface",
1025
- "generate:lightning:interface",
1026
- "generate:interface:lightning",
1027
- "lightning:interface:generate",
1028
- "interface:lightning:generate",
1029
- "interface:generate:lightning"
1047
+ "lightning:generate:component",
1048
+ "generate:lightning:component",
1049
+ "generate:component:lightning",
1050
+ "lightning:component:generate",
1051
+ "component:lightning:generate",
1052
+ "component:generate:lightning"
1030
1053
  ]
1031
1054
  },
1032
- "lightning:generate:test": {
1055
+ "lightning:generate:event": {
1033
1056
  "aliases": [
1034
- "force:lightning:test:create"
1057
+ "force:lightning:event:create"
1035
1058
  ],
1036
1059
  "args": {},
1037
1060
  "deprecateAliases": true,
1038
- "description": "Generates the test in the specified directory or the current working directory. The .resource file and associated metadata file are generated.",
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.",
1039
1062
  "examples": [
1040
- "Generate the metadata files for the Lightning test called MyLightningTest in the current directory:\n<%= config.bin %> <%= command.id %> --name MyLightningTest",
1041
- "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"
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"
1042
1065
  ],
1043
1066
  "flags": {
1044
1067
  "json": {
@@ -1058,14 +1081,14 @@
1058
1081
  },
1059
1082
  "name": {
1060
1083
  "aliases": [
1061
- "testname"
1084
+ "eventname"
1062
1085
  ],
1063
1086
  "char": "n",
1064
1087
  "deprecateAliases": true,
1065
- "description": "Name of the new Lightning test; can be up to 40 characters and must start with a letter.",
1088
+ "description": "The name can be up to 40 characters and must start with a letter.",
1066
1089
  "name": "name",
1067
1090
  "required": true,
1068
- "summary": "Name of the generated Lightning Test.",
1091
+ "summary": "Name of the generated Lightning Event.",
1069
1092
  "hasDynamicHelp": false,
1070
1093
  "multiple": false,
1071
1094
  "type": "option"
@@ -1075,11 +1098,11 @@
1075
1098
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
1076
1099
  "name": "template",
1077
1100
  "summary": "Template to use for file creation.",
1078
- "default": "DefaultLightningTest",
1101
+ "default": "DefaultLightningEvt",
1079
1102
  "hasDynamicHelp": false,
1080
1103
  "multiple": false,
1081
1104
  "options": [
1082
- "DefaultLightningTest"
1105
+ "DefaultLightningEvt"
1083
1106
  ],
1084
1107
  "type": "option"
1085
1108
  },
@@ -1097,14 +1120,6 @@
1097
1120
  "multiple": false,
1098
1121
  "type": "option"
1099
1122
  },
1100
- "internal": {
1101
- "char": "i",
1102
- "hidden": true,
1103
- "name": "internal",
1104
- "summary": "Generate lightning bundles without creating a -meta.xml file.",
1105
- "allowNo": false,
1106
- "type": "boolean"
1107
- },
1108
1123
  "api-version": {
1109
1124
  "aliases": [
1110
1125
  "apiversion"
@@ -1116,6 +1131,14 @@
1116
1131
  "multiple": false,
1117
1132
  "type": "option"
1118
1133
  },
1134
+ "internal": {
1135
+ "char": "i",
1136
+ "hidden": true,
1137
+ "name": "internal",
1138
+ "summary": "Generate lightning bundles without creating a -meta.xml file.",
1139
+ "allowNo": false,
1140
+ "type": "boolean"
1141
+ },
1119
1142
  "loglevel": {
1120
1143
  "deprecated": {
1121
1144
  "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."
@@ -1129,12 +1152,12 @@
1129
1152
  },
1130
1153
  "hasDynamicHelp": false,
1131
1154
  "hiddenAliases": [],
1132
- "id": "lightning:generate:test",
1155
+ "id": "lightning:generate:event",
1133
1156
  "pluginAlias": "@salesforce/plugin-templates",
1134
1157
  "pluginName": "@salesforce/plugin-templates",
1135
1158
  "pluginType": "core",
1136
1159
  "strict": true,
1137
- "summary": "Generate a Lightning test.",
1160
+ "summary": "Generate a Lightning Event.",
1138
1161
  "enableJsonFlag": true,
1139
1162
  "isESM": true,
1140
1163
  "relativePath": [
@@ -1142,53 +1165,53 @@
1142
1165
  "commands",
1143
1166
  "lightning",
1144
1167
  "generate",
1145
- "test.js"
1168
+ "event.js"
1146
1169
  ],
1147
1170
  "aliasPermutations": [
1148
- "force:lightning:test:create",
1149
- "lightning:force:test:create",
1150
- "lightning:test:force:create",
1151
- "lightning:test:create:force",
1152
- "force:test:lightning:create",
1153
- "test:force:lightning:create",
1154
- "test:lightning:force:create",
1155
- "test:lightning:create:force",
1156
- "force:test:create:lightning",
1157
- "test:force:create:lightning",
1158
- "test:create:force:lightning",
1159
- "test:create:lightning:force",
1160
- "force:lightning:create:test",
1161
- "lightning:force:create:test",
1162
- "lightning:create:force:test",
1163
- "lightning:create:test:force",
1164
- "force:create:lightning:test",
1165
- "create:force:lightning:test",
1166
- "create:lightning:force:test",
1167
- "create:lightning:test:force",
1168
- "force:create:test:lightning",
1169
- "create:force:test:lightning",
1170
- "create:test:force:lightning",
1171
- "create:test:lightning:force"
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"
1172
1195
  ],
1173
1196
  "permutations": [
1174
- "lightning:generate:test",
1175
- "generate:lightning:test",
1176
- "generate:test:lightning",
1177
- "lightning:test:generate",
1178
- "test:lightning:generate",
1179
- "test:generate:lightning"
1197
+ "lightning:generate:event",
1198
+ "generate:lightning:event",
1199
+ "generate:event:lightning",
1200
+ "lightning:event:generate",
1201
+ "event:lightning:generate",
1202
+ "event:generate:lightning"
1180
1203
  ]
1181
1204
  },
1182
- "visualforce:generate:component": {
1205
+ "lightning:generate:interface": {
1183
1206
  "aliases": [
1184
- "force:visualforce:component:create"
1207
+ "force:lightning:interface:create"
1185
1208
  ],
1186
1209
  "args": {},
1187
1210
  "deprecateAliases": true,
1188
- "description": "The command generates the .Component file and associated metadata file in the specified directory or the current working directory by default.",
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.",
1189
1212
  "examples": [
1190
- "Generate the metadata files for a Visualforce component in the current directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --label mylabel",
1191
- "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"
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"
1192
1215
  ],
1193
1216
  "flags": {
1194
1217
  "json": {
@@ -1208,14 +1231,14 @@
1208
1231
  },
1209
1232
  "name": {
1210
1233
  "aliases": [
1211
- "componentname"
1234
+ "interfacename"
1212
1235
  ],
1213
1236
  "char": "n",
1214
1237
  "deprecateAliases": true,
1215
1238
  "description": "The name can be up to 40 characters and must start with a letter.",
1216
1239
  "name": "name",
1217
1240
  "required": true,
1218
- "summary": "Name of the generated Visualforce Component.",
1241
+ "summary": "Name of the generated Lightning Interface.",
1219
1242
  "hasDynamicHelp": false,
1220
1243
  "multiple": false,
1221
1244
  "type": "option"
@@ -1225,11 +1248,11 @@
1225
1248
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
1226
1249
  "name": "template",
1227
1250
  "summary": "Template to use for file creation.",
1228
- "default": "DefaultVFComponent",
1251
+ "default": "DefaultLightningIntf",
1229
1252
  "hasDynamicHelp": false,
1230
1253
  "multiple": false,
1231
1254
  "options": [
1232
- "DefaultVFComponent"
1255
+ "DefaultLightningIntf"
1233
1256
  ],
1234
1257
  "type": "option"
1235
1258
  },
@@ -1258,14 +1281,13 @@
1258
1281
  "multiple": false,
1259
1282
  "type": "option"
1260
1283
  },
1261
- "label": {
1262
- "char": "l",
1263
- "name": "label",
1264
- "required": true,
1265
- "summary": "Visualforce Component label.",
1266
- "hasDynamicHelp": false,
1267
- "multiple": false,
1268
- "type": "option"
1284
+ "internal": {
1285
+ "char": "i",
1286
+ "hidden": true,
1287
+ "name": "internal",
1288
+ "summary": "Generate lightning bundles without creating a -meta.xml file.",
1289
+ "allowNo": false,
1290
+ "type": "boolean"
1269
1291
  },
1270
1292
  "loglevel": {
1271
1293
  "deprecated": {
@@ -1280,66 +1302,66 @@
1280
1302
  },
1281
1303
  "hasDynamicHelp": false,
1282
1304
  "hiddenAliases": [],
1283
- "id": "visualforce:generate:component",
1305
+ "id": "lightning:generate:interface",
1284
1306
  "pluginAlias": "@salesforce/plugin-templates",
1285
1307
  "pluginName": "@salesforce/plugin-templates",
1286
1308
  "pluginType": "core",
1287
1309
  "strict": true,
1288
- "summary": "Generate a Visualforce Component.",
1310
+ "summary": "Generate a Lightning Interface.",
1289
1311
  "enableJsonFlag": true,
1290
1312
  "isESM": true,
1291
1313
  "relativePath": [
1292
1314
  "lib",
1293
1315
  "commands",
1294
- "visualforce",
1316
+ "lightning",
1295
1317
  "generate",
1296
- "component.js"
1318
+ "interface.js"
1297
1319
  ],
1298
1320
  "aliasPermutations": [
1299
- "force:visualforce:component:create",
1300
- "visualforce:force:component:create",
1301
- "visualforce:component:force:create",
1302
- "visualforce:component:create:force",
1303
- "force:component:visualforce:create",
1304
- "component:force:visualforce:create",
1305
- "component:visualforce:force:create",
1306
- "component:visualforce:create:force",
1307
- "force:component:create:visualforce",
1308
- "component:force:create:visualforce",
1309
- "component:create:force:visualforce",
1310
- "component:create:visualforce:force",
1311
- "force:visualforce:create:component",
1312
- "visualforce:force:create:component",
1313
- "visualforce:create:force:component",
1314
- "visualforce:create:component:force",
1315
- "force:create:visualforce:component",
1316
- "create:force:visualforce:component",
1317
- "create:visualforce:force:component",
1318
- "create:visualforce:component:force",
1319
- "force:create:component:visualforce",
1320
- "create:force:component:visualforce",
1321
- "create:component:force:visualforce",
1322
- "create:component:visualforce:force"
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"
1323
1345
  ],
1324
1346
  "permutations": [
1325
- "visualforce:generate:component",
1326
- "generate:visualforce:component",
1327
- "generate:component:visualforce",
1328
- "visualforce:component:generate",
1329
- "component:visualforce:generate",
1330
- "component:generate:visualforce"
1347
+ "lightning:generate:interface",
1348
+ "generate:lightning:interface",
1349
+ "generate:interface:lightning",
1350
+ "lightning:interface:generate",
1351
+ "interface:lightning:generate",
1352
+ "interface:generate:lightning"
1331
1353
  ]
1332
1354
  },
1333
- "visualforce:generate:page": {
1355
+ "lightning:generate:test": {
1334
1356
  "aliases": [
1335
- "force:visualforce:page:create"
1357
+ "force:lightning:test:create"
1336
1358
  ],
1337
1359
  "args": {},
1338
1360
  "deprecateAliases": true,
1339
- "description": "The command generates the .Page file and associated metadata file in the specified directory or the current working directory by default.",
1361
+ "description": "Generates the test in the specified directory or the current working directory. The .resource file and associated metadata file are generated.",
1340
1362
  "examples": [
1341
- "Generate the metadata files for a Visualforce page in the current directory:\n<%= config.bin %> <%= command.id %> --name mypage --label mylabel",
1342
- "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"
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"
1343
1365
  ],
1344
1366
  "flags": {
1345
1367
  "json": {
@@ -1359,14 +1381,14 @@
1359
1381
  },
1360
1382
  "name": {
1361
1383
  "aliases": [
1362
- "pagename"
1384
+ "testname"
1363
1385
  ],
1364
1386
  "char": "n",
1365
1387
  "deprecateAliases": true,
1366
- "description": "The name can be up to 40 characters and must start with a letter.",
1388
+ "description": "Name of the new Lightning test; can be up to 40 characters and must start with a letter.",
1367
1389
  "name": "name",
1368
1390
  "required": true,
1369
- "summary": "Name of the generated Visualforce Page.",
1391
+ "summary": "Name of the generated Lightning Test.",
1370
1392
  "hasDynamicHelp": false,
1371
1393
  "multiple": false,
1372
1394
  "type": "option"
@@ -1374,14 +1396,13 @@
1374
1396
  "template": {
1375
1397
  "char": "t",
1376
1398
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
1377
- "hidden": true,
1378
1399
  "name": "template",
1379
1400
  "summary": "Template to use for file creation.",
1380
- "default": "DefaultVFPage",
1401
+ "default": "DefaultLightningTest",
1381
1402
  "hasDynamicHelp": false,
1382
1403
  "multiple": false,
1383
1404
  "options": [
1384
- "DefaultVFPage"
1405
+ "DefaultLightningTest"
1385
1406
  ],
1386
1407
  "type": "option"
1387
1408
  },
@@ -1399,6 +1420,14 @@
1399
1420
  "multiple": false,
1400
1421
  "type": "option"
1401
1422
  },
1423
+ "internal": {
1424
+ "char": "i",
1425
+ "hidden": true,
1426
+ "name": "internal",
1427
+ "summary": "Generate lightning bundles without creating a -meta.xml file.",
1428
+ "allowNo": false,
1429
+ "type": "boolean"
1430
+ },
1402
1431
  "api-version": {
1403
1432
  "aliases": [
1404
1433
  "apiversion"
@@ -1410,15 +1439,6 @@
1410
1439
  "multiple": false,
1411
1440
  "type": "option"
1412
1441
  },
1413
- "label": {
1414
- "char": "l",
1415
- "name": "label",
1416
- "required": true,
1417
- "summary": "Visualforce Page label.",
1418
- "hasDynamicHelp": false,
1419
- "multiple": false,
1420
- "type": "option"
1421
- },
1422
1442
  "loglevel": {
1423
1443
  "deprecated": {
1424
1444
  "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
@@ -1432,66 +1452,66 @@
1432
1452
  },
1433
1453
  "hasDynamicHelp": false,
1434
1454
  "hiddenAliases": [],
1435
- "id": "visualforce:generate:page",
1455
+ "id": "lightning:generate:test",
1436
1456
  "pluginAlias": "@salesforce/plugin-templates",
1437
1457
  "pluginName": "@salesforce/plugin-templates",
1438
1458
  "pluginType": "core",
1439
1459
  "strict": true,
1440
- "summary": "Generate a Visualforce Page.",
1460
+ "summary": "Generate a Lightning test.",
1441
1461
  "enableJsonFlag": true,
1442
1462
  "isESM": true,
1443
1463
  "relativePath": [
1444
1464
  "lib",
1445
1465
  "commands",
1446
- "visualforce",
1466
+ "lightning",
1447
1467
  "generate",
1448
- "page.js"
1468
+ "test.js"
1449
1469
  ],
1450
1470
  "aliasPermutations": [
1451
- "force:visualforce:page:create",
1452
- "visualforce:force:page:create",
1453
- "visualforce:page:force:create",
1454
- "visualforce:page:create:force",
1455
- "force:page:visualforce:create",
1456
- "page:force:visualforce:create",
1457
- "page:visualforce:force:create",
1458
- "page:visualforce:create:force",
1459
- "force:page:create:visualforce",
1460
- "page:force:create:visualforce",
1461
- "page:create:force:visualforce",
1462
- "page:create:visualforce:force",
1463
- "force:visualforce:create:page",
1464
- "visualforce:force:create:page",
1465
- "visualforce:create:force:page",
1466
- "visualforce:create:page:force",
1467
- "force:create:visualforce:page",
1468
- "create:force:visualforce:page",
1469
- "create:visualforce:force:page",
1470
- "create:visualforce:page:force",
1471
- "force:create:page:visualforce",
1472
- "create:force:page:visualforce",
1473
- "create:page:force:visualforce",
1474
- "create:page:visualforce:force"
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"
1475
1495
  ],
1476
1496
  "permutations": [
1477
- "visualforce:generate:page",
1478
- "generate:visualforce:page",
1479
- "generate:page:visualforce",
1480
- "visualforce:page:generate",
1481
- "page:visualforce:generate",
1482
- "page:generate:visualforce"
1497
+ "lightning:generate:test",
1498
+ "generate:lightning:test",
1499
+ "generate:test:lightning",
1500
+ "lightning:test:generate",
1501
+ "test:lightning:generate",
1502
+ "test:generate:lightning"
1483
1503
  ]
1484
1504
  },
1485
- "apex:generate:class": {
1505
+ "visualforce:generate:component": {
1486
1506
  "aliases": [
1487
- "force:apex:class:create"
1507
+ "force:visualforce:component:create"
1488
1508
  ],
1489
1509
  "args": {},
1490
1510
  "deprecateAliases": true,
1491
- "description": "Generates the Apex *.cls file and associated metadata file. These files must be contained in a parent directory called \"classes\" 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.",
1511
+ "description": "The command generates the .Component file and associated metadata file in the specified directory or the current working directory by default.",
1492
1512
  "examples": [
1493
- "Generate two metadata files associated with the MyClass Apex class (MyClass.cls and MyClass.cls-meta.xml) in the current directory:\n<%= config.bin %> <%= command.id %> --name MyClass",
1494
- "Similar to previous example, but generates the files in the \"force-app/main/default/classes\" directory:\n<%= config.bin %> <%= command.id %> --name MyClass --output-dir force-app/main/default/classes"
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"
1495
1515
  ],
1496
1516
  "flags": {
1497
1517
  "json": {
@@ -1511,14 +1531,14 @@
1511
1531
  },
1512
1532
  "name": {
1513
1533
  "aliases": [
1514
- "classname"
1534
+ "componentname"
1515
1535
  ],
1516
1536
  "char": "n",
1517
1537
  "deprecateAliases": true,
1518
1538
  "description": "The name can be up to 40 characters and must start with a letter.",
1519
1539
  "name": "name",
1520
1540
  "required": true,
1521
- "summary": "Name of the generated Apex class.",
1541
+ "summary": "Name of the generated Visualforce Component.",
1522
1542
  "hasDynamicHelp": false,
1523
1543
  "multiple": false,
1524
1544
  "type": "option"
@@ -1528,15 +1548,11 @@
1528
1548
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
1529
1549
  "name": "template",
1530
1550
  "summary": "Template to use for file creation.",
1531
- "default": "DefaultApexClass",
1551
+ "default": "DefaultVFComponent",
1532
1552
  "hasDynamicHelp": false,
1533
1553
  "multiple": false,
1534
1554
  "options": [
1535
- "ApexException",
1536
- "ApexUnitTest",
1537
- "BasicUnitTest",
1538
- "DefaultApexClass",
1539
- "InboundEmailService"
1555
+ "DefaultVFComponent"
1540
1556
  ],
1541
1557
  "type": "option"
1542
1558
  },
@@ -1565,6 +1581,15 @@
1565
1581
  "multiple": false,
1566
1582
  "type": "option"
1567
1583
  },
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"
1592
+ },
1568
1593
  "loglevel": {
1569
1594
  "deprecated": {
1570
1595
  "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."
@@ -1578,67 +1603,66 @@
1578
1603
  },
1579
1604
  "hasDynamicHelp": false,
1580
1605
  "hiddenAliases": [],
1581
- "id": "apex:generate:class",
1606
+ "id": "visualforce:generate:component",
1582
1607
  "pluginAlias": "@salesforce/plugin-templates",
1583
1608
  "pluginName": "@salesforce/plugin-templates",
1584
1609
  "pluginType": "core",
1585
1610
  "strict": true,
1586
- "summary": "Generate an Apex class.",
1611
+ "summary": "Generate a Visualforce Component.",
1587
1612
  "enableJsonFlag": true,
1588
1613
  "isESM": true,
1589
1614
  "relativePath": [
1590
1615
  "lib",
1591
1616
  "commands",
1592
- "apex",
1617
+ "visualforce",
1593
1618
  "generate",
1594
- "class.js"
1619
+ "component.js"
1595
1620
  ],
1596
1621
  "aliasPermutations": [
1597
- "force:apex:class:create",
1598
- "apex:force:class:create",
1599
- "apex:class:force:create",
1600
- "apex:class:create:force",
1601
- "force:class:apex:create",
1602
- "class:force:apex:create",
1603
- "class:apex:force:create",
1604
- "class:apex:create:force",
1605
- "force:class:create:apex",
1606
- "class:force:create:apex",
1607
- "class:create:force:apex",
1608
- "class:create:apex:force",
1609
- "force:apex:create:class",
1610
- "apex:force:create:class",
1611
- "apex:create:force:class",
1612
- "apex:create:class:force",
1613
- "force:create:apex:class",
1614
- "create:force:apex:class",
1615
- "create:apex:force:class",
1616
- "create:apex:class:force",
1617
- "force:create:class:apex",
1618
- "create:force:class:apex",
1619
- "create:class:force:apex",
1620
- "create:class:apex:force"
1622
+ "force:visualforce:component:create",
1623
+ "visualforce:force:component:create",
1624
+ "visualforce:component:force:create",
1625
+ "visualforce:component:create:force",
1626
+ "force:component:visualforce:create",
1627
+ "component:force:visualforce:create",
1628
+ "component:visualforce:force:create",
1629
+ "component:visualforce:create:force",
1630
+ "force:component:create:visualforce",
1631
+ "component:force:create:visualforce",
1632
+ "component:create:force:visualforce",
1633
+ "component:create:visualforce:force",
1634
+ "force:visualforce:create:component",
1635
+ "visualforce:force:create:component",
1636
+ "visualforce:create:force:component",
1637
+ "visualforce:create:component:force",
1638
+ "force:create:visualforce:component",
1639
+ "create:force:visualforce:component",
1640
+ "create:visualforce:force:component",
1641
+ "create:visualforce:component:force",
1642
+ "force:create:component:visualforce",
1643
+ "create:force:component:visualforce",
1644
+ "create:component:force:visualforce",
1645
+ "create:component:visualforce:force"
1621
1646
  ],
1622
1647
  "permutations": [
1623
- "apex:generate:class",
1624
- "generate:apex:class",
1625
- "generate:class:apex",
1626
- "apex:class:generate",
1627
- "class:apex:generate",
1628
- "class:generate:apex"
1648
+ "visualforce:generate:component",
1649
+ "generate:visualforce:component",
1650
+ "generate:component:visualforce",
1651
+ "visualforce:component:generate",
1652
+ "component:visualforce:generate",
1653
+ "component:generate:visualforce"
1629
1654
  ]
1630
1655
  },
1631
- "apex:generate:trigger": {
1656
+ "visualforce:generate:page": {
1632
1657
  "aliases": [
1633
- "force:apex:trigger:create"
1658
+ "force:visualforce:page:create"
1634
1659
  ],
1635
1660
  "args": {},
1636
1661
  "deprecateAliases": true,
1637
- "description": "Generates the Apex trigger *.trigger file and associated metadata file. These files must be contained in a parent directory called \"triggers\" 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.\n\nIf you don't specify the --sobject flag, the .trigger file contains the generic placeholder SOBJECT; replace it with the Salesforce object you want to generate a trigger for. If you don't specify --event, \"before insert\" is used.",
1662
+ "description": "The command generates the .Page file and associated metadata file in the specified directory or the current working directory by default.",
1638
1663
  "examples": [
1639
- "Generate two files associated with the MyTrigger Apex trigger (MyTrigger.trigger and MyTrigger.trigger-meta.xml) in the current directory:\n<%= config.bin %> <%= command.id %> --name MyTrigger",
1640
- "Similar to the previous example, but generate the files in the \"force-app/main/default/triggers\" directory:\n<%= config.bin %> <%= command.id %> --name MyTrigger --output-dir force-app/main/default/triggers",
1641
- "Generate files for a trigger that fires on the Account object before and after an insert:\n<%= config.bin %> <%= command.id %> --name MyTrigger --sobject Account --event \"before insert,after insert\""
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"
1642
1666
  ],
1643
1667
  "flags": {
1644
1668
  "json": {
@@ -1658,14 +1682,14 @@
1658
1682
  },
1659
1683
  "name": {
1660
1684
  "aliases": [
1661
- "triggername"
1685
+ "pagename"
1662
1686
  ],
1663
1687
  "char": "n",
1664
1688
  "deprecateAliases": true,
1665
1689
  "description": "The name can be up to 40 characters and must start with a letter.",
1666
1690
  "name": "name",
1667
1691
  "required": true,
1668
- "summary": "Name of the generated Apex trigger",
1692
+ "summary": "Name of the generated Visualforce Page.",
1669
1693
  "hasDynamicHelp": false,
1670
1694
  "multiple": false,
1671
1695
  "type": "option"
@@ -1673,13 +1697,14 @@
1673
1697
  "template": {
1674
1698
  "char": "t",
1675
1699
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
1700
+ "hidden": true,
1676
1701
  "name": "template",
1677
1702
  "summary": "Template to use for file creation.",
1678
- "default": "ApexTrigger",
1703
+ "default": "DefaultVFPage",
1679
1704
  "hasDynamicHelp": false,
1680
1705
  "multiple": false,
1681
1706
  "options": [
1682
- "ApexTrigger"
1707
+ "DefaultVFPage"
1683
1708
  ],
1684
1709
  "type": "option"
1685
1710
  },
@@ -1708,40 +1733,15 @@
1708
1733
  "multiple": false,
1709
1734
  "type": "option"
1710
1735
  },
1711
- "sobject": {
1712
- "char": "s",
1713
- "name": "sobject",
1714
- "summary": "Salesforce object to generate a trigger on.",
1715
- "default": "SOBJECT",
1736
+ "label": {
1737
+ "char": "l",
1738
+ "name": "label",
1739
+ "required": true,
1740
+ "summary": "Visualforce Page label.",
1716
1741
  "hasDynamicHelp": false,
1717
1742
  "multiple": false,
1718
1743
  "type": "option"
1719
1744
  },
1720
- "event": {
1721
- "aliases": [
1722
- "triggerevents"
1723
- ],
1724
- "char": "e",
1725
- "deprecateAliases": true,
1726
- "name": "event",
1727
- "summary": "Events that fire the trigger.",
1728
- "default": [
1729
- "before insert"
1730
- ],
1731
- "delimiter": ",",
1732
- "hasDynamicHelp": false,
1733
- "multiple": true,
1734
- "options": [
1735
- "before insert",
1736
- "before update",
1737
- "before delete",
1738
- "after insert",
1739
- "after update",
1740
- "after delete",
1741
- "after undelete"
1742
- ],
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": "apex:generate:trigger",
1758
+ "id": "visualforce:generate:page",
1759
1759
  "pluginAlias": "@salesforce/plugin-templates",
1760
1760
  "pluginName": "@salesforce/plugin-templates",
1761
1761
  "pluginType": "core",
1762
1762
  "strict": true,
1763
- "summary": "Generate an Apex trigger.",
1763
+ "summary": "Generate a Visualforce Page.",
1764
1764
  "enableJsonFlag": true,
1765
1765
  "isESM": true,
1766
1766
  "relativePath": [
1767
1767
  "lib",
1768
1768
  "commands",
1769
- "apex",
1769
+ "visualforce",
1770
1770
  "generate",
1771
- "trigger.js"
1771
+ "page.js"
1772
1772
  ],
1773
1773
  "aliasPermutations": [
1774
- "force:apex:trigger:create",
1775
- "apex:force:trigger:create",
1776
- "apex:trigger:force:create",
1777
- "apex:trigger:create:force",
1778
- "force:trigger:apex:create",
1779
- "trigger:force:apex:create",
1780
- "trigger:apex:force:create",
1781
- "trigger:apex:create:force",
1782
- "force:trigger:create:apex",
1783
- "trigger:force:create:apex",
1784
- "trigger:create:force:apex",
1785
- "trigger:create:apex:force",
1786
- "force:apex:create:trigger",
1787
- "apex:force:create:trigger",
1788
- "apex:create:force:trigger",
1789
- "apex:create:trigger:force",
1790
- "force:create:apex:trigger",
1791
- "create:force:apex:trigger",
1792
- "create:apex:force:trigger",
1793
- "create:apex:trigger:force",
1794
- "force:create:trigger:apex",
1795
- "create:force:trigger:apex",
1796
- "create:trigger:force:apex",
1797
- "create:trigger:apex:force"
1774
+ "force:visualforce:page:create",
1775
+ "visualforce:force:page:create",
1776
+ "visualforce:page:force:create",
1777
+ "visualforce:page:create:force",
1778
+ "force:page:visualforce:create",
1779
+ "page:force:visualforce:create",
1780
+ "page:visualforce:force:create",
1781
+ "page:visualforce:create:force",
1782
+ "force:page:create:visualforce",
1783
+ "page:force:create:visualforce",
1784
+ "page:create:force:visualforce",
1785
+ "page:create:visualforce:force",
1786
+ "force:visualforce:create:page",
1787
+ "visualforce:force:create:page",
1788
+ "visualforce:create:force:page",
1789
+ "visualforce:create:page:force",
1790
+ "force:create:visualforce:page",
1791
+ "create:force:visualforce:page",
1792
+ "create:visualforce:force:page",
1793
+ "create:visualforce:page:force",
1794
+ "force:create:page:visualforce",
1795
+ "create:force:page:visualforce",
1796
+ "create:page:force:visualforce",
1797
+ "create:page:visualforce:force"
1798
1798
  ],
1799
1799
  "permutations": [
1800
- "apex:generate:trigger",
1801
- "generate:apex:trigger",
1802
- "generate:trigger:apex",
1803
- "apex:trigger:generate",
1804
- "trigger:apex:generate",
1805
- "trigger:generate:apex"
1800
+ "visualforce:generate:page",
1801
+ "generate:visualforce:page",
1802
+ "generate:page:visualforce",
1803
+ "visualforce:page:generate",
1804
+ "page:visualforce:generate",
1805
+ "page:generate:visualforce"
1806
1806
  ]
1807
1807
  }
1808
1808
  },
1809
- "version": "56.3.52"
1809
+ "version": "56.3.53"
1810
1810
  }