@salesforce/plugin-templates 56.3.40 → 56.3.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -12
- package/oclif.manifest.json +460 -460
- package/package.json +9 -9
package/oclif.manifest.json
CHANGED
|
@@ -286,16 +286,15 @@
|
|
|
286
286
|
"generate:static-resource"
|
|
287
287
|
]
|
|
288
288
|
},
|
|
289
|
-
"
|
|
289
|
+
"analytics:generate:template": {
|
|
290
290
|
"aliases": [
|
|
291
|
-
"force:
|
|
291
|
+
"force:analytics:template:create"
|
|
292
292
|
],
|
|
293
293
|
"args": {},
|
|
294
294
|
"deprecateAliases": true,
|
|
295
|
-
"description": "
|
|
295
|
+
"description": "The metadata files associated with the Analytics template must be contained in a parent directory called \"waveTemplates\" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to generate one or point to an existing one.",
|
|
296
296
|
"examples": [
|
|
297
|
-
"Generate the metadata files for a
|
|
298
|
-
"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 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"
|
|
299
298
|
],
|
|
300
299
|
"flags": {
|
|
301
300
|
"json": {
|
|
@@ -313,33 +312,6 @@
|
|
|
313
312
|
"multiple": false,
|
|
314
313
|
"type": "option"
|
|
315
314
|
},
|
|
316
|
-
"name": {
|
|
317
|
-
"aliases": [
|
|
318
|
-
"appname"
|
|
319
|
-
],
|
|
320
|
-
"char": "n",
|
|
321
|
-
"deprecateAliases": true,
|
|
322
|
-
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
323
|
-
"name": "name",
|
|
324
|
-
"required": true,
|
|
325
|
-
"summary": "Name of the generated Lightning App.",
|
|
326
|
-
"hasDynamicHelp": false,
|
|
327
|
-
"multiple": false,
|
|
328
|
-
"type": "option"
|
|
329
|
-
},
|
|
330
|
-
"template": {
|
|
331
|
-
"char": "t",
|
|
332
|
-
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
333
|
-
"name": "template",
|
|
334
|
-
"summary": "Template to use for file creation.",
|
|
335
|
-
"default": "DefaultLightningApp",
|
|
336
|
-
"hasDynamicHelp": false,
|
|
337
|
-
"multiple": false,
|
|
338
|
-
"options": [
|
|
339
|
-
"DefaultLightningApp"
|
|
340
|
-
],
|
|
341
|
-
"type": "option"
|
|
342
|
-
},
|
|
343
315
|
"output-dir": {
|
|
344
316
|
"aliases": [
|
|
345
317
|
"outputdir"
|
|
@@ -365,13 +337,18 @@
|
|
|
365
337
|
"multiple": false,
|
|
366
338
|
"type": "option"
|
|
367
339
|
},
|
|
368
|
-
"
|
|
369
|
-
"
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
"
|
|
373
|
-
"
|
|
374
|
-
"
|
|
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"
|
|
375
352
|
},
|
|
376
353
|
"loglevel": {
|
|
377
354
|
"deprecated": {
|
|
@@ -386,68 +363,66 @@
|
|
|
386
363
|
},
|
|
387
364
|
"hasDynamicHelp": false,
|
|
388
365
|
"hiddenAliases": [],
|
|
389
|
-
"id": "
|
|
366
|
+
"id": "analytics:generate:template",
|
|
390
367
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
391
368
|
"pluginName": "@salesforce/plugin-templates",
|
|
392
369
|
"pluginType": "core",
|
|
393
370
|
"strict": true,
|
|
394
|
-
"summary": "Generate a
|
|
371
|
+
"summary": "Generate a simple Analytics template.",
|
|
395
372
|
"enableJsonFlag": true,
|
|
396
373
|
"isESM": true,
|
|
397
374
|
"relativePath": [
|
|
398
375
|
"lib",
|
|
399
376
|
"commands",
|
|
400
|
-
"
|
|
377
|
+
"analytics",
|
|
401
378
|
"generate",
|
|
402
|
-
"
|
|
379
|
+
"template.js"
|
|
403
380
|
],
|
|
404
381
|
"aliasPermutations": [
|
|
405
|
-
"force:
|
|
406
|
-
"
|
|
407
|
-
"
|
|
408
|
-
"
|
|
409
|
-
"force:
|
|
410
|
-
"
|
|
411
|
-
"
|
|
412
|
-
"
|
|
413
|
-
"force:
|
|
414
|
-
"
|
|
415
|
-
"
|
|
416
|
-
"
|
|
417
|
-
"force:
|
|
418
|
-
"
|
|
419
|
-
"
|
|
420
|
-
"
|
|
421
|
-
"force:create:
|
|
422
|
-
"create:force:
|
|
423
|
-
"create:
|
|
424
|
-
"create:
|
|
425
|
-
"force:create:
|
|
426
|
-
"create:force:
|
|
427
|
-
"create:
|
|
428
|
-
"create:
|
|
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"
|
|
429
406
|
],
|
|
430
407
|
"permutations": [
|
|
431
|
-
"
|
|
432
|
-
"generate:
|
|
433
|
-
"generate:
|
|
434
|
-
"
|
|
435
|
-
"
|
|
436
|
-
"
|
|
408
|
+
"analytics:generate:template",
|
|
409
|
+
"generate:analytics:template",
|
|
410
|
+
"generate:template:analytics",
|
|
411
|
+
"analytics:template:generate",
|
|
412
|
+
"template:analytics:generate",
|
|
413
|
+
"template:generate:analytics"
|
|
437
414
|
]
|
|
438
415
|
},
|
|
439
|
-
"
|
|
416
|
+
"apex:generate:class": {
|
|
440
417
|
"aliases": [
|
|
441
|
-
"force:
|
|
418
|
+
"force:apex:class:create"
|
|
442
419
|
],
|
|
443
420
|
"args": {},
|
|
444
421
|
"deprecateAliases": true,
|
|
445
|
-
"description": "Generates the
|
|
422
|
+
"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.",
|
|
446
423
|
"examples": [
|
|
447
|
-
"Generate
|
|
448
|
-
"
|
|
449
|
-
"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",
|
|
450
|
-
"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"
|
|
424
|
+
"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",
|
|
425
|
+
"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"
|
|
451
426
|
],
|
|
452
427
|
"flags": {
|
|
453
428
|
"json": {
|
|
@@ -467,14 +442,14 @@
|
|
|
467
442
|
},
|
|
468
443
|
"name": {
|
|
469
444
|
"aliases": [
|
|
470
|
-
"
|
|
445
|
+
"classname"
|
|
471
446
|
],
|
|
472
447
|
"char": "n",
|
|
473
448
|
"deprecateAliases": true,
|
|
474
449
|
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
475
450
|
"name": "name",
|
|
476
451
|
"required": true,
|
|
477
|
-
"summary": "Name of the generated
|
|
452
|
+
"summary": "Name of the generated Apex class.",
|
|
478
453
|
"hasDynamicHelp": false,
|
|
479
454
|
"multiple": false,
|
|
480
455
|
"type": "option"
|
|
@@ -484,13 +459,15 @@
|
|
|
484
459
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
485
460
|
"name": "template",
|
|
486
461
|
"summary": "Template to use for file creation.",
|
|
487
|
-
"default": "
|
|
462
|
+
"default": "DefaultApexClass",
|
|
488
463
|
"hasDynamicHelp": false,
|
|
489
464
|
"multiple": false,
|
|
490
465
|
"options": [
|
|
491
|
-
"
|
|
492
|
-
"
|
|
493
|
-
"
|
|
466
|
+
"ApexException",
|
|
467
|
+
"ApexUnitTest",
|
|
468
|
+
"BasicUnitTest",
|
|
469
|
+
"DefaultApexClass",
|
|
470
|
+
"InboundEmailService"
|
|
494
471
|
],
|
|
495
472
|
"type": "option"
|
|
496
473
|
},
|
|
@@ -519,26 +496,6 @@
|
|
|
519
496
|
"multiple": false,
|
|
520
497
|
"type": "option"
|
|
521
498
|
},
|
|
522
|
-
"type": {
|
|
523
|
-
"name": "type",
|
|
524
|
-
"summary": "Type of the component bundle.",
|
|
525
|
-
"default": "aura",
|
|
526
|
-
"hasDynamicHelp": false,
|
|
527
|
-
"multiple": false,
|
|
528
|
-
"options": [
|
|
529
|
-
"aura",
|
|
530
|
-
"lwc"
|
|
531
|
-
],
|
|
532
|
-
"type": "option"
|
|
533
|
-
},
|
|
534
|
-
"internal": {
|
|
535
|
-
"char": "i",
|
|
536
|
-
"hidden": true,
|
|
537
|
-
"name": "internal",
|
|
538
|
-
"summary": "Generate lightning bundles without creating a -meta.xml file.",
|
|
539
|
-
"allowNo": false,
|
|
540
|
-
"type": "boolean"
|
|
541
|
-
},
|
|
542
499
|
"loglevel": {
|
|
543
500
|
"deprecated": {
|
|
544
501
|
"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."
|
|
@@ -552,66 +509,67 @@
|
|
|
552
509
|
},
|
|
553
510
|
"hasDynamicHelp": false,
|
|
554
511
|
"hiddenAliases": [],
|
|
555
|
-
"id": "
|
|
512
|
+
"id": "apex:generate:class",
|
|
556
513
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
557
514
|
"pluginName": "@salesforce/plugin-templates",
|
|
558
515
|
"pluginType": "core",
|
|
559
516
|
"strict": true,
|
|
560
|
-
"summary": "Generate
|
|
517
|
+
"summary": "Generate an Apex class.",
|
|
561
518
|
"enableJsonFlag": true,
|
|
562
519
|
"isESM": true,
|
|
563
520
|
"relativePath": [
|
|
564
521
|
"lib",
|
|
565
522
|
"commands",
|
|
566
|
-
"
|
|
523
|
+
"apex",
|
|
567
524
|
"generate",
|
|
568
|
-
"
|
|
525
|
+
"class.js"
|
|
569
526
|
],
|
|
570
527
|
"aliasPermutations": [
|
|
571
|
-
"force:
|
|
572
|
-
"
|
|
573
|
-
"
|
|
574
|
-
"
|
|
575
|
-
"force:
|
|
576
|
-
"
|
|
577
|
-
"
|
|
578
|
-
"
|
|
579
|
-
"force:
|
|
580
|
-
"
|
|
581
|
-
"
|
|
582
|
-
"
|
|
583
|
-
"force:
|
|
584
|
-
"
|
|
585
|
-
"
|
|
586
|
-
"
|
|
587
|
-
"force:create:
|
|
588
|
-
"create:force:
|
|
589
|
-
"create:
|
|
590
|
-
"create:
|
|
591
|
-
"force:create:
|
|
592
|
-
"create:force:
|
|
593
|
-
"create:
|
|
594
|
-
"create:
|
|
528
|
+
"force:apex:class:create",
|
|
529
|
+
"apex:force:class:create",
|
|
530
|
+
"apex:class:force:create",
|
|
531
|
+
"apex:class:create:force",
|
|
532
|
+
"force:class:apex:create",
|
|
533
|
+
"class:force:apex:create",
|
|
534
|
+
"class:apex:force:create",
|
|
535
|
+
"class:apex:create:force",
|
|
536
|
+
"force:class:create:apex",
|
|
537
|
+
"class:force:create:apex",
|
|
538
|
+
"class:create:force:apex",
|
|
539
|
+
"class:create:apex:force",
|
|
540
|
+
"force:apex:create:class",
|
|
541
|
+
"apex:force:create:class",
|
|
542
|
+
"apex:create:force:class",
|
|
543
|
+
"apex:create:class:force",
|
|
544
|
+
"force:create:apex:class",
|
|
545
|
+
"create:force:apex:class",
|
|
546
|
+
"create:apex:force:class",
|
|
547
|
+
"create:apex:class:force",
|
|
548
|
+
"force:create:class:apex",
|
|
549
|
+
"create:force:class:apex",
|
|
550
|
+
"create:class:force:apex",
|
|
551
|
+
"create:class:apex:force"
|
|
595
552
|
],
|
|
596
553
|
"permutations": [
|
|
597
|
-
"
|
|
598
|
-
"generate:
|
|
599
|
-
"generate:
|
|
600
|
-
"
|
|
601
|
-
"
|
|
602
|
-
"
|
|
554
|
+
"apex:generate:class",
|
|
555
|
+
"generate:apex:class",
|
|
556
|
+
"generate:class:apex",
|
|
557
|
+
"apex:class:generate",
|
|
558
|
+
"class:apex:generate",
|
|
559
|
+
"class:generate:apex"
|
|
603
560
|
]
|
|
604
561
|
},
|
|
605
|
-
"
|
|
562
|
+
"apex:generate:trigger": {
|
|
606
563
|
"aliases": [
|
|
607
|
-
"force:
|
|
564
|
+
"force:apex:trigger:create"
|
|
608
565
|
],
|
|
609
566
|
"args": {},
|
|
610
567
|
"deprecateAliases": true,
|
|
611
|
-
"description": "Generates a
|
|
568
|
+
"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.",
|
|
612
569
|
"examples": [
|
|
613
|
-
"Generate
|
|
614
|
-
"Similar to previous example, but generate the files in the \"force-app/main/default/
|
|
570
|
+
"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",
|
|
571
|
+
"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",
|
|
572
|
+
"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\""
|
|
615
573
|
],
|
|
616
574
|
"flags": {
|
|
617
575
|
"json": {
|
|
@@ -631,14 +589,14 @@
|
|
|
631
589
|
},
|
|
632
590
|
"name": {
|
|
633
591
|
"aliases": [
|
|
634
|
-
"
|
|
592
|
+
"triggername"
|
|
635
593
|
],
|
|
636
594
|
"char": "n",
|
|
637
595
|
"deprecateAliases": true,
|
|
638
596
|
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
639
597
|
"name": "name",
|
|
640
598
|
"required": true,
|
|
641
|
-
"summary": "Name of the generated
|
|
599
|
+
"summary": "Name of the generated Apex trigger",
|
|
642
600
|
"hasDynamicHelp": false,
|
|
643
601
|
"multiple": false,
|
|
644
602
|
"type": "option"
|
|
@@ -648,11 +606,11 @@
|
|
|
648
606
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
649
607
|
"name": "template",
|
|
650
608
|
"summary": "Template to use for file creation.",
|
|
651
|
-
"default": "
|
|
609
|
+
"default": "ApexTrigger",
|
|
652
610
|
"hasDynamicHelp": false,
|
|
653
611
|
"multiple": false,
|
|
654
612
|
"options": [
|
|
655
|
-
"
|
|
613
|
+
"ApexTrigger"
|
|
656
614
|
],
|
|
657
615
|
"type": "option"
|
|
658
616
|
},
|
|
@@ -681,13 +639,39 @@
|
|
|
681
639
|
"multiple": false,
|
|
682
640
|
"type": "option"
|
|
683
641
|
},
|
|
684
|
-
"
|
|
685
|
-
"char": "
|
|
686
|
-
"
|
|
687
|
-
"
|
|
688
|
-
"
|
|
689
|
-
"
|
|
690
|
-
"
|
|
642
|
+
"sobject": {
|
|
643
|
+
"char": "s",
|
|
644
|
+
"name": "sobject",
|
|
645
|
+
"summary": "Salesforce object to generate a trigger on.",
|
|
646
|
+
"default": "SOBJECT",
|
|
647
|
+
"hasDynamicHelp": false,
|
|
648
|
+
"multiple": false,
|
|
649
|
+
"type": "option"
|
|
650
|
+
},
|
|
651
|
+
"event": {
|
|
652
|
+
"aliases": [
|
|
653
|
+
"triggerevents"
|
|
654
|
+
],
|
|
655
|
+
"char": "e",
|
|
656
|
+
"deprecateAliases": true,
|
|
657
|
+
"name": "event",
|
|
658
|
+
"summary": "Events that fire the trigger.",
|
|
659
|
+
"default": [
|
|
660
|
+
"before insert"
|
|
661
|
+
],
|
|
662
|
+
"delimiter": ",",
|
|
663
|
+
"hasDynamicHelp": false,
|
|
664
|
+
"multiple": true,
|
|
665
|
+
"options": [
|
|
666
|
+
"before insert",
|
|
667
|
+
"before update",
|
|
668
|
+
"before delete",
|
|
669
|
+
"after insert",
|
|
670
|
+
"after update",
|
|
671
|
+
"after delete",
|
|
672
|
+
"after undelete"
|
|
673
|
+
],
|
|
674
|
+
"type": "option"
|
|
691
675
|
},
|
|
692
676
|
"loglevel": {
|
|
693
677
|
"deprecated": {
|
|
@@ -702,66 +686,66 @@
|
|
|
702
686
|
},
|
|
703
687
|
"hasDynamicHelp": false,
|
|
704
688
|
"hiddenAliases": [],
|
|
705
|
-
"id": "
|
|
689
|
+
"id": "apex:generate:trigger",
|
|
706
690
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
707
691
|
"pluginName": "@salesforce/plugin-templates",
|
|
708
692
|
"pluginType": "core",
|
|
709
693
|
"strict": true,
|
|
710
|
-
"summary": "Generate
|
|
694
|
+
"summary": "Generate an Apex trigger.",
|
|
711
695
|
"enableJsonFlag": true,
|
|
712
696
|
"isESM": true,
|
|
713
697
|
"relativePath": [
|
|
714
698
|
"lib",
|
|
715
699
|
"commands",
|
|
716
|
-
"
|
|
700
|
+
"apex",
|
|
717
701
|
"generate",
|
|
718
|
-
"
|
|
702
|
+
"trigger.js"
|
|
719
703
|
],
|
|
720
704
|
"aliasPermutations": [
|
|
721
|
-
"force:
|
|
722
|
-
"
|
|
723
|
-
"
|
|
724
|
-
"
|
|
725
|
-
"force:
|
|
726
|
-
"
|
|
727
|
-
"
|
|
728
|
-
"
|
|
729
|
-
"force:
|
|
730
|
-
"
|
|
731
|
-
"
|
|
732
|
-
"
|
|
733
|
-
"force:
|
|
734
|
-
"
|
|
735
|
-
"
|
|
736
|
-
"
|
|
737
|
-
"force:create:
|
|
738
|
-
"create:force:
|
|
739
|
-
"create:
|
|
740
|
-
"create:
|
|
741
|
-
"force:create:
|
|
742
|
-
"create:force:
|
|
743
|
-
"create:
|
|
744
|
-
"create:
|
|
705
|
+
"force:apex:trigger:create",
|
|
706
|
+
"apex:force:trigger:create",
|
|
707
|
+
"apex:trigger:force:create",
|
|
708
|
+
"apex:trigger:create:force",
|
|
709
|
+
"force:trigger:apex:create",
|
|
710
|
+
"trigger:force:apex:create",
|
|
711
|
+
"trigger:apex:force:create",
|
|
712
|
+
"trigger:apex:create:force",
|
|
713
|
+
"force:trigger:create:apex",
|
|
714
|
+
"trigger:force:create:apex",
|
|
715
|
+
"trigger:create:force:apex",
|
|
716
|
+
"trigger:create:apex:force",
|
|
717
|
+
"force:apex:create:trigger",
|
|
718
|
+
"apex:force:create:trigger",
|
|
719
|
+
"apex:create:force:trigger",
|
|
720
|
+
"apex:create:trigger:force",
|
|
721
|
+
"force:create:apex:trigger",
|
|
722
|
+
"create:force:apex:trigger",
|
|
723
|
+
"create:apex:force:trigger",
|
|
724
|
+
"create:apex:trigger:force",
|
|
725
|
+
"force:create:trigger:apex",
|
|
726
|
+
"create:force:trigger:apex",
|
|
727
|
+
"create:trigger:force:apex",
|
|
728
|
+
"create:trigger:apex:force"
|
|
745
729
|
],
|
|
746
730
|
"permutations": [
|
|
747
|
-
"
|
|
748
|
-
"generate:
|
|
749
|
-
"generate:
|
|
750
|
-
"
|
|
751
|
-
"
|
|
752
|
-
"
|
|
731
|
+
"apex:generate:trigger",
|
|
732
|
+
"generate:apex:trigger",
|
|
733
|
+
"generate:trigger:apex",
|
|
734
|
+
"apex:trigger:generate",
|
|
735
|
+
"trigger:apex:generate",
|
|
736
|
+
"trigger:generate:apex"
|
|
753
737
|
]
|
|
754
738
|
},
|
|
755
|
-
"lightning:generate:
|
|
739
|
+
"lightning:generate:app": {
|
|
756
740
|
"aliases": [
|
|
757
|
-
"force:lightning:
|
|
741
|
+
"force:lightning:app:create"
|
|
758
742
|
],
|
|
759
743
|
"args": {},
|
|
760
744
|
"deprecateAliases": true,
|
|
761
|
-
"description": "Generates a Lightning
|
|
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.",
|
|
762
746
|
"examples": [
|
|
763
|
-
"Generate the metadata files for a Lightning
|
|
764
|
-
"Similar to the previous example but generate the files in the \"force-app/main/default/aura\" directory:\n<%= config.bin %> <%= command.id %> --name
|
|
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"
|
|
765
749
|
],
|
|
766
750
|
"flags": {
|
|
767
751
|
"json": {
|
|
@@ -781,14 +765,14 @@
|
|
|
781
765
|
},
|
|
782
766
|
"name": {
|
|
783
767
|
"aliases": [
|
|
784
|
-
"
|
|
768
|
+
"appname"
|
|
785
769
|
],
|
|
786
770
|
"char": "n",
|
|
787
771
|
"deprecateAliases": true,
|
|
788
772
|
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
789
773
|
"name": "name",
|
|
790
774
|
"required": true,
|
|
791
|
-
"summary": "Name of the generated Lightning
|
|
775
|
+
"summary": "Name of the generated Lightning App.",
|
|
792
776
|
"hasDynamicHelp": false,
|
|
793
777
|
"multiple": false,
|
|
794
778
|
"type": "option"
|
|
@@ -798,11 +782,11 @@
|
|
|
798
782
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
799
783
|
"name": "template",
|
|
800
784
|
"summary": "Template to use for file creation.",
|
|
801
|
-
"default": "
|
|
785
|
+
"default": "DefaultLightningApp",
|
|
802
786
|
"hasDynamicHelp": false,
|
|
803
787
|
"multiple": false,
|
|
804
788
|
"options": [
|
|
805
|
-
"
|
|
789
|
+
"DefaultLightningApp"
|
|
806
790
|
],
|
|
807
791
|
"type": "option"
|
|
808
792
|
},
|
|
@@ -852,12 +836,12 @@
|
|
|
852
836
|
},
|
|
853
837
|
"hasDynamicHelp": false,
|
|
854
838
|
"hiddenAliases": [],
|
|
855
|
-
"id": "lightning:generate:
|
|
839
|
+
"id": "lightning:generate:app",
|
|
856
840
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
857
841
|
"pluginName": "@salesforce/plugin-templates",
|
|
858
842
|
"pluginType": "core",
|
|
859
843
|
"strict": true,
|
|
860
|
-
"summary": "Generate a Lightning
|
|
844
|
+
"summary": "Generate a Lightning App.",
|
|
861
845
|
"enableJsonFlag": true,
|
|
862
846
|
"isESM": true,
|
|
863
847
|
"relativePath": [
|
|
@@ -865,53 +849,55 @@
|
|
|
865
849
|
"commands",
|
|
866
850
|
"lightning",
|
|
867
851
|
"generate",
|
|
868
|
-
"
|
|
852
|
+
"app.js"
|
|
869
853
|
],
|
|
870
854
|
"aliasPermutations": [
|
|
871
|
-
"force:lightning:
|
|
872
|
-
"lightning:force:
|
|
873
|
-
"lightning:
|
|
874
|
-
"lightning:
|
|
875
|
-
"force:
|
|
876
|
-
"
|
|
877
|
-
"
|
|
878
|
-
"
|
|
879
|
-
"force:
|
|
880
|
-
"
|
|
881
|
-
"
|
|
882
|
-
"
|
|
883
|
-
"force:lightning:create:
|
|
884
|
-
"lightning:force:create:
|
|
885
|
-
"lightning:create:force:
|
|
886
|
-
"lightning:create:
|
|
887
|
-
"force:create:lightning:
|
|
888
|
-
"create:force:lightning:
|
|
889
|
-
"create:lightning:force:
|
|
890
|
-
"create:lightning:
|
|
891
|
-
"force:create:
|
|
892
|
-
"create:force:
|
|
893
|
-
"create:
|
|
894
|
-
"create:
|
|
855
|
+
"force:lightning:app:create",
|
|
856
|
+
"lightning:force:app:create",
|
|
857
|
+
"lightning:app:force:create",
|
|
858
|
+
"lightning:app:create:force",
|
|
859
|
+
"force:app:lightning:create",
|
|
860
|
+
"app:force:lightning:create",
|
|
861
|
+
"app:lightning:force:create",
|
|
862
|
+
"app:lightning:create:force",
|
|
863
|
+
"force:app:create:lightning",
|
|
864
|
+
"app:force:create:lightning",
|
|
865
|
+
"app:create:force:lightning",
|
|
866
|
+
"app:create:lightning:force",
|
|
867
|
+
"force:lightning:create:app",
|
|
868
|
+
"lightning:force:create:app",
|
|
869
|
+
"lightning:create:force:app",
|
|
870
|
+
"lightning:create:app:force",
|
|
871
|
+
"force:create:lightning:app",
|
|
872
|
+
"create:force:lightning:app",
|
|
873
|
+
"create:lightning:force:app",
|
|
874
|
+
"create:lightning:app:force",
|
|
875
|
+
"force:create:app:lightning",
|
|
876
|
+
"create:force:app:lightning",
|
|
877
|
+
"create:app:force:lightning",
|
|
878
|
+
"create:app:lightning:force"
|
|
895
879
|
],
|
|
896
880
|
"permutations": [
|
|
897
|
-
"lightning:generate:
|
|
898
|
-
"generate:lightning:
|
|
899
|
-
"generate:
|
|
900
|
-
"lightning:
|
|
901
|
-
"
|
|
902
|
-
"
|
|
881
|
+
"lightning:generate:app",
|
|
882
|
+
"generate:lightning:app",
|
|
883
|
+
"generate:app:lightning",
|
|
884
|
+
"lightning:app:generate",
|
|
885
|
+
"app:lightning:generate",
|
|
886
|
+
"app:generate:lightning"
|
|
903
887
|
]
|
|
904
888
|
},
|
|
905
|
-
"lightning:generate:
|
|
889
|
+
"lightning:generate:component": {
|
|
906
890
|
"aliases": [
|
|
907
|
-
"force:lightning:
|
|
891
|
+
"force:lightning:component:create"
|
|
908
892
|
],
|
|
909
893
|
"args": {},
|
|
910
894
|
"deprecateAliases": true,
|
|
911
|
-
"description": "Generates the
|
|
895
|
+
"description": "Generates the bundle in the specified directory or the current working directory. The bundle consists of multiple files in a directory with the designated name. Lightning web components are contained in the directory with name \"lwc\", Aura components in \"aura\".\n\nTo generate a Lightning web component, pass \"--type lwc\" to the command. If you don’t specify --type, Salesforce CLI generates an Aura component by default.",
|
|
912
896
|
"examples": [
|
|
913
|
-
"Generate the metadata files for
|
|
914
|
-
"
|
|
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"
|
|
915
901
|
],
|
|
916
902
|
"flags": {
|
|
917
903
|
"json": {
|
|
@@ -931,14 +917,14 @@
|
|
|
931
917
|
},
|
|
932
918
|
"name": {
|
|
933
919
|
"aliases": [
|
|
934
|
-
"
|
|
920
|
+
"componentname"
|
|
935
921
|
],
|
|
936
922
|
"char": "n",
|
|
937
923
|
"deprecateAliases": true,
|
|
938
|
-
"description": "
|
|
924
|
+
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
939
925
|
"name": "name",
|
|
940
926
|
"required": true,
|
|
941
|
-
"summary": "Name of the generated Lightning
|
|
927
|
+
"summary": "Name of the generated Lightning Component.",
|
|
942
928
|
"hasDynamicHelp": false,
|
|
943
929
|
"multiple": false,
|
|
944
930
|
"type": "option"
|
|
@@ -948,11 +934,13 @@
|
|
|
948
934
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
949
935
|
"name": "template",
|
|
950
936
|
"summary": "Template to use for file creation.",
|
|
951
|
-
"default": "
|
|
937
|
+
"default": "default",
|
|
952
938
|
"hasDynamicHelp": false,
|
|
953
939
|
"multiple": false,
|
|
954
940
|
"options": [
|
|
955
|
-
"
|
|
941
|
+
"default",
|
|
942
|
+
"analyticsDashboard",
|
|
943
|
+
"analyticsDashboardWithStep"
|
|
956
944
|
],
|
|
957
945
|
"type": "option"
|
|
958
946
|
},
|
|
@@ -970,14 +958,6 @@
|
|
|
970
958
|
"multiple": false,
|
|
971
959
|
"type": "option"
|
|
972
960
|
},
|
|
973
|
-
"internal": {
|
|
974
|
-
"char": "i",
|
|
975
|
-
"hidden": true,
|
|
976
|
-
"name": "internal",
|
|
977
|
-
"summary": "Generate lightning bundles without creating a -meta.xml file.",
|
|
978
|
-
"allowNo": false,
|
|
979
|
-
"type": "boolean"
|
|
980
|
-
},
|
|
981
961
|
"api-version": {
|
|
982
962
|
"aliases": [
|
|
983
963
|
"apiversion"
|
|
@@ -989,6 +969,26 @@
|
|
|
989
969
|
"multiple": false,
|
|
990
970
|
"type": "option"
|
|
991
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
|
+
},
|
|
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
992
|
"loglevel": {
|
|
993
993
|
"deprecated": {
|
|
994
994
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
@@ -1002,12 +1002,12 @@
|
|
|
1002
1002
|
},
|
|
1003
1003
|
"hasDynamicHelp": false,
|
|
1004
1004
|
"hiddenAliases": [],
|
|
1005
|
-
"id": "lightning:generate:
|
|
1005
|
+
"id": "lightning:generate:component",
|
|
1006
1006
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
1007
1007
|
"pluginName": "@salesforce/plugin-templates",
|
|
1008
1008
|
"pluginType": "core",
|
|
1009
1009
|
"strict": true,
|
|
1010
|
-
"summary": "Generate a Lightning
|
|
1010
|
+
"summary": "Generate a bundle for an Aura component or a Lightning web component.",
|
|
1011
1011
|
"enableJsonFlag": true,
|
|
1012
1012
|
"isESM": true,
|
|
1013
1013
|
"relativePath": [
|
|
@@ -1015,52 +1015,53 @@
|
|
|
1015
1015
|
"commands",
|
|
1016
1016
|
"lightning",
|
|
1017
1017
|
"generate",
|
|
1018
|
-
"
|
|
1018
|
+
"component.js"
|
|
1019
1019
|
],
|
|
1020
1020
|
"aliasPermutations": [
|
|
1021
|
-
"force:lightning:
|
|
1022
|
-
"lightning:force:
|
|
1023
|
-
"lightning:
|
|
1024
|
-
"lightning:
|
|
1025
|
-
"force:
|
|
1026
|
-
"
|
|
1027
|
-
"
|
|
1028
|
-
"
|
|
1029
|
-
"force:
|
|
1030
|
-
"
|
|
1031
|
-
"
|
|
1032
|
-
"
|
|
1033
|
-
"force:lightning:create:
|
|
1034
|
-
"lightning:force:create:
|
|
1035
|
-
"lightning:create:force:
|
|
1036
|
-
"lightning:create:
|
|
1037
|
-
"force:create:lightning:
|
|
1038
|
-
"create:force:lightning:
|
|
1039
|
-
"create:lightning:force:
|
|
1040
|
-
"create:lightning:
|
|
1041
|
-
"force:create:
|
|
1042
|
-
"create:force:
|
|
1043
|
-
"create:
|
|
1044
|
-
"create:
|
|
1021
|
+
"force:lightning:component:create",
|
|
1022
|
+
"lightning:force:component:create",
|
|
1023
|
+
"lightning:component:force:create",
|
|
1024
|
+
"lightning:component:create:force",
|
|
1025
|
+
"force:component:lightning:create",
|
|
1026
|
+
"component:force:lightning:create",
|
|
1027
|
+
"component:lightning:force:create",
|
|
1028
|
+
"component:lightning:create:force",
|
|
1029
|
+
"force:component:create:lightning",
|
|
1030
|
+
"component:force:create:lightning",
|
|
1031
|
+
"component:create:force:lightning",
|
|
1032
|
+
"component:create:lightning:force",
|
|
1033
|
+
"force:lightning:create:component",
|
|
1034
|
+
"lightning:force:create:component",
|
|
1035
|
+
"lightning:create:force:component",
|
|
1036
|
+
"lightning:create:component:force",
|
|
1037
|
+
"force:create:lightning:component",
|
|
1038
|
+
"create:force:lightning:component",
|
|
1039
|
+
"create:lightning:force:component",
|
|
1040
|
+
"create:lightning:component:force",
|
|
1041
|
+
"force:create:component:lightning",
|
|
1042
|
+
"create:force:component:lightning",
|
|
1043
|
+
"create:component:force:lightning",
|
|
1044
|
+
"create:component:lightning:force"
|
|
1045
1045
|
],
|
|
1046
1046
|
"permutations": [
|
|
1047
|
-
"lightning:generate:
|
|
1048
|
-
"generate:lightning:
|
|
1049
|
-
"generate:
|
|
1050
|
-
"lightning:
|
|
1051
|
-
"
|
|
1052
|
-
"
|
|
1047
|
+
"lightning:generate:component",
|
|
1048
|
+
"generate:lightning:component",
|
|
1049
|
+
"generate:component:lightning",
|
|
1050
|
+
"lightning:component:generate",
|
|
1051
|
+
"component:lightning:generate",
|
|
1052
|
+
"component:generate:lightning"
|
|
1053
1053
|
]
|
|
1054
1054
|
},
|
|
1055
|
-
"
|
|
1055
|
+
"lightning:generate:event": {
|
|
1056
1056
|
"aliases": [
|
|
1057
|
-
"force:
|
|
1057
|
+
"force:lightning:event:create"
|
|
1058
1058
|
],
|
|
1059
1059
|
"args": {},
|
|
1060
1060
|
"deprecateAliases": true,
|
|
1061
|
-
"description": "
|
|
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.",
|
|
1062
1062
|
"examples": [
|
|
1063
|
-
"Generate the metadata files for a
|
|
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"
|
|
1064
1065
|
],
|
|
1065
1066
|
"flags": {
|
|
1066
1067
|
"json": {
|
|
@@ -1078,6 +1079,33 @@
|
|
|
1078
1079
|
"multiple": false,
|
|
1079
1080
|
"type": "option"
|
|
1080
1081
|
},
|
|
1082
|
+
"name": {
|
|
1083
|
+
"aliases": [
|
|
1084
|
+
"eventname"
|
|
1085
|
+
],
|
|
1086
|
+
"char": "n",
|
|
1087
|
+
"deprecateAliases": true,
|
|
1088
|
+
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
1089
|
+
"name": "name",
|
|
1090
|
+
"required": true,
|
|
1091
|
+
"summary": "Name of the generated Lightning Event.",
|
|
1092
|
+
"hasDynamicHelp": false,
|
|
1093
|
+
"multiple": false,
|
|
1094
|
+
"type": "option"
|
|
1095
|
+
},
|
|
1096
|
+
"template": {
|
|
1097
|
+
"char": "t",
|
|
1098
|
+
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
1099
|
+
"name": "template",
|
|
1100
|
+
"summary": "Template to use for file creation.",
|
|
1101
|
+
"default": "DefaultLightningEvt",
|
|
1102
|
+
"hasDynamicHelp": false,
|
|
1103
|
+
"multiple": false,
|
|
1104
|
+
"options": [
|
|
1105
|
+
"DefaultLightningEvt"
|
|
1106
|
+
],
|
|
1107
|
+
"type": "option"
|
|
1108
|
+
},
|
|
1081
1109
|
"output-dir": {
|
|
1082
1110
|
"aliases": [
|
|
1083
1111
|
"outputdir"
|
|
@@ -1103,18 +1131,13 @@
|
|
|
1103
1131
|
"multiple": false,
|
|
1104
1132
|
"type": "option"
|
|
1105
1133
|
},
|
|
1106
|
-
"
|
|
1107
|
-
"
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
"
|
|
1111
|
-
"
|
|
1112
|
-
"
|
|
1113
|
-
"required": true,
|
|
1114
|
-
"summary": "Name of the Analytics template.",
|
|
1115
|
-
"hasDynamicHelp": false,
|
|
1116
|
-
"multiple": false,
|
|
1117
|
-
"type": "option"
|
|
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"
|
|
1118
1141
|
},
|
|
1119
1142
|
"loglevel": {
|
|
1120
1143
|
"deprecated": {
|
|
@@ -1129,66 +1152,66 @@
|
|
|
1129
1152
|
},
|
|
1130
1153
|
"hasDynamicHelp": false,
|
|
1131
1154
|
"hiddenAliases": [],
|
|
1132
|
-
"id": "
|
|
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
|
|
1160
|
+
"summary": "Generate a Lightning Event.",
|
|
1138
1161
|
"enableJsonFlag": true,
|
|
1139
1162
|
"isESM": true,
|
|
1140
1163
|
"relativePath": [
|
|
1141
1164
|
"lib",
|
|
1142
1165
|
"commands",
|
|
1143
|
-
"
|
|
1166
|
+
"lightning",
|
|
1144
1167
|
"generate",
|
|
1145
|
-
"
|
|
1168
|
+
"event.js"
|
|
1146
1169
|
],
|
|
1147
1170
|
"aliasPermutations": [
|
|
1148
|
-
"force:
|
|
1149
|
-
"
|
|
1150
|
-
"
|
|
1151
|
-
"
|
|
1152
|
-
"force:
|
|
1153
|
-
"
|
|
1154
|
-
"
|
|
1155
|
-
"
|
|
1156
|
-
"force:
|
|
1157
|
-
"
|
|
1158
|
-
"
|
|
1159
|
-
"
|
|
1160
|
-
"force:
|
|
1161
|
-
"
|
|
1162
|
-
"
|
|
1163
|
-
"
|
|
1164
|
-
"force:create:
|
|
1165
|
-
"create:force:
|
|
1166
|
-
"create:
|
|
1167
|
-
"create:
|
|
1168
|
-
"force:create:
|
|
1169
|
-
"create:force:
|
|
1170
|
-
"create:
|
|
1171
|
-
"create:
|
|
1171
|
+
"force:lightning:event:create",
|
|
1172
|
+
"lightning:force:event:create",
|
|
1173
|
+
"lightning:event:force:create",
|
|
1174
|
+
"lightning:event:create:force",
|
|
1175
|
+
"force:event:lightning:create",
|
|
1176
|
+
"event:force:lightning:create",
|
|
1177
|
+
"event:lightning:force:create",
|
|
1178
|
+
"event:lightning:create:force",
|
|
1179
|
+
"force:event:create:lightning",
|
|
1180
|
+
"event:force:create:lightning",
|
|
1181
|
+
"event:create:force:lightning",
|
|
1182
|
+
"event:create:lightning:force",
|
|
1183
|
+
"force:lightning:create:event",
|
|
1184
|
+
"lightning:force:create:event",
|
|
1185
|
+
"lightning:create:force:event",
|
|
1186
|
+
"lightning:create:event:force",
|
|
1187
|
+
"force:create:lightning:event",
|
|
1188
|
+
"create:force:lightning:event",
|
|
1189
|
+
"create:lightning:force:event",
|
|
1190
|
+
"create:lightning:event:force",
|
|
1191
|
+
"force:create:event:lightning",
|
|
1192
|
+
"create:force:event:lightning",
|
|
1193
|
+
"create:event:force:lightning",
|
|
1194
|
+
"create:event:lightning:force"
|
|
1172
1195
|
],
|
|
1173
1196
|
"permutations": [
|
|
1174
|
-
"
|
|
1175
|
-
"generate:
|
|
1176
|
-
"generate:
|
|
1177
|
-
"
|
|
1178
|
-
"
|
|
1179
|
-
"
|
|
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
|
-
"
|
|
1205
|
+
"lightning:generate:interface": {
|
|
1183
1206
|
"aliases": [
|
|
1184
|
-
"force:
|
|
1207
|
+
"force:lightning:interface:create"
|
|
1185
1208
|
],
|
|
1186
1209
|
"args": {},
|
|
1187
1210
|
"deprecateAliases": true,
|
|
1188
|
-
"description": "Generates
|
|
1211
|
+
"description": "Generates a Lightning Interface bundle in the specified directory or the current working directory. The bundle consists of multiple files in a folder with the designated name.",
|
|
1189
1212
|
"examples": [
|
|
1190
|
-
"Generate
|
|
1191
|
-
"Similar to previous example
|
|
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
|
-
"
|
|
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
|
|
1241
|
+
"summary": "Name of the generated Lightning Interface.",
|
|
1219
1242
|
"hasDynamicHelp": false,
|
|
1220
1243
|
"multiple": false,
|
|
1221
1244
|
"type": "option"
|
|
@@ -1225,15 +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": "
|
|
1251
|
+
"default": "DefaultLightningIntf",
|
|
1229
1252
|
"hasDynamicHelp": false,
|
|
1230
1253
|
"multiple": false,
|
|
1231
1254
|
"options": [
|
|
1232
|
-
"
|
|
1233
|
-
"ApexUnitTest",
|
|
1234
|
-
"BasicUnitTest",
|
|
1235
|
-
"DefaultApexClass",
|
|
1236
|
-
"InboundEmailService"
|
|
1255
|
+
"DefaultLightningIntf"
|
|
1237
1256
|
],
|
|
1238
1257
|
"type": "option"
|
|
1239
1258
|
},
|
|
@@ -1262,6 +1281,14 @@
|
|
|
1262
1281
|
"multiple": false,
|
|
1263
1282
|
"type": "option"
|
|
1264
1283
|
},
|
|
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"
|
|
1291
|
+
},
|
|
1265
1292
|
"loglevel": {
|
|
1266
1293
|
"deprecated": {
|
|
1267
1294
|
"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."
|
|
@@ -1275,67 +1302,66 @@
|
|
|
1275
1302
|
},
|
|
1276
1303
|
"hasDynamicHelp": false,
|
|
1277
1304
|
"hiddenAliases": [],
|
|
1278
|
-
"id": "
|
|
1305
|
+
"id": "lightning:generate:interface",
|
|
1279
1306
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
1280
1307
|
"pluginName": "@salesforce/plugin-templates",
|
|
1281
1308
|
"pluginType": "core",
|
|
1282
1309
|
"strict": true,
|
|
1283
|
-
"summary": "Generate
|
|
1310
|
+
"summary": "Generate a Lightning Interface.",
|
|
1284
1311
|
"enableJsonFlag": true,
|
|
1285
1312
|
"isESM": true,
|
|
1286
1313
|
"relativePath": [
|
|
1287
1314
|
"lib",
|
|
1288
1315
|
"commands",
|
|
1289
|
-
"
|
|
1316
|
+
"lightning",
|
|
1290
1317
|
"generate",
|
|
1291
|
-
"
|
|
1318
|
+
"interface.js"
|
|
1292
1319
|
],
|
|
1293
1320
|
"aliasPermutations": [
|
|
1294
|
-
"force:
|
|
1295
|
-
"
|
|
1296
|
-
"
|
|
1297
|
-
"
|
|
1298
|
-
"force:
|
|
1299
|
-
"
|
|
1300
|
-
"
|
|
1301
|
-
"
|
|
1302
|
-
"force:
|
|
1303
|
-
"
|
|
1304
|
-
"
|
|
1305
|
-
"
|
|
1306
|
-
"force:
|
|
1307
|
-
"
|
|
1308
|
-
"
|
|
1309
|
-
"
|
|
1310
|
-
"force:create:
|
|
1311
|
-
"create:force:
|
|
1312
|
-
"create:
|
|
1313
|
-
"create:
|
|
1314
|
-
"force:create:
|
|
1315
|
-
"create:force:
|
|
1316
|
-
"create:
|
|
1317
|
-
"create:
|
|
1321
|
+
"force:lightning:interface:create",
|
|
1322
|
+
"lightning:force:interface:create",
|
|
1323
|
+
"lightning:interface:force:create",
|
|
1324
|
+
"lightning:interface:create:force",
|
|
1325
|
+
"force:interface:lightning:create",
|
|
1326
|
+
"interface:force:lightning:create",
|
|
1327
|
+
"interface:lightning:force:create",
|
|
1328
|
+
"interface:lightning:create:force",
|
|
1329
|
+
"force:interface:create:lightning",
|
|
1330
|
+
"interface:force:create:lightning",
|
|
1331
|
+
"interface:create:force:lightning",
|
|
1332
|
+
"interface:create:lightning:force",
|
|
1333
|
+
"force:lightning:create:interface",
|
|
1334
|
+
"lightning:force:create:interface",
|
|
1335
|
+
"lightning:create:force:interface",
|
|
1336
|
+
"lightning:create:interface:force",
|
|
1337
|
+
"force:create:lightning:interface",
|
|
1338
|
+
"create:force:lightning:interface",
|
|
1339
|
+
"create:lightning:force:interface",
|
|
1340
|
+
"create:lightning:interface:force",
|
|
1341
|
+
"force:create:interface:lightning",
|
|
1342
|
+
"create:force:interface:lightning",
|
|
1343
|
+
"create:interface:force:lightning",
|
|
1344
|
+
"create:interface:lightning:force"
|
|
1318
1345
|
],
|
|
1319
1346
|
"permutations": [
|
|
1320
|
-
"
|
|
1321
|
-
"generate:
|
|
1322
|
-
"generate:
|
|
1323
|
-
"
|
|
1324
|
-
"
|
|
1325
|
-
"
|
|
1347
|
+
"lightning:generate:interface",
|
|
1348
|
+
"generate:lightning:interface",
|
|
1349
|
+
"generate:interface:lightning",
|
|
1350
|
+
"lightning:interface:generate",
|
|
1351
|
+
"interface:lightning:generate",
|
|
1352
|
+
"interface:generate:lightning"
|
|
1326
1353
|
]
|
|
1327
1354
|
},
|
|
1328
|
-
"
|
|
1355
|
+
"lightning:generate:test": {
|
|
1329
1356
|
"aliases": [
|
|
1330
|
-
"force:
|
|
1357
|
+
"force:lightning:test:create"
|
|
1331
1358
|
],
|
|
1332
1359
|
"args": {},
|
|
1333
1360
|
"deprecateAliases": true,
|
|
1334
|
-
"description": "Generates the
|
|
1361
|
+
"description": "Generates the test in the specified directory or the current working directory. The .resource file and associated metadata file are generated.",
|
|
1335
1362
|
"examples": [
|
|
1336
|
-
"Generate
|
|
1337
|
-
"Similar to the previous example
|
|
1338
|
-
"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\""
|
|
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"
|
|
1339
1365
|
],
|
|
1340
1366
|
"flags": {
|
|
1341
1367
|
"json": {
|
|
@@ -1355,14 +1381,14 @@
|
|
|
1355
1381
|
},
|
|
1356
1382
|
"name": {
|
|
1357
1383
|
"aliases": [
|
|
1358
|
-
"
|
|
1384
|
+
"testname"
|
|
1359
1385
|
],
|
|
1360
1386
|
"char": "n",
|
|
1361
1387
|
"deprecateAliases": true,
|
|
1362
|
-
"description": "
|
|
1388
|
+
"description": "Name of the new Lightning test; can be up to 40 characters and must start with a letter.",
|
|
1363
1389
|
"name": "name",
|
|
1364
1390
|
"required": true,
|
|
1365
|
-
"summary": "Name of the generated
|
|
1391
|
+
"summary": "Name of the generated Lightning Test.",
|
|
1366
1392
|
"hasDynamicHelp": false,
|
|
1367
1393
|
"multiple": false,
|
|
1368
1394
|
"type": "option"
|
|
@@ -1372,11 +1398,11 @@
|
|
|
1372
1398
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
1373
1399
|
"name": "template",
|
|
1374
1400
|
"summary": "Template to use for file creation.",
|
|
1375
|
-
"default": "
|
|
1401
|
+
"default": "DefaultLightningTest",
|
|
1376
1402
|
"hasDynamicHelp": false,
|
|
1377
1403
|
"multiple": false,
|
|
1378
1404
|
"options": [
|
|
1379
|
-
"
|
|
1405
|
+
"DefaultLightningTest"
|
|
1380
1406
|
],
|
|
1381
1407
|
"type": "option"
|
|
1382
1408
|
},
|
|
@@ -1394,6 +1420,14 @@
|
|
|
1394
1420
|
"multiple": false,
|
|
1395
1421
|
"type": "option"
|
|
1396
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
|
+
},
|
|
1397
1431
|
"api-version": {
|
|
1398
1432
|
"aliases": [
|
|
1399
1433
|
"apiversion"
|
|
@@ -1405,40 +1439,6 @@
|
|
|
1405
1439
|
"multiple": false,
|
|
1406
1440
|
"type": "option"
|
|
1407
1441
|
},
|
|
1408
|
-
"sobject": {
|
|
1409
|
-
"char": "s",
|
|
1410
|
-
"name": "sobject",
|
|
1411
|
-
"summary": "Salesforce object to generate a trigger on.",
|
|
1412
|
-
"default": "SOBJECT",
|
|
1413
|
-
"hasDynamicHelp": false,
|
|
1414
|
-
"multiple": false,
|
|
1415
|
-
"type": "option"
|
|
1416
|
-
},
|
|
1417
|
-
"event": {
|
|
1418
|
-
"aliases": [
|
|
1419
|
-
"triggerevents"
|
|
1420
|
-
],
|
|
1421
|
-
"char": "e",
|
|
1422
|
-
"deprecateAliases": true,
|
|
1423
|
-
"name": "event",
|
|
1424
|
-
"summary": "Events that fire the trigger.",
|
|
1425
|
-
"default": [
|
|
1426
|
-
"before insert"
|
|
1427
|
-
],
|
|
1428
|
-
"delimiter": ",",
|
|
1429
|
-
"hasDynamicHelp": false,
|
|
1430
|
-
"multiple": true,
|
|
1431
|
-
"options": [
|
|
1432
|
-
"before insert",
|
|
1433
|
-
"before update",
|
|
1434
|
-
"before delete",
|
|
1435
|
-
"after insert",
|
|
1436
|
-
"after update",
|
|
1437
|
-
"after delete",
|
|
1438
|
-
"after undelete"
|
|
1439
|
-
],
|
|
1440
|
-
"type": "option"
|
|
1441
|
-
},
|
|
1442
1442
|
"loglevel": {
|
|
1443
1443
|
"deprecated": {
|
|
1444
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."
|
|
@@ -1452,54 +1452,54 @@
|
|
|
1452
1452
|
},
|
|
1453
1453
|
"hasDynamicHelp": false,
|
|
1454
1454
|
"hiddenAliases": [],
|
|
1455
|
-
"id": "
|
|
1455
|
+
"id": "lightning:generate:test",
|
|
1456
1456
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
1457
1457
|
"pluginName": "@salesforce/plugin-templates",
|
|
1458
1458
|
"pluginType": "core",
|
|
1459
1459
|
"strict": true,
|
|
1460
|
-
"summary": "Generate
|
|
1460
|
+
"summary": "Generate a Lightning test.",
|
|
1461
1461
|
"enableJsonFlag": true,
|
|
1462
1462
|
"isESM": true,
|
|
1463
1463
|
"relativePath": [
|
|
1464
1464
|
"lib",
|
|
1465
1465
|
"commands",
|
|
1466
|
-
"
|
|
1466
|
+
"lightning",
|
|
1467
1467
|
"generate",
|
|
1468
|
-
"
|
|
1468
|
+
"test.js"
|
|
1469
1469
|
],
|
|
1470
1470
|
"aliasPermutations": [
|
|
1471
|
-
"force:
|
|
1472
|
-
"
|
|
1473
|
-
"
|
|
1474
|
-
"
|
|
1475
|
-
"force:
|
|
1476
|
-
"
|
|
1477
|
-
"
|
|
1478
|
-
"
|
|
1479
|
-
"force:
|
|
1480
|
-
"
|
|
1481
|
-
"
|
|
1482
|
-
"
|
|
1483
|
-
"force:
|
|
1484
|
-
"
|
|
1485
|
-
"
|
|
1486
|
-
"
|
|
1487
|
-
"force:create:
|
|
1488
|
-
"create:force:
|
|
1489
|
-
"create:
|
|
1490
|
-
"create:
|
|
1491
|
-
"force:create:
|
|
1492
|
-
"create:force:
|
|
1493
|
-
"create:
|
|
1494
|
-
"create:
|
|
1471
|
+
"force:lightning:test:create",
|
|
1472
|
+
"lightning:force:test:create",
|
|
1473
|
+
"lightning:test:force:create",
|
|
1474
|
+
"lightning:test:create:force",
|
|
1475
|
+
"force:test:lightning:create",
|
|
1476
|
+
"test:force:lightning:create",
|
|
1477
|
+
"test:lightning:force:create",
|
|
1478
|
+
"test:lightning:create:force",
|
|
1479
|
+
"force:test:create:lightning",
|
|
1480
|
+
"test:force:create:lightning",
|
|
1481
|
+
"test:create:force:lightning",
|
|
1482
|
+
"test:create:lightning:force",
|
|
1483
|
+
"force:lightning:create:test",
|
|
1484
|
+
"lightning:force:create:test",
|
|
1485
|
+
"lightning:create:force:test",
|
|
1486
|
+
"lightning:create:test:force",
|
|
1487
|
+
"force:create:lightning:test",
|
|
1488
|
+
"create:force:lightning:test",
|
|
1489
|
+
"create:lightning:force:test",
|
|
1490
|
+
"create:lightning:test:force",
|
|
1491
|
+
"force:create:test:lightning",
|
|
1492
|
+
"create:force:test:lightning",
|
|
1493
|
+
"create:test:force:lightning",
|
|
1494
|
+
"create:test:lightning:force"
|
|
1495
1495
|
],
|
|
1496
1496
|
"permutations": [
|
|
1497
|
-
"
|
|
1498
|
-
"generate:
|
|
1499
|
-
"generate:
|
|
1500
|
-
"
|
|
1501
|
-
"
|
|
1502
|
-
"
|
|
1497
|
+
"lightning:generate:test",
|
|
1498
|
+
"generate:lightning:test",
|
|
1499
|
+
"generate:test:lightning",
|
|
1500
|
+
"lightning:test:generate",
|
|
1501
|
+
"test:lightning:generate",
|
|
1502
|
+
"test:generate:lightning"
|
|
1503
1503
|
]
|
|
1504
1504
|
},
|
|
1505
1505
|
"visualforce:generate:component": {
|
|
@@ -1806,5 +1806,5 @@
|
|
|
1806
1806
|
]
|
|
1807
1807
|
}
|
|
1808
1808
|
},
|
|
1809
|
-
"version": "56.3.
|
|
1809
|
+
"version": "56.3.42"
|
|
1810
1810
|
}
|