@salesforce/plugin-templates 56.3.38 → 56.3.39
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 +7 -7
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,53 @@
|
|
|
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
|
+
"apex:generate:class": {
|
|
1056
1056
|
"aliases": [
|
|
1057
|
-
"force:
|
|
1057
|
+
"force:apex:class:create"
|
|
1058
1058
|
],
|
|
1059
1059
|
"args": {},
|
|
1060
1060
|
"deprecateAliases": true,
|
|
1061
|
-
"description": "Generates
|
|
1061
|
+
"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.",
|
|
1062
1062
|
"examples": [
|
|
1063
|
-
"Generate
|
|
1064
|
-
"Similar to previous example, but
|
|
1063
|
+
"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",
|
|
1064
|
+
"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"
|
|
1065
1065
|
],
|
|
1066
1066
|
"flags": {
|
|
1067
1067
|
"json": {
|
|
@@ -1081,14 +1081,14 @@
|
|
|
1081
1081
|
},
|
|
1082
1082
|
"name": {
|
|
1083
1083
|
"aliases": [
|
|
1084
|
-
"
|
|
1084
|
+
"classname"
|
|
1085
1085
|
],
|
|
1086
1086
|
"char": "n",
|
|
1087
1087
|
"deprecateAliases": true,
|
|
1088
1088
|
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
1089
1089
|
"name": "name",
|
|
1090
1090
|
"required": true,
|
|
1091
|
-
"summary": "Name of the generated
|
|
1091
|
+
"summary": "Name of the generated Apex class.",
|
|
1092
1092
|
"hasDynamicHelp": false,
|
|
1093
1093
|
"multiple": false,
|
|
1094
1094
|
"type": "option"
|
|
@@ -1098,11 +1098,15 @@
|
|
|
1098
1098
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
1099
1099
|
"name": "template",
|
|
1100
1100
|
"summary": "Template to use for file creation.",
|
|
1101
|
-
"default": "
|
|
1101
|
+
"default": "DefaultApexClass",
|
|
1102
1102
|
"hasDynamicHelp": false,
|
|
1103
1103
|
"multiple": false,
|
|
1104
1104
|
"options": [
|
|
1105
|
-
"
|
|
1105
|
+
"ApexException",
|
|
1106
|
+
"ApexUnitTest",
|
|
1107
|
+
"BasicUnitTest",
|
|
1108
|
+
"DefaultApexClass",
|
|
1109
|
+
"InboundEmailService"
|
|
1106
1110
|
],
|
|
1107
1111
|
"type": "option"
|
|
1108
1112
|
},
|
|
@@ -1131,14 +1135,6 @@
|
|
|
1131
1135
|
"multiple": false,
|
|
1132
1136
|
"type": "option"
|
|
1133
1137
|
},
|
|
1134
|
-
"internal": {
|
|
1135
|
-
"char": "i",
|
|
1136
|
-
"hidden": true,
|
|
1137
|
-
"name": "internal",
|
|
1138
|
-
"summary": "Generate lightning bundles without creating a -meta.xml file.",
|
|
1139
|
-
"allowNo": false,
|
|
1140
|
-
"type": "boolean"
|
|
1141
|
-
},
|
|
1142
1138
|
"loglevel": {
|
|
1143
1139
|
"deprecated": {
|
|
1144
1140
|
"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."
|
|
@@ -1152,66 +1148,67 @@
|
|
|
1152
1148
|
},
|
|
1153
1149
|
"hasDynamicHelp": false,
|
|
1154
1150
|
"hiddenAliases": [],
|
|
1155
|
-
"id": "
|
|
1151
|
+
"id": "apex:generate:class",
|
|
1156
1152
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
1157
1153
|
"pluginName": "@salesforce/plugin-templates",
|
|
1158
1154
|
"pluginType": "core",
|
|
1159
1155
|
"strict": true,
|
|
1160
|
-
"summary": "Generate
|
|
1156
|
+
"summary": "Generate an Apex class.",
|
|
1161
1157
|
"enableJsonFlag": true,
|
|
1162
1158
|
"isESM": true,
|
|
1163
1159
|
"relativePath": [
|
|
1164
1160
|
"lib",
|
|
1165
1161
|
"commands",
|
|
1166
|
-
"
|
|
1162
|
+
"apex",
|
|
1167
1163
|
"generate",
|
|
1168
|
-
"
|
|
1164
|
+
"class.js"
|
|
1169
1165
|
],
|
|
1170
1166
|
"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:
|
|
1167
|
+
"force:apex:class:create",
|
|
1168
|
+
"apex:force:class:create",
|
|
1169
|
+
"apex:class:force:create",
|
|
1170
|
+
"apex:class:create:force",
|
|
1171
|
+
"force:class:apex:create",
|
|
1172
|
+
"class:force:apex:create",
|
|
1173
|
+
"class:apex:force:create",
|
|
1174
|
+
"class:apex:create:force",
|
|
1175
|
+
"force:class:create:apex",
|
|
1176
|
+
"class:force:create:apex",
|
|
1177
|
+
"class:create:force:apex",
|
|
1178
|
+
"class:create:apex:force",
|
|
1179
|
+
"force:apex:create:class",
|
|
1180
|
+
"apex:force:create:class",
|
|
1181
|
+
"apex:create:force:class",
|
|
1182
|
+
"apex:create:class:force",
|
|
1183
|
+
"force:create:apex:class",
|
|
1184
|
+
"create:force:apex:class",
|
|
1185
|
+
"create:apex:force:class",
|
|
1186
|
+
"create:apex:class:force",
|
|
1187
|
+
"force:create:class:apex",
|
|
1188
|
+
"create:force:class:apex",
|
|
1189
|
+
"create:class:force:apex",
|
|
1190
|
+
"create:class:apex:force"
|
|
1195
1191
|
],
|
|
1196
1192
|
"permutations": [
|
|
1197
|
-
"
|
|
1198
|
-
"generate:
|
|
1199
|
-
"generate:
|
|
1200
|
-
"
|
|
1201
|
-
"
|
|
1202
|
-
"
|
|
1193
|
+
"apex:generate:class",
|
|
1194
|
+
"generate:apex:class",
|
|
1195
|
+
"generate:class:apex",
|
|
1196
|
+
"apex:class:generate",
|
|
1197
|
+
"class:apex:generate",
|
|
1198
|
+
"class:generate:apex"
|
|
1203
1199
|
]
|
|
1204
1200
|
},
|
|
1205
|
-
"
|
|
1201
|
+
"apex:generate:trigger": {
|
|
1206
1202
|
"aliases": [
|
|
1207
|
-
"force:
|
|
1203
|
+
"force:apex:trigger:create"
|
|
1208
1204
|
],
|
|
1209
1205
|
"args": {},
|
|
1210
1206
|
"deprecateAliases": true,
|
|
1211
|
-
"description": "Generates a
|
|
1207
|
+
"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.",
|
|
1212
1208
|
"examples": [
|
|
1213
|
-
"Generate
|
|
1214
|
-
"Similar to the previous example but generate the files in the \"force-app/main/default/
|
|
1209
|
+
"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",
|
|
1210
|
+
"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",
|
|
1211
|
+
"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\""
|
|
1215
1212
|
],
|
|
1216
1213
|
"flags": {
|
|
1217
1214
|
"json": {
|
|
@@ -1231,14 +1228,14 @@
|
|
|
1231
1228
|
},
|
|
1232
1229
|
"name": {
|
|
1233
1230
|
"aliases": [
|
|
1234
|
-
"
|
|
1231
|
+
"triggername"
|
|
1235
1232
|
],
|
|
1236
1233
|
"char": "n",
|
|
1237
1234
|
"deprecateAliases": true,
|
|
1238
1235
|
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
1239
1236
|
"name": "name",
|
|
1240
1237
|
"required": true,
|
|
1241
|
-
"summary": "Name of the generated
|
|
1238
|
+
"summary": "Name of the generated Apex trigger",
|
|
1242
1239
|
"hasDynamicHelp": false,
|
|
1243
1240
|
"multiple": false,
|
|
1244
1241
|
"type": "option"
|
|
@@ -1248,11 +1245,11 @@
|
|
|
1248
1245
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
1249
1246
|
"name": "template",
|
|
1250
1247
|
"summary": "Template to use for file creation.",
|
|
1251
|
-
"default": "
|
|
1248
|
+
"default": "ApexTrigger",
|
|
1252
1249
|
"hasDynamicHelp": false,
|
|
1253
1250
|
"multiple": false,
|
|
1254
1251
|
"options": [
|
|
1255
|
-
"
|
|
1252
|
+
"ApexTrigger"
|
|
1256
1253
|
],
|
|
1257
1254
|
"type": "option"
|
|
1258
1255
|
},
|
|
@@ -1281,13 +1278,39 @@
|
|
|
1281
1278
|
"multiple": false,
|
|
1282
1279
|
"type": "option"
|
|
1283
1280
|
},
|
|
1284
|
-
"
|
|
1285
|
-
"char": "
|
|
1286
|
-
"
|
|
1287
|
-
"
|
|
1288
|
-
"
|
|
1289
|
-
"
|
|
1290
|
-
"
|
|
1281
|
+
"sobject": {
|
|
1282
|
+
"char": "s",
|
|
1283
|
+
"name": "sobject",
|
|
1284
|
+
"summary": "Salesforce object to generate a trigger on.",
|
|
1285
|
+
"default": "SOBJECT",
|
|
1286
|
+
"hasDynamicHelp": false,
|
|
1287
|
+
"multiple": false,
|
|
1288
|
+
"type": "option"
|
|
1289
|
+
},
|
|
1290
|
+
"event": {
|
|
1291
|
+
"aliases": [
|
|
1292
|
+
"triggerevents"
|
|
1293
|
+
],
|
|
1294
|
+
"char": "e",
|
|
1295
|
+
"deprecateAliases": true,
|
|
1296
|
+
"name": "event",
|
|
1297
|
+
"summary": "Events that fire the trigger.",
|
|
1298
|
+
"default": [
|
|
1299
|
+
"before insert"
|
|
1300
|
+
],
|
|
1301
|
+
"delimiter": ",",
|
|
1302
|
+
"hasDynamicHelp": false,
|
|
1303
|
+
"multiple": true,
|
|
1304
|
+
"options": [
|
|
1305
|
+
"before insert",
|
|
1306
|
+
"before update",
|
|
1307
|
+
"before delete",
|
|
1308
|
+
"after insert",
|
|
1309
|
+
"after update",
|
|
1310
|
+
"after delete",
|
|
1311
|
+
"after undelete"
|
|
1312
|
+
],
|
|
1313
|
+
"type": "option"
|
|
1291
1314
|
},
|
|
1292
1315
|
"loglevel": {
|
|
1293
1316
|
"deprecated": {
|
|
@@ -1302,66 +1325,65 @@
|
|
|
1302
1325
|
},
|
|
1303
1326
|
"hasDynamicHelp": false,
|
|
1304
1327
|
"hiddenAliases": [],
|
|
1305
|
-
"id": "
|
|
1328
|
+
"id": "apex:generate:trigger",
|
|
1306
1329
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
1307
1330
|
"pluginName": "@salesforce/plugin-templates",
|
|
1308
1331
|
"pluginType": "core",
|
|
1309
1332
|
"strict": true,
|
|
1310
|
-
"summary": "Generate
|
|
1333
|
+
"summary": "Generate an Apex trigger.",
|
|
1311
1334
|
"enableJsonFlag": true,
|
|
1312
1335
|
"isESM": true,
|
|
1313
1336
|
"relativePath": [
|
|
1314
1337
|
"lib",
|
|
1315
1338
|
"commands",
|
|
1316
|
-
"
|
|
1339
|
+
"apex",
|
|
1317
1340
|
"generate",
|
|
1318
|
-
"
|
|
1341
|
+
"trigger.js"
|
|
1319
1342
|
],
|
|
1320
1343
|
"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:
|
|
1344
|
+
"force:apex:trigger:create",
|
|
1345
|
+
"apex:force:trigger:create",
|
|
1346
|
+
"apex:trigger:force:create",
|
|
1347
|
+
"apex:trigger:create:force",
|
|
1348
|
+
"force:trigger:apex:create",
|
|
1349
|
+
"trigger:force:apex:create",
|
|
1350
|
+
"trigger:apex:force:create",
|
|
1351
|
+
"trigger:apex:create:force",
|
|
1352
|
+
"force:trigger:create:apex",
|
|
1353
|
+
"trigger:force:create:apex",
|
|
1354
|
+
"trigger:create:force:apex",
|
|
1355
|
+
"trigger:create:apex:force",
|
|
1356
|
+
"force:apex:create:trigger",
|
|
1357
|
+
"apex:force:create:trigger",
|
|
1358
|
+
"apex:create:force:trigger",
|
|
1359
|
+
"apex:create:trigger:force",
|
|
1360
|
+
"force:create:apex:trigger",
|
|
1361
|
+
"create:force:apex:trigger",
|
|
1362
|
+
"create:apex:force:trigger",
|
|
1363
|
+
"create:apex:trigger:force",
|
|
1364
|
+
"force:create:trigger:apex",
|
|
1365
|
+
"create:force:trigger:apex",
|
|
1366
|
+
"create:trigger:force:apex",
|
|
1367
|
+
"create:trigger:apex:force"
|
|
1345
1368
|
],
|
|
1346
1369
|
"permutations": [
|
|
1347
|
-
"
|
|
1348
|
-
"generate:
|
|
1349
|
-
"generate:
|
|
1350
|
-
"
|
|
1351
|
-
"
|
|
1352
|
-
"
|
|
1370
|
+
"apex:generate:trigger",
|
|
1371
|
+
"generate:apex:trigger",
|
|
1372
|
+
"generate:trigger:apex",
|
|
1373
|
+
"apex:trigger:generate",
|
|
1374
|
+
"trigger:apex:generate",
|
|
1375
|
+
"trigger:generate:apex"
|
|
1353
1376
|
]
|
|
1354
1377
|
},
|
|
1355
|
-
"
|
|
1378
|
+
"analytics:generate:template": {
|
|
1356
1379
|
"aliases": [
|
|
1357
|
-
"force:
|
|
1380
|
+
"force:analytics:template:create"
|
|
1358
1381
|
],
|
|
1359
1382
|
"args": {},
|
|
1360
1383
|
"deprecateAliases": true,
|
|
1361
|
-
"description": "
|
|
1384
|
+
"description": "The metadata files associated with the Analytics template must be contained in a parent directory called \"waveTemplates\" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to generate one or point to an existing one.",
|
|
1362
1385
|
"examples": [
|
|
1363
|
-
"Generate the metadata files for
|
|
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"
|
|
1386
|
+
"Generate the metadata files for a simple Analytics template file called myTemplate in the force-app/main/default/waveTemplates directory:\n<%= config.bin %> <%= command.id %> --name myTemplate --output-dir force-app/main/default/waveTemplates"
|
|
1365
1387
|
],
|
|
1366
1388
|
"flags": {
|
|
1367
1389
|
"json": {
|
|
@@ -1379,33 +1401,6 @@
|
|
|
1379
1401
|
"multiple": false,
|
|
1380
1402
|
"type": "option"
|
|
1381
1403
|
},
|
|
1382
|
-
"name": {
|
|
1383
|
-
"aliases": [
|
|
1384
|
-
"testname"
|
|
1385
|
-
],
|
|
1386
|
-
"char": "n",
|
|
1387
|
-
"deprecateAliases": true,
|
|
1388
|
-
"description": "Name of the new Lightning test; can be up to 40 characters and must start with a letter.",
|
|
1389
|
-
"name": "name",
|
|
1390
|
-
"required": true,
|
|
1391
|
-
"summary": "Name of the generated Lightning Test.",
|
|
1392
|
-
"hasDynamicHelp": false,
|
|
1393
|
-
"multiple": false,
|
|
1394
|
-
"type": "option"
|
|
1395
|
-
},
|
|
1396
|
-
"template": {
|
|
1397
|
-
"char": "t",
|
|
1398
|
-
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
1399
|
-
"name": "template",
|
|
1400
|
-
"summary": "Template to use for file creation.",
|
|
1401
|
-
"default": "DefaultLightningTest",
|
|
1402
|
-
"hasDynamicHelp": false,
|
|
1403
|
-
"multiple": false,
|
|
1404
|
-
"options": [
|
|
1405
|
-
"DefaultLightningTest"
|
|
1406
|
-
],
|
|
1407
|
-
"type": "option"
|
|
1408
|
-
},
|
|
1409
1404
|
"output-dir": {
|
|
1410
1405
|
"aliases": [
|
|
1411
1406
|
"outputdir"
|
|
@@ -1420,14 +1415,6 @@
|
|
|
1420
1415
|
"multiple": false,
|
|
1421
1416
|
"type": "option"
|
|
1422
1417
|
},
|
|
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
1418
|
"api-version": {
|
|
1432
1419
|
"aliases": [
|
|
1433
1420
|
"apiversion"
|
|
@@ -1439,6 +1426,19 @@
|
|
|
1439
1426
|
"multiple": false,
|
|
1440
1427
|
"type": "option"
|
|
1441
1428
|
},
|
|
1429
|
+
"name": {
|
|
1430
|
+
"aliases": [
|
|
1431
|
+
"templatename"
|
|
1432
|
+
],
|
|
1433
|
+
"char": "n",
|
|
1434
|
+
"deprecateAliases": true,
|
|
1435
|
+
"name": "name",
|
|
1436
|
+
"required": true,
|
|
1437
|
+
"summary": "Name of the Analytics template.",
|
|
1438
|
+
"hasDynamicHelp": false,
|
|
1439
|
+
"multiple": false,
|
|
1440
|
+
"type": "option"
|
|
1441
|
+
},
|
|
1442
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": "analytics:generate:template",
|
|
1456
1456
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
1457
1457
|
"pluginName": "@salesforce/plugin-templates",
|
|
1458
1458
|
"pluginType": "core",
|
|
1459
1459
|
"strict": true,
|
|
1460
|
-
"summary": "Generate a
|
|
1460
|
+
"summary": "Generate a simple Analytics template.",
|
|
1461
1461
|
"enableJsonFlag": true,
|
|
1462
1462
|
"isESM": true,
|
|
1463
1463
|
"relativePath": [
|
|
1464
1464
|
"lib",
|
|
1465
1465
|
"commands",
|
|
1466
|
-
"
|
|
1466
|
+
"analytics",
|
|
1467
1467
|
"generate",
|
|
1468
|
-
"
|
|
1468
|
+
"template.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:analytics:template:create",
|
|
1472
|
+
"analytics:force:template:create",
|
|
1473
|
+
"analytics:template:force:create",
|
|
1474
|
+
"analytics:template:create:force",
|
|
1475
|
+
"force:template:analytics:create",
|
|
1476
|
+
"template:force:analytics:create",
|
|
1477
|
+
"template:analytics:force:create",
|
|
1478
|
+
"template:analytics:create:force",
|
|
1479
|
+
"force:template:create:analytics",
|
|
1480
|
+
"template:force:create:analytics",
|
|
1481
|
+
"template:create:force:analytics",
|
|
1482
|
+
"template:create:analytics:force",
|
|
1483
|
+
"force:analytics:create:template",
|
|
1484
|
+
"analytics:force:create:template",
|
|
1485
|
+
"analytics:create:force:template",
|
|
1486
|
+
"analytics:create:template:force",
|
|
1487
|
+
"force:create:analytics:template",
|
|
1488
|
+
"create:force:analytics:template",
|
|
1489
|
+
"create:analytics:force:template",
|
|
1490
|
+
"create:analytics:template:force",
|
|
1491
|
+
"force:create:template:analytics",
|
|
1492
|
+
"create:force:template:analytics",
|
|
1493
|
+
"create:template:force:analytics",
|
|
1494
|
+
"create:template:analytics:force"
|
|
1495
1495
|
],
|
|
1496
1496
|
"permutations": [
|
|
1497
|
-
"
|
|
1498
|
-
"generate:
|
|
1499
|
-
"generate:
|
|
1500
|
-
"
|
|
1501
|
-
"
|
|
1502
|
-
"
|
|
1497
|
+
"analytics:generate:template",
|
|
1498
|
+
"generate:analytics:template",
|
|
1499
|
+
"generate:template:analytics",
|
|
1500
|
+
"analytics:template:generate",
|
|
1501
|
+
"template:analytics:generate",
|
|
1502
|
+
"template:generate:analytics"
|
|
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.39"
|
|
1810
1810
|
}
|