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