@salesforce/plugin-templates 56.3.46 → 56.3.47
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 +586 -586
- package/package.json +6 -6
package/oclif.manifest.json
CHANGED
|
@@ -286,15 +286,16 @@
|
|
|
286
286
|
"generate:static-resource"
|
|
287
287
|
]
|
|
288
288
|
},
|
|
289
|
-
"
|
|
289
|
+
"apex:generate:class": {
|
|
290
290
|
"aliases": [
|
|
291
|
-
"force:
|
|
291
|
+
"force:apex:class:create"
|
|
292
292
|
],
|
|
293
293
|
"args": {},
|
|
294
294
|
"deprecateAliases": true,
|
|
295
|
-
"description": "
|
|
295
|
+
"description": "Generates the Apex *.cls file and associated metadata file. These files must be contained in a parent directory called \"classes\" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to generate one or point to an existing one.",
|
|
296
296
|
"examples": [
|
|
297
|
-
"Generate
|
|
297
|
+
"Generate two metadata files associated with the MyClass Apex class (MyClass.cls and MyClass.cls-meta.xml) in the current directory:\n<%= config.bin %> <%= command.id %> --name MyClass",
|
|
298
|
+
"Similar to previous example, but generates the files in the \"force-app/main/default/classes\" directory:\n<%= config.bin %> <%= command.id %> --name MyClass --output-dir force-app/main/default/classes"
|
|
298
299
|
],
|
|
299
300
|
"flags": {
|
|
300
301
|
"json": {
|
|
@@ -312,6 +313,37 @@
|
|
|
312
313
|
"multiple": false,
|
|
313
314
|
"type": "option"
|
|
314
315
|
},
|
|
316
|
+
"name": {
|
|
317
|
+
"aliases": [
|
|
318
|
+
"classname"
|
|
319
|
+
],
|
|
320
|
+
"char": "n",
|
|
321
|
+
"deprecateAliases": true,
|
|
322
|
+
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
323
|
+
"name": "name",
|
|
324
|
+
"required": true,
|
|
325
|
+
"summary": "Name of the generated Apex class.",
|
|
326
|
+
"hasDynamicHelp": false,
|
|
327
|
+
"multiple": false,
|
|
328
|
+
"type": "option"
|
|
329
|
+
},
|
|
330
|
+
"template": {
|
|
331
|
+
"char": "t",
|
|
332
|
+
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
333
|
+
"name": "template",
|
|
334
|
+
"summary": "Template to use for file creation.",
|
|
335
|
+
"default": "DefaultApexClass",
|
|
336
|
+
"hasDynamicHelp": false,
|
|
337
|
+
"multiple": false,
|
|
338
|
+
"options": [
|
|
339
|
+
"ApexException",
|
|
340
|
+
"ApexUnitTest",
|
|
341
|
+
"BasicUnitTest",
|
|
342
|
+
"DefaultApexClass",
|
|
343
|
+
"InboundEmailService"
|
|
344
|
+
],
|
|
345
|
+
"type": "option"
|
|
346
|
+
},
|
|
315
347
|
"output-dir": {
|
|
316
348
|
"aliases": [
|
|
317
349
|
"outputdir"
|
|
@@ -337,19 +369,6 @@
|
|
|
337
369
|
"multiple": false,
|
|
338
370
|
"type": "option"
|
|
339
371
|
},
|
|
340
|
-
"name": {
|
|
341
|
-
"aliases": [
|
|
342
|
-
"templatename"
|
|
343
|
-
],
|
|
344
|
-
"char": "n",
|
|
345
|
-
"deprecateAliases": true,
|
|
346
|
-
"name": "name",
|
|
347
|
-
"required": true,
|
|
348
|
-
"summary": "Name of the Analytics template.",
|
|
349
|
-
"hasDynamicHelp": false,
|
|
350
|
-
"multiple": false,
|
|
351
|
-
"type": "option"
|
|
352
|
-
},
|
|
353
372
|
"loglevel": {
|
|
354
373
|
"deprecated": {
|
|
355
374
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
@@ -363,66 +382,67 @@
|
|
|
363
382
|
},
|
|
364
383
|
"hasDynamicHelp": false,
|
|
365
384
|
"hiddenAliases": [],
|
|
366
|
-
"id": "
|
|
385
|
+
"id": "apex:generate:class",
|
|
367
386
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
368
387
|
"pluginName": "@salesforce/plugin-templates",
|
|
369
388
|
"pluginType": "core",
|
|
370
389
|
"strict": true,
|
|
371
|
-
"summary": "Generate
|
|
390
|
+
"summary": "Generate an Apex class.",
|
|
372
391
|
"enableJsonFlag": true,
|
|
373
392
|
"isESM": true,
|
|
374
393
|
"relativePath": [
|
|
375
394
|
"lib",
|
|
376
395
|
"commands",
|
|
377
|
-
"
|
|
396
|
+
"apex",
|
|
378
397
|
"generate",
|
|
379
|
-
"
|
|
398
|
+
"class.js"
|
|
380
399
|
],
|
|
381
400
|
"aliasPermutations": [
|
|
382
|
-
"force:
|
|
383
|
-
"
|
|
384
|
-
"
|
|
385
|
-
"
|
|
386
|
-
"force:
|
|
387
|
-
"
|
|
388
|
-
"
|
|
389
|
-
"
|
|
390
|
-
"force:
|
|
391
|
-
"
|
|
392
|
-
"
|
|
393
|
-
"
|
|
394
|
-
"force:
|
|
395
|
-
"
|
|
396
|
-
"
|
|
397
|
-
"
|
|
398
|
-
"force:create:
|
|
399
|
-
"create:force:
|
|
400
|
-
"create:
|
|
401
|
-
"create:
|
|
402
|
-
"force:create:
|
|
403
|
-
"create:force:
|
|
404
|
-
"create:
|
|
405
|
-
"create:
|
|
401
|
+
"force:apex:class:create",
|
|
402
|
+
"apex:force:class:create",
|
|
403
|
+
"apex:class:force:create",
|
|
404
|
+
"apex:class:create:force",
|
|
405
|
+
"force:class:apex:create",
|
|
406
|
+
"class:force:apex:create",
|
|
407
|
+
"class:apex:force:create",
|
|
408
|
+
"class:apex:create:force",
|
|
409
|
+
"force:class:create:apex",
|
|
410
|
+
"class:force:create:apex",
|
|
411
|
+
"class:create:force:apex",
|
|
412
|
+
"class:create:apex:force",
|
|
413
|
+
"force:apex:create:class",
|
|
414
|
+
"apex:force:create:class",
|
|
415
|
+
"apex:create:force:class",
|
|
416
|
+
"apex:create:class:force",
|
|
417
|
+
"force:create:apex:class",
|
|
418
|
+
"create:force:apex:class",
|
|
419
|
+
"create:apex:force:class",
|
|
420
|
+
"create:apex:class:force",
|
|
421
|
+
"force:create:class:apex",
|
|
422
|
+
"create:force:class:apex",
|
|
423
|
+
"create:class:force:apex",
|
|
424
|
+
"create:class:apex:force"
|
|
406
425
|
],
|
|
407
426
|
"permutations": [
|
|
408
|
-
"
|
|
409
|
-
"generate:
|
|
410
|
-
"generate:
|
|
411
|
-
"
|
|
412
|
-
"
|
|
413
|
-
"
|
|
427
|
+
"apex:generate:class",
|
|
428
|
+
"generate:apex:class",
|
|
429
|
+
"generate:class:apex",
|
|
430
|
+
"apex:class:generate",
|
|
431
|
+
"class:apex:generate",
|
|
432
|
+
"class:generate:apex"
|
|
414
433
|
]
|
|
415
434
|
},
|
|
416
|
-
"
|
|
435
|
+
"apex:generate:trigger": {
|
|
417
436
|
"aliases": [
|
|
418
|
-
"force:
|
|
437
|
+
"force:apex:trigger:create"
|
|
419
438
|
],
|
|
420
439
|
"args": {},
|
|
421
440
|
"deprecateAliases": true,
|
|
422
|
-
"description": "Generates a
|
|
441
|
+
"description": "Generates the Apex trigger *.trigger file and associated metadata file. These files must be contained in a parent directory called \"triggers\" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to generate one or point to an existing one.\n\nIf you don't specify the --sobject flag, the .trigger file contains the generic placeholder SOBJECT; replace it with the Salesforce object you want to generate a trigger for. If you don't specify --event, \"before insert\" is used.",
|
|
423
442
|
"examples": [
|
|
424
|
-
"Generate
|
|
425
|
-
"Similar to the previous example, but generate the files in the \"force-app/main/default/
|
|
443
|
+
"Generate two files associated with the MyTrigger Apex trigger (MyTrigger.trigger and MyTrigger.trigger-meta.xml) in the current directory:\n<%= config.bin %> <%= command.id %> --name MyTrigger",
|
|
444
|
+
"Similar to the previous example, but generate the files in the \"force-app/main/default/triggers\" directory:\n<%= config.bin %> <%= command.id %> --name MyTrigger --output-dir force-app/main/default/triggers",
|
|
445
|
+
"Generate files for a trigger that fires on the Account object before and after an insert:\n<%= config.bin %> <%= command.id %> --name MyTrigger --sobject Account --event \"before insert,after insert\""
|
|
426
446
|
],
|
|
427
447
|
"flags": {
|
|
428
448
|
"json": {
|
|
@@ -442,14 +462,14 @@
|
|
|
442
462
|
},
|
|
443
463
|
"name": {
|
|
444
464
|
"aliases": [
|
|
445
|
-
"
|
|
465
|
+
"triggername"
|
|
446
466
|
],
|
|
447
467
|
"char": "n",
|
|
448
468
|
"deprecateAliases": true,
|
|
449
469
|
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
450
470
|
"name": "name",
|
|
451
471
|
"required": true,
|
|
452
|
-
"summary": "Name of the generated
|
|
472
|
+
"summary": "Name of the generated Apex trigger",
|
|
453
473
|
"hasDynamicHelp": false,
|
|
454
474
|
"multiple": false,
|
|
455
475
|
"type": "option"
|
|
@@ -459,11 +479,11 @@
|
|
|
459
479
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
460
480
|
"name": "template",
|
|
461
481
|
"summary": "Template to use for file creation.",
|
|
462
|
-
"default": "
|
|
482
|
+
"default": "ApexTrigger",
|
|
463
483
|
"hasDynamicHelp": false,
|
|
464
484
|
"multiple": false,
|
|
465
485
|
"options": [
|
|
466
|
-
"
|
|
486
|
+
"ApexTrigger"
|
|
467
487
|
],
|
|
468
488
|
"type": "option"
|
|
469
489
|
},
|
|
@@ -492,13 +512,39 @@
|
|
|
492
512
|
"multiple": false,
|
|
493
513
|
"type": "option"
|
|
494
514
|
},
|
|
495
|
-
"
|
|
496
|
-
"char": "
|
|
497
|
-
"
|
|
498
|
-
"
|
|
499
|
-
"
|
|
500
|
-
"
|
|
501
|
-
"
|
|
515
|
+
"sobject": {
|
|
516
|
+
"char": "s",
|
|
517
|
+
"name": "sobject",
|
|
518
|
+
"summary": "Salesforce object to generate a trigger on.",
|
|
519
|
+
"default": "SOBJECT",
|
|
520
|
+
"hasDynamicHelp": false,
|
|
521
|
+
"multiple": false,
|
|
522
|
+
"type": "option"
|
|
523
|
+
},
|
|
524
|
+
"event": {
|
|
525
|
+
"aliases": [
|
|
526
|
+
"triggerevents"
|
|
527
|
+
],
|
|
528
|
+
"char": "e",
|
|
529
|
+
"deprecateAliases": true,
|
|
530
|
+
"name": "event",
|
|
531
|
+
"summary": "Events that fire the trigger.",
|
|
532
|
+
"default": [
|
|
533
|
+
"before insert"
|
|
534
|
+
],
|
|
535
|
+
"delimiter": ",",
|
|
536
|
+
"hasDynamicHelp": false,
|
|
537
|
+
"multiple": true,
|
|
538
|
+
"options": [
|
|
539
|
+
"before insert",
|
|
540
|
+
"before update",
|
|
541
|
+
"before delete",
|
|
542
|
+
"after insert",
|
|
543
|
+
"after update",
|
|
544
|
+
"after delete",
|
|
545
|
+
"after undelete"
|
|
546
|
+
],
|
|
547
|
+
"type": "option"
|
|
502
548
|
},
|
|
503
549
|
"loglevel": {
|
|
504
550
|
"deprecated": {
|
|
@@ -513,68 +559,65 @@
|
|
|
513
559
|
},
|
|
514
560
|
"hasDynamicHelp": false,
|
|
515
561
|
"hiddenAliases": [],
|
|
516
|
-
"id": "
|
|
562
|
+
"id": "apex:generate:trigger",
|
|
517
563
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
518
564
|
"pluginName": "@salesforce/plugin-templates",
|
|
519
565
|
"pluginType": "core",
|
|
520
566
|
"strict": true,
|
|
521
|
-
"summary": "Generate
|
|
567
|
+
"summary": "Generate an Apex trigger.",
|
|
522
568
|
"enableJsonFlag": true,
|
|
523
569
|
"isESM": true,
|
|
524
570
|
"relativePath": [
|
|
525
571
|
"lib",
|
|
526
572
|
"commands",
|
|
527
|
-
"
|
|
573
|
+
"apex",
|
|
528
574
|
"generate",
|
|
529
|
-
"
|
|
575
|
+
"trigger.js"
|
|
530
576
|
],
|
|
531
577
|
"aliasPermutations": [
|
|
532
|
-
"force:
|
|
533
|
-
"
|
|
534
|
-
"
|
|
535
|
-
"
|
|
536
|
-
"force:
|
|
537
|
-
"
|
|
538
|
-
"
|
|
539
|
-
"
|
|
540
|
-
"force:
|
|
541
|
-
"
|
|
542
|
-
"
|
|
543
|
-
"
|
|
544
|
-
"force:
|
|
545
|
-
"
|
|
546
|
-
"
|
|
547
|
-
"
|
|
548
|
-
"force:create:
|
|
549
|
-
"create:force:
|
|
550
|
-
"create:
|
|
551
|
-
"create:
|
|
552
|
-
"force:create:
|
|
553
|
-
"create:force:
|
|
554
|
-
"create:
|
|
555
|
-
"create:
|
|
578
|
+
"force:apex:trigger:create",
|
|
579
|
+
"apex:force:trigger:create",
|
|
580
|
+
"apex:trigger:force:create",
|
|
581
|
+
"apex:trigger:create:force",
|
|
582
|
+
"force:trigger:apex:create",
|
|
583
|
+
"trigger:force:apex:create",
|
|
584
|
+
"trigger:apex:force:create",
|
|
585
|
+
"trigger:apex:create:force",
|
|
586
|
+
"force:trigger:create:apex",
|
|
587
|
+
"trigger:force:create:apex",
|
|
588
|
+
"trigger:create:force:apex",
|
|
589
|
+
"trigger:create:apex:force",
|
|
590
|
+
"force:apex:create:trigger",
|
|
591
|
+
"apex:force:create:trigger",
|
|
592
|
+
"apex:create:force:trigger",
|
|
593
|
+
"apex:create:trigger:force",
|
|
594
|
+
"force:create:apex:trigger",
|
|
595
|
+
"create:force:apex:trigger",
|
|
596
|
+
"create:apex:force:trigger",
|
|
597
|
+
"create:apex:trigger:force",
|
|
598
|
+
"force:create:trigger:apex",
|
|
599
|
+
"create:force:trigger:apex",
|
|
600
|
+
"create:trigger:force:apex",
|
|
601
|
+
"create:trigger:apex:force"
|
|
556
602
|
],
|
|
557
603
|
"permutations": [
|
|
558
|
-
"
|
|
559
|
-
"generate:
|
|
560
|
-
"generate:
|
|
561
|
-
"
|
|
562
|
-
"
|
|
563
|
-
"
|
|
604
|
+
"apex:generate:trigger",
|
|
605
|
+
"generate:apex:trigger",
|
|
606
|
+
"generate:trigger:apex",
|
|
607
|
+
"apex:trigger:generate",
|
|
608
|
+
"trigger:apex:generate",
|
|
609
|
+
"trigger:generate:apex"
|
|
564
610
|
]
|
|
565
611
|
},
|
|
566
|
-
"
|
|
612
|
+
"analytics:generate:template": {
|
|
567
613
|
"aliases": [
|
|
568
|
-
"force:
|
|
614
|
+
"force:analytics:template:create"
|
|
569
615
|
],
|
|
570
616
|
"args": {},
|
|
571
617
|
"deprecateAliases": true,
|
|
572
|
-
"description": "
|
|
618
|
+
"description": "The metadata files associated with the Analytics template must be contained in a parent directory called \"waveTemplates\" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to generate one or point to an existing one.",
|
|
573
619
|
"examples": [
|
|
574
|
-
"Generate the metadata files for
|
|
575
|
-
"Generate a Lightning web component bundle in the current directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --type lwc",
|
|
576
|
-
"Generate an Aura component bundle in the \"force-app/main/default/aura\" directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --output-dir force-app/main/default/aura",
|
|
577
|
-
"Generate a Lightning web component bundle in the \"force-app/main/default/lwc\" directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --type lwc --output-dir force-app/main/default/lwc"
|
|
620
|
+
"Generate the metadata files for a simple Analytics template file called myTemplate in the force-app/main/default/waveTemplates directory:\n<%= config.bin %> <%= command.id %> --name myTemplate --output-dir force-app/main/default/waveTemplates"
|
|
578
621
|
],
|
|
579
622
|
"flags": {
|
|
580
623
|
"json": {
|
|
@@ -592,35 +635,6 @@
|
|
|
592
635
|
"multiple": false,
|
|
593
636
|
"type": "option"
|
|
594
637
|
},
|
|
595
|
-
"name": {
|
|
596
|
-
"aliases": [
|
|
597
|
-
"componentname"
|
|
598
|
-
],
|
|
599
|
-
"char": "n",
|
|
600
|
-
"deprecateAliases": true,
|
|
601
|
-
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
602
|
-
"name": "name",
|
|
603
|
-
"required": true,
|
|
604
|
-
"summary": "Name of the generated Lightning Component.",
|
|
605
|
-
"hasDynamicHelp": false,
|
|
606
|
-
"multiple": false,
|
|
607
|
-
"type": "option"
|
|
608
|
-
},
|
|
609
|
-
"template": {
|
|
610
|
-
"char": "t",
|
|
611
|
-
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
612
|
-
"name": "template",
|
|
613
|
-
"summary": "Template to use for file creation.",
|
|
614
|
-
"default": "default",
|
|
615
|
-
"hasDynamicHelp": false,
|
|
616
|
-
"multiple": false,
|
|
617
|
-
"options": [
|
|
618
|
-
"default",
|
|
619
|
-
"analyticsDashboard",
|
|
620
|
-
"analyticsDashboardWithStep"
|
|
621
|
-
],
|
|
622
|
-
"type": "option"
|
|
623
|
-
},
|
|
624
638
|
"output-dir": {
|
|
625
639
|
"aliases": [
|
|
626
640
|
"outputdir"
|
|
@@ -646,26 +660,19 @@
|
|
|
646
660
|
"multiple": false,
|
|
647
661
|
"type": "option"
|
|
648
662
|
},
|
|
649
|
-
"
|
|
650
|
-
"
|
|
651
|
-
|
|
652
|
-
|
|
663
|
+
"name": {
|
|
664
|
+
"aliases": [
|
|
665
|
+
"templatename"
|
|
666
|
+
],
|
|
667
|
+
"char": "n",
|
|
668
|
+
"deprecateAliases": true,
|
|
669
|
+
"name": "name",
|
|
670
|
+
"required": true,
|
|
671
|
+
"summary": "Name of the Analytics template.",
|
|
653
672
|
"hasDynamicHelp": false,
|
|
654
673
|
"multiple": false,
|
|
655
|
-
"options": [
|
|
656
|
-
"aura",
|
|
657
|
-
"lwc"
|
|
658
|
-
],
|
|
659
674
|
"type": "option"
|
|
660
675
|
},
|
|
661
|
-
"internal": {
|
|
662
|
-
"char": "i",
|
|
663
|
-
"hidden": true,
|
|
664
|
-
"name": "internal",
|
|
665
|
-
"summary": "Generate lightning bundles without creating a -meta.xml file.",
|
|
666
|
-
"allowNo": false,
|
|
667
|
-
"type": "boolean"
|
|
668
|
-
},
|
|
669
676
|
"loglevel": {
|
|
670
677
|
"deprecated": {
|
|
671
678
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
@@ -679,66 +686,66 @@
|
|
|
679
686
|
},
|
|
680
687
|
"hasDynamicHelp": false,
|
|
681
688
|
"hiddenAliases": [],
|
|
682
|
-
"id": "
|
|
689
|
+
"id": "analytics:generate:template",
|
|
683
690
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
684
691
|
"pluginName": "@salesforce/plugin-templates",
|
|
685
692
|
"pluginType": "core",
|
|
686
693
|
"strict": true,
|
|
687
|
-
"summary": "Generate a
|
|
694
|
+
"summary": "Generate a simple Analytics template.",
|
|
688
695
|
"enableJsonFlag": true,
|
|
689
696
|
"isESM": true,
|
|
690
697
|
"relativePath": [
|
|
691
698
|
"lib",
|
|
692
699
|
"commands",
|
|
693
|
-
"
|
|
700
|
+
"analytics",
|
|
694
701
|
"generate",
|
|
695
|
-
"
|
|
702
|
+
"template.js"
|
|
696
703
|
],
|
|
697
704
|
"aliasPermutations": [
|
|
698
|
-
"force:
|
|
699
|
-
"
|
|
700
|
-
"
|
|
701
|
-
"
|
|
702
|
-
"force:
|
|
703
|
-
"
|
|
704
|
-
"
|
|
705
|
-
"
|
|
706
|
-
"force:
|
|
707
|
-
"
|
|
708
|
-
"
|
|
709
|
-
"
|
|
710
|
-
"force:
|
|
711
|
-
"
|
|
712
|
-
"
|
|
713
|
-
"
|
|
714
|
-
"force:create:
|
|
715
|
-
"create:force:
|
|
716
|
-
"create:
|
|
717
|
-
"create:
|
|
718
|
-
"force:create:
|
|
719
|
-
"create:force:
|
|
720
|
-
"create:
|
|
721
|
-
"create:
|
|
705
|
+
"force:analytics:template:create",
|
|
706
|
+
"analytics:force:template:create",
|
|
707
|
+
"analytics:template:force:create",
|
|
708
|
+
"analytics:template:create:force",
|
|
709
|
+
"force:template:analytics:create",
|
|
710
|
+
"template:force:analytics:create",
|
|
711
|
+
"template:analytics:force:create",
|
|
712
|
+
"template:analytics:create:force",
|
|
713
|
+
"force:template:create:analytics",
|
|
714
|
+
"template:force:create:analytics",
|
|
715
|
+
"template:create:force:analytics",
|
|
716
|
+
"template:create:analytics:force",
|
|
717
|
+
"force:analytics:create:template",
|
|
718
|
+
"analytics:force:create:template",
|
|
719
|
+
"analytics:create:force:template",
|
|
720
|
+
"analytics:create:template:force",
|
|
721
|
+
"force:create:analytics:template",
|
|
722
|
+
"create:force:analytics:template",
|
|
723
|
+
"create:analytics:force:template",
|
|
724
|
+
"create:analytics:template:force",
|
|
725
|
+
"force:create:template:analytics",
|
|
726
|
+
"create:force:template:analytics",
|
|
727
|
+
"create:template:force:analytics",
|
|
728
|
+
"create:template:analytics:force"
|
|
722
729
|
],
|
|
723
730
|
"permutations": [
|
|
724
|
-
"
|
|
725
|
-
"generate:
|
|
726
|
-
"generate:
|
|
727
|
-
"
|
|
728
|
-
"
|
|
729
|
-
"
|
|
731
|
+
"analytics:generate:template",
|
|
732
|
+
"generate:analytics:template",
|
|
733
|
+
"generate:template:analytics",
|
|
734
|
+
"analytics:template:generate",
|
|
735
|
+
"template:analytics:generate",
|
|
736
|
+
"template:generate:analytics"
|
|
730
737
|
]
|
|
731
738
|
},
|
|
732
|
-
"
|
|
739
|
+
"visualforce:generate:component": {
|
|
733
740
|
"aliases": [
|
|
734
|
-
"force:
|
|
741
|
+
"force:visualforce:component:create"
|
|
735
742
|
],
|
|
736
743
|
"args": {},
|
|
737
744
|
"deprecateAliases": true,
|
|
738
|
-
"description": "
|
|
745
|
+
"description": "The command generates the .Component file and associated metadata file in the specified directory or the current working directory by default.",
|
|
739
746
|
"examples": [
|
|
740
|
-
"Generate the metadata files for a
|
|
741
|
-
"Similar to previous example, but generate the files in the \"force-app/main/default/
|
|
747
|
+
"Generate the metadata files for a Visualforce component in the current directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --label mylabel",
|
|
748
|
+
"Similar to previous example, but generate the files in the directory \"force-app/main/default/components\":\n<%= config.bin %> <%= command.id %> --name mycomponent --label mylabel --output-dir components"
|
|
742
749
|
],
|
|
743
750
|
"flags": {
|
|
744
751
|
"json": {
|
|
@@ -758,14 +765,14 @@
|
|
|
758
765
|
},
|
|
759
766
|
"name": {
|
|
760
767
|
"aliases": [
|
|
761
|
-
"
|
|
768
|
+
"componentname"
|
|
762
769
|
],
|
|
763
770
|
"char": "n",
|
|
764
771
|
"deprecateAliases": true,
|
|
765
772
|
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
766
773
|
"name": "name",
|
|
767
774
|
"required": true,
|
|
768
|
-
"summary": "Name of the generated
|
|
775
|
+
"summary": "Name of the generated Visualforce Component.",
|
|
769
776
|
"hasDynamicHelp": false,
|
|
770
777
|
"multiple": false,
|
|
771
778
|
"type": "option"
|
|
@@ -775,11 +782,11 @@
|
|
|
775
782
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
776
783
|
"name": "template",
|
|
777
784
|
"summary": "Template to use for file creation.",
|
|
778
|
-
"default": "
|
|
785
|
+
"default": "DefaultVFComponent",
|
|
779
786
|
"hasDynamicHelp": false,
|
|
780
787
|
"multiple": false,
|
|
781
788
|
"options": [
|
|
782
|
-
"
|
|
789
|
+
"DefaultVFComponent"
|
|
783
790
|
],
|
|
784
791
|
"type": "option"
|
|
785
792
|
},
|
|
@@ -808,14 +815,15 @@
|
|
|
808
815
|
"multiple": false,
|
|
809
816
|
"type": "option"
|
|
810
817
|
},
|
|
811
|
-
"
|
|
812
|
-
"char": "
|
|
813
|
-
"
|
|
814
|
-
"
|
|
815
|
-
"summary": "
|
|
816
|
-
"
|
|
817
|
-
"
|
|
818
|
-
|
|
818
|
+
"label": {
|
|
819
|
+
"char": "l",
|
|
820
|
+
"name": "label",
|
|
821
|
+
"required": true,
|
|
822
|
+
"summary": "Visualforce Component label.",
|
|
823
|
+
"hasDynamicHelp": false,
|
|
824
|
+
"multiple": false,
|
|
825
|
+
"type": "option"
|
|
826
|
+
},
|
|
819
827
|
"loglevel": {
|
|
820
828
|
"deprecated": {
|
|
821
829
|
"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."
|
|
@@ -829,66 +837,66 @@
|
|
|
829
837
|
},
|
|
830
838
|
"hasDynamicHelp": false,
|
|
831
839
|
"hiddenAliases": [],
|
|
832
|
-
"id": "
|
|
840
|
+
"id": "visualforce:generate:component",
|
|
833
841
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
834
842
|
"pluginName": "@salesforce/plugin-templates",
|
|
835
843
|
"pluginType": "core",
|
|
836
844
|
"strict": true,
|
|
837
|
-
"summary": "Generate a
|
|
845
|
+
"summary": "Generate a Visualforce Component.",
|
|
838
846
|
"enableJsonFlag": true,
|
|
839
847
|
"isESM": true,
|
|
840
848
|
"relativePath": [
|
|
841
849
|
"lib",
|
|
842
850
|
"commands",
|
|
843
|
-
"
|
|
851
|
+
"visualforce",
|
|
844
852
|
"generate",
|
|
845
|
-
"
|
|
853
|
+
"component.js"
|
|
846
854
|
],
|
|
847
855
|
"aliasPermutations": [
|
|
848
|
-
"force:
|
|
849
|
-
"
|
|
850
|
-
"
|
|
851
|
-
"
|
|
852
|
-
"force:
|
|
853
|
-
"
|
|
854
|
-
"
|
|
855
|
-
"
|
|
856
|
-
"force:
|
|
857
|
-
"
|
|
858
|
-
"
|
|
859
|
-
"
|
|
860
|
-
"force:
|
|
861
|
-
"
|
|
862
|
-
"
|
|
863
|
-
"
|
|
864
|
-
"force:create:
|
|
865
|
-
"create:force:
|
|
866
|
-
"create:
|
|
867
|
-
"create:
|
|
868
|
-
"force:create:
|
|
869
|
-
"create:force:
|
|
870
|
-
"create:
|
|
871
|
-
"create:
|
|
856
|
+
"force:visualforce:component:create",
|
|
857
|
+
"visualforce:force:component:create",
|
|
858
|
+
"visualforce:component:force:create",
|
|
859
|
+
"visualforce:component:create:force",
|
|
860
|
+
"force:component:visualforce:create",
|
|
861
|
+
"component:force:visualforce:create",
|
|
862
|
+
"component:visualforce:force:create",
|
|
863
|
+
"component:visualforce:create:force",
|
|
864
|
+
"force:component:create:visualforce",
|
|
865
|
+
"component:force:create:visualforce",
|
|
866
|
+
"component:create:force:visualforce",
|
|
867
|
+
"component:create:visualforce:force",
|
|
868
|
+
"force:visualforce:create:component",
|
|
869
|
+
"visualforce:force:create:component",
|
|
870
|
+
"visualforce:create:force:component",
|
|
871
|
+
"visualforce:create:component:force",
|
|
872
|
+
"force:create:visualforce:component",
|
|
873
|
+
"create:force:visualforce:component",
|
|
874
|
+
"create:visualforce:force:component",
|
|
875
|
+
"create:visualforce:component:force",
|
|
876
|
+
"force:create:component:visualforce",
|
|
877
|
+
"create:force:component:visualforce",
|
|
878
|
+
"create:component:force:visualforce",
|
|
879
|
+
"create:component:visualforce:force"
|
|
872
880
|
],
|
|
873
881
|
"permutations": [
|
|
874
|
-
"
|
|
875
|
-
"generate:
|
|
876
|
-
"generate:
|
|
877
|
-
"
|
|
878
|
-
"
|
|
879
|
-
"
|
|
882
|
+
"visualforce:generate:component",
|
|
883
|
+
"generate:visualforce:component",
|
|
884
|
+
"generate:component:visualforce",
|
|
885
|
+
"visualforce:component:generate",
|
|
886
|
+
"component:visualforce:generate",
|
|
887
|
+
"component:generate:visualforce"
|
|
880
888
|
]
|
|
881
889
|
},
|
|
882
|
-
"
|
|
890
|
+
"visualforce:generate:page": {
|
|
883
891
|
"aliases": [
|
|
884
|
-
"force:
|
|
892
|
+
"force:visualforce:page:create"
|
|
885
893
|
],
|
|
886
894
|
"args": {},
|
|
887
895
|
"deprecateAliases": true,
|
|
888
|
-
"description": "
|
|
896
|
+
"description": "The command generates the .Page file and associated metadata file in the specified directory or the current working directory by default.",
|
|
889
897
|
"examples": [
|
|
890
|
-
"Generate the metadata files for a
|
|
891
|
-
"Similar to
|
|
898
|
+
"Generate the metadata files for a Visualforce page in the current directory:\n<%= config.bin %> <%= command.id %> --name mypage --label mylabel",
|
|
899
|
+
"Similar to previous example, but generate the files in the directory \"force-app/main/default/pages\":\n<%= config.bin %> <%= command.id %> --name mypage --label mylabel --output-dir pages"
|
|
892
900
|
],
|
|
893
901
|
"flags": {
|
|
894
902
|
"json": {
|
|
@@ -908,14 +916,14 @@
|
|
|
908
916
|
},
|
|
909
917
|
"name": {
|
|
910
918
|
"aliases": [
|
|
911
|
-
"
|
|
919
|
+
"pagename"
|
|
912
920
|
],
|
|
913
921
|
"char": "n",
|
|
914
922
|
"deprecateAliases": true,
|
|
915
923
|
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
916
924
|
"name": "name",
|
|
917
925
|
"required": true,
|
|
918
|
-
"summary": "Name of the generated
|
|
926
|
+
"summary": "Name of the generated Visualforce Page.",
|
|
919
927
|
"hasDynamicHelp": false,
|
|
920
928
|
"multiple": false,
|
|
921
929
|
"type": "option"
|
|
@@ -923,13 +931,14 @@
|
|
|
923
931
|
"template": {
|
|
924
932
|
"char": "t",
|
|
925
933
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
934
|
+
"hidden": true,
|
|
926
935
|
"name": "template",
|
|
927
936
|
"summary": "Template to use for file creation.",
|
|
928
|
-
"default": "
|
|
937
|
+
"default": "DefaultVFPage",
|
|
929
938
|
"hasDynamicHelp": false,
|
|
930
939
|
"multiple": false,
|
|
931
940
|
"options": [
|
|
932
|
-
"
|
|
941
|
+
"DefaultVFPage"
|
|
933
942
|
],
|
|
934
943
|
"type": "option"
|
|
935
944
|
},
|
|
@@ -958,13 +967,14 @@
|
|
|
958
967
|
"multiple": false,
|
|
959
968
|
"type": "option"
|
|
960
969
|
},
|
|
961
|
-
"
|
|
962
|
-
"char": "
|
|
963
|
-
"
|
|
964
|
-
"
|
|
965
|
-
"summary": "
|
|
966
|
-
"
|
|
967
|
-
"
|
|
970
|
+
"label": {
|
|
971
|
+
"char": "l",
|
|
972
|
+
"name": "label",
|
|
973
|
+
"required": true,
|
|
974
|
+
"summary": "Visualforce Page label.",
|
|
975
|
+
"hasDynamicHelp": false,
|
|
976
|
+
"multiple": false,
|
|
977
|
+
"type": "option"
|
|
968
978
|
},
|
|
969
979
|
"loglevel": {
|
|
970
980
|
"deprecated": {
|
|
@@ -979,66 +989,66 @@
|
|
|
979
989
|
},
|
|
980
990
|
"hasDynamicHelp": false,
|
|
981
991
|
"hiddenAliases": [],
|
|
982
|
-
"id": "
|
|
992
|
+
"id": "visualforce:generate:page",
|
|
983
993
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
984
994
|
"pluginName": "@salesforce/plugin-templates",
|
|
985
995
|
"pluginType": "core",
|
|
986
996
|
"strict": true,
|
|
987
|
-
"summary": "Generate a
|
|
997
|
+
"summary": "Generate a Visualforce Page.",
|
|
988
998
|
"enableJsonFlag": true,
|
|
989
999
|
"isESM": true,
|
|
990
1000
|
"relativePath": [
|
|
991
1001
|
"lib",
|
|
992
1002
|
"commands",
|
|
993
|
-
"
|
|
1003
|
+
"visualforce",
|
|
994
1004
|
"generate",
|
|
995
|
-
"
|
|
1005
|
+
"page.js"
|
|
996
1006
|
],
|
|
997
1007
|
"aliasPermutations": [
|
|
998
|
-
"force:
|
|
999
|
-
"
|
|
1000
|
-
"
|
|
1001
|
-
"
|
|
1002
|
-
"force:
|
|
1003
|
-
"
|
|
1004
|
-
"
|
|
1005
|
-
"
|
|
1006
|
-
"force:
|
|
1007
|
-
"
|
|
1008
|
-
"
|
|
1009
|
-
"
|
|
1010
|
-
"force:
|
|
1011
|
-
"
|
|
1012
|
-
"
|
|
1013
|
-
"
|
|
1014
|
-
"force:create:
|
|
1015
|
-
"create:force:
|
|
1016
|
-
"create:
|
|
1017
|
-
"create:
|
|
1018
|
-
"force:create:
|
|
1019
|
-
"create:force:
|
|
1020
|
-
"create:
|
|
1021
|
-
"create:
|
|
1008
|
+
"force:visualforce:page:create",
|
|
1009
|
+
"visualforce:force:page:create",
|
|
1010
|
+
"visualforce:page:force:create",
|
|
1011
|
+
"visualforce:page:create:force",
|
|
1012
|
+
"force:page:visualforce:create",
|
|
1013
|
+
"page:force:visualforce:create",
|
|
1014
|
+
"page:visualforce:force:create",
|
|
1015
|
+
"page:visualforce:create:force",
|
|
1016
|
+
"force:page:create:visualforce",
|
|
1017
|
+
"page:force:create:visualforce",
|
|
1018
|
+
"page:create:force:visualforce",
|
|
1019
|
+
"page:create:visualforce:force",
|
|
1020
|
+
"force:visualforce:create:page",
|
|
1021
|
+
"visualforce:force:create:page",
|
|
1022
|
+
"visualforce:create:force:page",
|
|
1023
|
+
"visualforce:create:page:force",
|
|
1024
|
+
"force:create:visualforce:page",
|
|
1025
|
+
"create:force:visualforce:page",
|
|
1026
|
+
"create:visualforce:force:page",
|
|
1027
|
+
"create:visualforce:page:force",
|
|
1028
|
+
"force:create:page:visualforce",
|
|
1029
|
+
"create:force:page:visualforce",
|
|
1030
|
+
"create:page:force:visualforce",
|
|
1031
|
+
"create:page:visualforce:force"
|
|
1022
1032
|
],
|
|
1023
1033
|
"permutations": [
|
|
1024
|
-
"
|
|
1025
|
-
"generate:
|
|
1026
|
-
"generate:
|
|
1027
|
-
"
|
|
1028
|
-
"
|
|
1029
|
-
"
|
|
1034
|
+
"visualforce:generate:page",
|
|
1035
|
+
"generate:visualforce:page",
|
|
1036
|
+
"generate:page:visualforce",
|
|
1037
|
+
"visualforce:page:generate",
|
|
1038
|
+
"page:visualforce:generate",
|
|
1039
|
+
"page:generate:visualforce"
|
|
1030
1040
|
]
|
|
1031
1041
|
},
|
|
1032
|
-
"lightning:generate:
|
|
1042
|
+
"lightning:generate:app": {
|
|
1033
1043
|
"aliases": [
|
|
1034
|
-
"force:lightning:
|
|
1044
|
+
"force:lightning:app:create"
|
|
1035
1045
|
],
|
|
1036
1046
|
"args": {},
|
|
1037
1047
|
"deprecateAliases": true,
|
|
1038
|
-
"description": "Generates
|
|
1048
|
+
"description": "Generates a Lightning App bundle in the specified directory or the current working directory. The bundle consists of multiple files in a folder with the designated name.",
|
|
1039
1049
|
"examples": [
|
|
1040
|
-
"Generate the metadata files for
|
|
1041
|
-
"Similar to the previous example but generate the files in the \"force-app/main/default/
|
|
1050
|
+
"Generate the metadata files for a Lightning app bundle called \"myapp\" in the current directory:\n<%= config.bin %> <%= command.id %> --name myapp",
|
|
1051
|
+
"Similar to the previous example, but generate the files in the \"force-app/main/default/aura\" directory:\n<%= config.bin %> <%= command.id %> --name myapp --output-dir force-app/main/default/aura"
|
|
1042
1052
|
],
|
|
1043
1053
|
"flags": {
|
|
1044
1054
|
"json": {
|
|
@@ -1058,14 +1068,14 @@
|
|
|
1058
1068
|
},
|
|
1059
1069
|
"name": {
|
|
1060
1070
|
"aliases": [
|
|
1061
|
-
"
|
|
1071
|
+
"appname"
|
|
1062
1072
|
],
|
|
1063
1073
|
"char": "n",
|
|
1064
1074
|
"deprecateAliases": true,
|
|
1065
|
-
"description": "
|
|
1075
|
+
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
1066
1076
|
"name": "name",
|
|
1067
1077
|
"required": true,
|
|
1068
|
-
"summary": "Name of the generated Lightning
|
|
1078
|
+
"summary": "Name of the generated Lightning App.",
|
|
1069
1079
|
"hasDynamicHelp": false,
|
|
1070
1080
|
"multiple": false,
|
|
1071
1081
|
"type": "option"
|
|
@@ -1075,11 +1085,11 @@
|
|
|
1075
1085
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
1076
1086
|
"name": "template",
|
|
1077
1087
|
"summary": "Template to use for file creation.",
|
|
1078
|
-
"default": "
|
|
1088
|
+
"default": "DefaultLightningApp",
|
|
1079
1089
|
"hasDynamicHelp": false,
|
|
1080
1090
|
"multiple": false,
|
|
1081
1091
|
"options": [
|
|
1082
|
-
"
|
|
1092
|
+
"DefaultLightningApp"
|
|
1083
1093
|
],
|
|
1084
1094
|
"type": "option"
|
|
1085
1095
|
},
|
|
@@ -1097,14 +1107,6 @@
|
|
|
1097
1107
|
"multiple": false,
|
|
1098
1108
|
"type": "option"
|
|
1099
1109
|
},
|
|
1100
|
-
"internal": {
|
|
1101
|
-
"char": "i",
|
|
1102
|
-
"hidden": true,
|
|
1103
|
-
"name": "internal",
|
|
1104
|
-
"summary": "Generate lightning bundles without creating a -meta.xml file.",
|
|
1105
|
-
"allowNo": false,
|
|
1106
|
-
"type": "boolean"
|
|
1107
|
-
},
|
|
1108
1110
|
"api-version": {
|
|
1109
1111
|
"aliases": [
|
|
1110
1112
|
"apiversion"
|
|
@@ -1116,6 +1118,14 @@
|
|
|
1116
1118
|
"multiple": false,
|
|
1117
1119
|
"type": "option"
|
|
1118
1120
|
},
|
|
1121
|
+
"internal": {
|
|
1122
|
+
"char": "i",
|
|
1123
|
+
"hidden": true,
|
|
1124
|
+
"name": "internal",
|
|
1125
|
+
"summary": "Generate lightning bundles without creating a -meta.xml file.",
|
|
1126
|
+
"allowNo": false,
|
|
1127
|
+
"type": "boolean"
|
|
1128
|
+
},
|
|
1119
1129
|
"loglevel": {
|
|
1120
1130
|
"deprecated": {
|
|
1121
1131
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
@@ -1129,66 +1139,68 @@
|
|
|
1129
1139
|
},
|
|
1130
1140
|
"hasDynamicHelp": false,
|
|
1131
1141
|
"hiddenAliases": [],
|
|
1132
|
-
"id": "lightning:generate:
|
|
1142
|
+
"id": "lightning:generate:app",
|
|
1133
1143
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
1134
1144
|
"pluginName": "@salesforce/plugin-templates",
|
|
1135
1145
|
"pluginType": "core",
|
|
1136
1146
|
"strict": true,
|
|
1137
|
-
"summary": "Generate a Lightning
|
|
1147
|
+
"summary": "Generate a Lightning App.",
|
|
1138
1148
|
"enableJsonFlag": true,
|
|
1139
1149
|
"isESM": true,
|
|
1140
|
-
"relativePath": [
|
|
1141
|
-
"lib",
|
|
1142
|
-
"commands",
|
|
1143
|
-
"lightning",
|
|
1144
|
-
"generate",
|
|
1145
|
-
"
|
|
1146
|
-
],
|
|
1147
|
-
"aliasPermutations": [
|
|
1148
|
-
"force:lightning:
|
|
1149
|
-
"lightning:force:
|
|
1150
|
-
"lightning:
|
|
1151
|
-
"lightning:
|
|
1152
|
-
"force:
|
|
1153
|
-
"
|
|
1154
|
-
"
|
|
1155
|
-
"
|
|
1156
|
-
"force:
|
|
1157
|
-
"
|
|
1158
|
-
"
|
|
1159
|
-
"
|
|
1160
|
-
"force:lightning:create:
|
|
1161
|
-
"lightning:force:create:
|
|
1162
|
-
"lightning:create:force:
|
|
1163
|
-
"lightning:create:
|
|
1164
|
-
"force:create:lightning:
|
|
1165
|
-
"create:force:lightning:
|
|
1166
|
-
"create:lightning:force:
|
|
1167
|
-
"create:lightning:
|
|
1168
|
-
"force:create:
|
|
1169
|
-
"create:force:
|
|
1170
|
-
"create:
|
|
1171
|
-
"create:
|
|
1150
|
+
"relativePath": [
|
|
1151
|
+
"lib",
|
|
1152
|
+
"commands",
|
|
1153
|
+
"lightning",
|
|
1154
|
+
"generate",
|
|
1155
|
+
"app.js"
|
|
1156
|
+
],
|
|
1157
|
+
"aliasPermutations": [
|
|
1158
|
+
"force:lightning:app:create",
|
|
1159
|
+
"lightning:force:app:create",
|
|
1160
|
+
"lightning:app:force:create",
|
|
1161
|
+
"lightning:app:create:force",
|
|
1162
|
+
"force:app:lightning:create",
|
|
1163
|
+
"app:force:lightning:create",
|
|
1164
|
+
"app:lightning:force:create",
|
|
1165
|
+
"app:lightning:create:force",
|
|
1166
|
+
"force:app:create:lightning",
|
|
1167
|
+
"app:force:create:lightning",
|
|
1168
|
+
"app:create:force:lightning",
|
|
1169
|
+
"app:create:lightning:force",
|
|
1170
|
+
"force:lightning:create:app",
|
|
1171
|
+
"lightning:force:create:app",
|
|
1172
|
+
"lightning:create:force:app",
|
|
1173
|
+
"lightning:create:app:force",
|
|
1174
|
+
"force:create:lightning:app",
|
|
1175
|
+
"create:force:lightning:app",
|
|
1176
|
+
"create:lightning:force:app",
|
|
1177
|
+
"create:lightning:app:force",
|
|
1178
|
+
"force:create:app:lightning",
|
|
1179
|
+
"create:force:app:lightning",
|
|
1180
|
+
"create:app:force:lightning",
|
|
1181
|
+
"create:app:lightning:force"
|
|
1172
1182
|
],
|
|
1173
1183
|
"permutations": [
|
|
1174
|
-
"lightning:generate:
|
|
1175
|
-
"generate:lightning:
|
|
1176
|
-
"generate:
|
|
1177
|
-
"lightning:
|
|
1178
|
-
"
|
|
1179
|
-
"
|
|
1184
|
+
"lightning:generate:app",
|
|
1185
|
+
"generate:lightning:app",
|
|
1186
|
+
"generate:app:lightning",
|
|
1187
|
+
"lightning:app:generate",
|
|
1188
|
+
"app:lightning:generate",
|
|
1189
|
+
"app:generate:lightning"
|
|
1180
1190
|
]
|
|
1181
1191
|
},
|
|
1182
|
-
"
|
|
1192
|
+
"lightning:generate:component": {
|
|
1183
1193
|
"aliases": [
|
|
1184
|
-
"force:
|
|
1194
|
+
"force:lightning:component:create"
|
|
1185
1195
|
],
|
|
1186
1196
|
"args": {},
|
|
1187
1197
|
"deprecateAliases": true,
|
|
1188
|
-
"description": "Generates the
|
|
1198
|
+
"description": "Generates the bundle in the specified directory or the current working directory. The bundle consists of multiple files in a directory with the designated name. Lightning web components are contained in the directory with name \"lwc\", Aura components in \"aura\".\n\nTo generate a Lightning web component, pass \"--type lwc\" to the command. If you don’t specify --type, Salesforce CLI generates an Aura component by default.",
|
|
1189
1199
|
"examples": [
|
|
1190
|
-
"Generate
|
|
1191
|
-
"
|
|
1200
|
+
"Generate the metadata files for an Aura component bundle in the current directory:\n<%= config.bin %> <%= command.id %> --name mycomponent",
|
|
1201
|
+
"Generate a Lightning web component bundle in the current directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --type lwc",
|
|
1202
|
+
"Generate an Aura component bundle in the \"force-app/main/default/aura\" directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --output-dir force-app/main/default/aura",
|
|
1203
|
+
"Generate a Lightning web component bundle in the \"force-app/main/default/lwc\" directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --type lwc --output-dir force-app/main/default/lwc"
|
|
1192
1204
|
],
|
|
1193
1205
|
"flags": {
|
|
1194
1206
|
"json": {
|
|
@@ -1208,14 +1220,14 @@
|
|
|
1208
1220
|
},
|
|
1209
1221
|
"name": {
|
|
1210
1222
|
"aliases": [
|
|
1211
|
-
"
|
|
1223
|
+
"componentname"
|
|
1212
1224
|
],
|
|
1213
1225
|
"char": "n",
|
|
1214
1226
|
"deprecateAliases": true,
|
|
1215
1227
|
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
1216
1228
|
"name": "name",
|
|
1217
1229
|
"required": true,
|
|
1218
|
-
"summary": "Name of the generated
|
|
1230
|
+
"summary": "Name of the generated Lightning Component.",
|
|
1219
1231
|
"hasDynamicHelp": false,
|
|
1220
1232
|
"multiple": false,
|
|
1221
1233
|
"type": "option"
|
|
@@ -1225,15 +1237,13 @@
|
|
|
1225
1237
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
1226
1238
|
"name": "template",
|
|
1227
1239
|
"summary": "Template to use for file creation.",
|
|
1228
|
-
"default": "
|
|
1240
|
+
"default": "default",
|
|
1229
1241
|
"hasDynamicHelp": false,
|
|
1230
1242
|
"multiple": false,
|
|
1231
1243
|
"options": [
|
|
1232
|
-
"
|
|
1233
|
-
"
|
|
1234
|
-
"
|
|
1235
|
-
"DefaultApexClass",
|
|
1236
|
-
"InboundEmailService"
|
|
1244
|
+
"default",
|
|
1245
|
+
"analyticsDashboard",
|
|
1246
|
+
"analyticsDashboardWithStep"
|
|
1237
1247
|
],
|
|
1238
1248
|
"type": "option"
|
|
1239
1249
|
},
|
|
@@ -1262,6 +1272,26 @@
|
|
|
1262
1272
|
"multiple": false,
|
|
1263
1273
|
"type": "option"
|
|
1264
1274
|
},
|
|
1275
|
+
"type": {
|
|
1276
|
+
"name": "type",
|
|
1277
|
+
"summary": "Type of the component bundle.",
|
|
1278
|
+
"default": "aura",
|
|
1279
|
+
"hasDynamicHelp": false,
|
|
1280
|
+
"multiple": false,
|
|
1281
|
+
"options": [
|
|
1282
|
+
"aura",
|
|
1283
|
+
"lwc"
|
|
1284
|
+
],
|
|
1285
|
+
"type": "option"
|
|
1286
|
+
},
|
|
1287
|
+
"internal": {
|
|
1288
|
+
"char": "i",
|
|
1289
|
+
"hidden": true,
|
|
1290
|
+
"name": "internal",
|
|
1291
|
+
"summary": "Generate lightning bundles without creating a -meta.xml file.",
|
|
1292
|
+
"allowNo": false,
|
|
1293
|
+
"type": "boolean"
|
|
1294
|
+
},
|
|
1265
1295
|
"loglevel": {
|
|
1266
1296
|
"deprecated": {
|
|
1267
1297
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
@@ -1275,67 +1305,66 @@
|
|
|
1275
1305
|
},
|
|
1276
1306
|
"hasDynamicHelp": false,
|
|
1277
1307
|
"hiddenAliases": [],
|
|
1278
|
-
"id": "
|
|
1308
|
+
"id": "lightning:generate:component",
|
|
1279
1309
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
1280
1310
|
"pluginName": "@salesforce/plugin-templates",
|
|
1281
1311
|
"pluginType": "core",
|
|
1282
1312
|
"strict": true,
|
|
1283
|
-
"summary": "Generate an
|
|
1313
|
+
"summary": "Generate a bundle for an Aura component or a Lightning web component.",
|
|
1284
1314
|
"enableJsonFlag": true,
|
|
1285
1315
|
"isESM": true,
|
|
1286
1316
|
"relativePath": [
|
|
1287
1317
|
"lib",
|
|
1288
1318
|
"commands",
|
|
1289
|
-
"
|
|
1319
|
+
"lightning",
|
|
1290
1320
|
"generate",
|
|
1291
|
-
"
|
|
1321
|
+
"component.js"
|
|
1292
1322
|
],
|
|
1293
1323
|
"aliasPermutations": [
|
|
1294
|
-
"force:
|
|
1295
|
-
"
|
|
1296
|
-
"
|
|
1297
|
-
"
|
|
1298
|
-
"force:
|
|
1299
|
-
"
|
|
1300
|
-
"
|
|
1301
|
-
"
|
|
1302
|
-
"force:
|
|
1303
|
-
"
|
|
1304
|
-
"
|
|
1305
|
-
"
|
|
1306
|
-
"force:
|
|
1307
|
-
"
|
|
1308
|
-
"
|
|
1309
|
-
"
|
|
1310
|
-
"force:create:
|
|
1311
|
-
"create:force:
|
|
1312
|
-
"create:
|
|
1313
|
-
"create:
|
|
1314
|
-
"force:create:
|
|
1315
|
-
"create:force:
|
|
1316
|
-
"create:
|
|
1317
|
-
"create:
|
|
1324
|
+
"force:lightning:component:create",
|
|
1325
|
+
"lightning:force:component:create",
|
|
1326
|
+
"lightning:component:force:create",
|
|
1327
|
+
"lightning:component:create:force",
|
|
1328
|
+
"force:component:lightning:create",
|
|
1329
|
+
"component:force:lightning:create",
|
|
1330
|
+
"component:lightning:force:create",
|
|
1331
|
+
"component:lightning:create:force",
|
|
1332
|
+
"force:component:create:lightning",
|
|
1333
|
+
"component:force:create:lightning",
|
|
1334
|
+
"component:create:force:lightning",
|
|
1335
|
+
"component:create:lightning:force",
|
|
1336
|
+
"force:lightning:create:component",
|
|
1337
|
+
"lightning:force:create:component",
|
|
1338
|
+
"lightning:create:force:component",
|
|
1339
|
+
"lightning:create:component:force",
|
|
1340
|
+
"force:create:lightning:component",
|
|
1341
|
+
"create:force:lightning:component",
|
|
1342
|
+
"create:lightning:force:component",
|
|
1343
|
+
"create:lightning:component:force",
|
|
1344
|
+
"force:create:component:lightning",
|
|
1345
|
+
"create:force:component:lightning",
|
|
1346
|
+
"create:component:force:lightning",
|
|
1347
|
+
"create:component:lightning:force"
|
|
1318
1348
|
],
|
|
1319
1349
|
"permutations": [
|
|
1320
|
-
"
|
|
1321
|
-
"generate:
|
|
1322
|
-
"generate:
|
|
1323
|
-
"
|
|
1324
|
-
"
|
|
1325
|
-
"
|
|
1350
|
+
"lightning:generate:component",
|
|
1351
|
+
"generate:lightning:component",
|
|
1352
|
+
"generate:component:lightning",
|
|
1353
|
+
"lightning:component:generate",
|
|
1354
|
+
"component:lightning:generate",
|
|
1355
|
+
"component:generate:lightning"
|
|
1326
1356
|
]
|
|
1327
1357
|
},
|
|
1328
|
-
"
|
|
1358
|
+
"lightning:generate:event": {
|
|
1329
1359
|
"aliases": [
|
|
1330
|
-
"force:
|
|
1360
|
+
"force:lightning:event:create"
|
|
1331
1361
|
],
|
|
1332
1362
|
"args": {},
|
|
1333
1363
|
"deprecateAliases": true,
|
|
1334
|
-
"description": "Generates
|
|
1364
|
+
"description": "Generates a Lightning Event bundle in the specified directory or the current working directory. The bundle consists of multiple files in a folder with the designated name.",
|
|
1335
1365
|
"examples": [
|
|
1336
|
-
"Generate
|
|
1337
|
-
"Similar to
|
|
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\""
|
|
1366
|
+
"Generate the metadata files for a Lightning event bundle called \"myevent\" in the current directory:\n<%= config.bin %> <%= command.id %> --name myevent",
|
|
1367
|
+
"Similar to previous example, but generate the files in the \"force-app/main/default/aura\" directory:\n<%= config.bin %> <%= command.id %> --name myevent --output-dir force-app/main/default/aura"
|
|
1339
1368
|
],
|
|
1340
1369
|
"flags": {
|
|
1341
1370
|
"json": {
|
|
@@ -1355,14 +1384,14 @@
|
|
|
1355
1384
|
},
|
|
1356
1385
|
"name": {
|
|
1357
1386
|
"aliases": [
|
|
1358
|
-
"
|
|
1387
|
+
"eventname"
|
|
1359
1388
|
],
|
|
1360
1389
|
"char": "n",
|
|
1361
1390
|
"deprecateAliases": true,
|
|
1362
1391
|
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
1363
1392
|
"name": "name",
|
|
1364
1393
|
"required": true,
|
|
1365
|
-
"summary": "Name of the generated
|
|
1394
|
+
"summary": "Name of the generated Lightning Event.",
|
|
1366
1395
|
"hasDynamicHelp": false,
|
|
1367
1396
|
"multiple": false,
|
|
1368
1397
|
"type": "option"
|
|
@@ -1372,11 +1401,11 @@
|
|
|
1372
1401
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
1373
1402
|
"name": "template",
|
|
1374
1403
|
"summary": "Template to use for file creation.",
|
|
1375
|
-
"default": "
|
|
1404
|
+
"default": "DefaultLightningEvt",
|
|
1376
1405
|
"hasDynamicHelp": false,
|
|
1377
1406
|
"multiple": false,
|
|
1378
1407
|
"options": [
|
|
1379
|
-
"
|
|
1408
|
+
"DefaultLightningEvt"
|
|
1380
1409
|
],
|
|
1381
1410
|
"type": "option"
|
|
1382
1411
|
},
|
|
@@ -1405,39 +1434,13 @@
|
|
|
1405
1434
|
"multiple": false,
|
|
1406
1435
|
"type": "option"
|
|
1407
1436
|
},
|
|
1408
|
-
"
|
|
1409
|
-
"char": "
|
|
1410
|
-
"
|
|
1411
|
-
"
|
|
1412
|
-
"
|
|
1413
|
-
"
|
|
1414
|
-
"
|
|
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"
|
|
1437
|
+
"internal": {
|
|
1438
|
+
"char": "i",
|
|
1439
|
+
"hidden": true,
|
|
1440
|
+
"name": "internal",
|
|
1441
|
+
"summary": "Generate lightning bundles without creating a -meta.xml file.",
|
|
1442
|
+
"allowNo": false,
|
|
1443
|
+
"type": "boolean"
|
|
1441
1444
|
},
|
|
1442
1445
|
"loglevel": {
|
|
1443
1446
|
"deprecated": {
|
|
@@ -1452,66 +1455,66 @@
|
|
|
1452
1455
|
},
|
|
1453
1456
|
"hasDynamicHelp": false,
|
|
1454
1457
|
"hiddenAliases": [],
|
|
1455
|
-
"id": "
|
|
1458
|
+
"id": "lightning:generate:event",
|
|
1456
1459
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
1457
1460
|
"pluginName": "@salesforce/plugin-templates",
|
|
1458
|
-
"pluginType": "core",
|
|
1459
|
-
"strict": true,
|
|
1460
|
-
"summary": "Generate
|
|
1461
|
-
"enableJsonFlag": true,
|
|
1462
|
-
"isESM": true,
|
|
1463
|
-
"relativePath": [
|
|
1464
|
-
"lib",
|
|
1465
|
-
"commands",
|
|
1466
|
-
"
|
|
1467
|
-
"generate",
|
|
1468
|
-
"
|
|
1469
|
-
],
|
|
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:
|
|
1461
|
+
"pluginType": "core",
|
|
1462
|
+
"strict": true,
|
|
1463
|
+
"summary": "Generate a Lightning Event.",
|
|
1464
|
+
"enableJsonFlag": true,
|
|
1465
|
+
"isESM": true,
|
|
1466
|
+
"relativePath": [
|
|
1467
|
+
"lib",
|
|
1468
|
+
"commands",
|
|
1469
|
+
"lightning",
|
|
1470
|
+
"generate",
|
|
1471
|
+
"event.js"
|
|
1472
|
+
],
|
|
1473
|
+
"aliasPermutations": [
|
|
1474
|
+
"force:lightning:event:create",
|
|
1475
|
+
"lightning:force:event:create",
|
|
1476
|
+
"lightning:event:force:create",
|
|
1477
|
+
"lightning:event:create:force",
|
|
1478
|
+
"force:event:lightning:create",
|
|
1479
|
+
"event:force:lightning:create",
|
|
1480
|
+
"event:lightning:force:create",
|
|
1481
|
+
"event:lightning:create:force",
|
|
1482
|
+
"force:event:create:lightning",
|
|
1483
|
+
"event:force:create:lightning",
|
|
1484
|
+
"event:create:force:lightning",
|
|
1485
|
+
"event:create:lightning:force",
|
|
1486
|
+
"force:lightning:create:event",
|
|
1487
|
+
"lightning:force:create:event",
|
|
1488
|
+
"lightning:create:force:event",
|
|
1489
|
+
"lightning:create:event:force",
|
|
1490
|
+
"force:create:lightning:event",
|
|
1491
|
+
"create:force:lightning:event",
|
|
1492
|
+
"create:lightning:force:event",
|
|
1493
|
+
"create:lightning:event:force",
|
|
1494
|
+
"force:create:event:lightning",
|
|
1495
|
+
"create:force:event:lightning",
|
|
1496
|
+
"create:event:force:lightning",
|
|
1497
|
+
"create:event:lightning:force"
|
|
1495
1498
|
],
|
|
1496
1499
|
"permutations": [
|
|
1497
|
-
"
|
|
1498
|
-
"generate:
|
|
1499
|
-
"generate:
|
|
1500
|
-
"
|
|
1501
|
-
"
|
|
1502
|
-
"
|
|
1500
|
+
"lightning:generate:event",
|
|
1501
|
+
"generate:lightning:event",
|
|
1502
|
+
"generate:event:lightning",
|
|
1503
|
+
"lightning:event:generate",
|
|
1504
|
+
"event:lightning:generate",
|
|
1505
|
+
"event:generate:lightning"
|
|
1503
1506
|
]
|
|
1504
1507
|
},
|
|
1505
|
-
"
|
|
1508
|
+
"lightning:generate:interface": {
|
|
1506
1509
|
"aliases": [
|
|
1507
|
-
"force:
|
|
1510
|
+
"force:lightning:interface:create"
|
|
1508
1511
|
],
|
|
1509
1512
|
"args": {},
|
|
1510
1513
|
"deprecateAliases": true,
|
|
1511
|
-
"description": "
|
|
1514
|
+
"description": "Generates a Lightning Interface bundle in the specified directory or the current working directory. The bundle consists of multiple files in a folder with the designated name.",
|
|
1512
1515
|
"examples": [
|
|
1513
|
-
"Generate the metadata files for a
|
|
1514
|
-
"Similar to previous example
|
|
1516
|
+
"Generate the metadata files for a Lightning interface bundle called \"myinterface\" in the current directory:\n<%= config.bin %> <%= command.id %> --name myinterface",
|
|
1517
|
+
"Similar to the previous example but generate the files in the \"force-app/main/default/aura\" directory:\n<%= config.bin %> <%= command.id %> --name myinterface --output-dir force-app/main/default/aura"
|
|
1515
1518
|
],
|
|
1516
1519
|
"flags": {
|
|
1517
1520
|
"json": {
|
|
@@ -1531,14 +1534,14 @@
|
|
|
1531
1534
|
},
|
|
1532
1535
|
"name": {
|
|
1533
1536
|
"aliases": [
|
|
1534
|
-
"
|
|
1537
|
+
"interfacename"
|
|
1535
1538
|
],
|
|
1536
1539
|
"char": "n",
|
|
1537
1540
|
"deprecateAliases": true,
|
|
1538
1541
|
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
1539
1542
|
"name": "name",
|
|
1540
1543
|
"required": true,
|
|
1541
|
-
"summary": "Name of the generated
|
|
1544
|
+
"summary": "Name of the generated Lightning Interface.",
|
|
1542
1545
|
"hasDynamicHelp": false,
|
|
1543
1546
|
"multiple": false,
|
|
1544
1547
|
"type": "option"
|
|
@@ -1548,11 +1551,11 @@
|
|
|
1548
1551
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
1549
1552
|
"name": "template",
|
|
1550
1553
|
"summary": "Template to use for file creation.",
|
|
1551
|
-
"default": "
|
|
1554
|
+
"default": "DefaultLightningIntf",
|
|
1552
1555
|
"hasDynamicHelp": false,
|
|
1553
1556
|
"multiple": false,
|
|
1554
1557
|
"options": [
|
|
1555
|
-
"
|
|
1558
|
+
"DefaultLightningIntf"
|
|
1556
1559
|
],
|
|
1557
1560
|
"type": "option"
|
|
1558
1561
|
},
|
|
@@ -1581,14 +1584,13 @@
|
|
|
1581
1584
|
"multiple": false,
|
|
1582
1585
|
"type": "option"
|
|
1583
1586
|
},
|
|
1584
|
-
"
|
|
1585
|
-
"char": "
|
|
1586
|
-
"
|
|
1587
|
-
"
|
|
1588
|
-
"summary": "
|
|
1589
|
-
"
|
|
1590
|
-
"
|
|
1591
|
-
"type": "option"
|
|
1587
|
+
"internal": {
|
|
1588
|
+
"char": "i",
|
|
1589
|
+
"hidden": true,
|
|
1590
|
+
"name": "internal",
|
|
1591
|
+
"summary": "Generate lightning bundles without creating a -meta.xml file.",
|
|
1592
|
+
"allowNo": false,
|
|
1593
|
+
"type": "boolean"
|
|
1592
1594
|
},
|
|
1593
1595
|
"loglevel": {
|
|
1594
1596
|
"deprecated": {
|
|
@@ -1603,66 +1605,66 @@
|
|
|
1603
1605
|
},
|
|
1604
1606
|
"hasDynamicHelp": false,
|
|
1605
1607
|
"hiddenAliases": [],
|
|
1606
|
-
"id": "
|
|
1608
|
+
"id": "lightning:generate:interface",
|
|
1607
1609
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
1608
1610
|
"pluginName": "@salesforce/plugin-templates",
|
|
1609
1611
|
"pluginType": "core",
|
|
1610
1612
|
"strict": true,
|
|
1611
|
-
"summary": "Generate a
|
|
1613
|
+
"summary": "Generate a Lightning Interface.",
|
|
1612
1614
|
"enableJsonFlag": true,
|
|
1613
1615
|
"isESM": true,
|
|
1614
1616
|
"relativePath": [
|
|
1615
1617
|
"lib",
|
|
1616
1618
|
"commands",
|
|
1617
|
-
"
|
|
1619
|
+
"lightning",
|
|
1618
1620
|
"generate",
|
|
1619
|
-
"
|
|
1621
|
+
"interface.js"
|
|
1620
1622
|
],
|
|
1621
1623
|
"aliasPermutations": [
|
|
1622
|
-
"force:
|
|
1623
|
-
"
|
|
1624
|
-
"
|
|
1625
|
-
"
|
|
1626
|
-
"force:
|
|
1627
|
-
"
|
|
1628
|
-
"
|
|
1629
|
-
"
|
|
1630
|
-
"force:
|
|
1631
|
-
"
|
|
1632
|
-
"
|
|
1633
|
-
"
|
|
1634
|
-
"force:
|
|
1635
|
-
"
|
|
1636
|
-
"
|
|
1637
|
-
"
|
|
1638
|
-
"force:create:
|
|
1639
|
-
"create:force:
|
|
1640
|
-
"create:
|
|
1641
|
-
"create:
|
|
1642
|
-
"force:create:
|
|
1643
|
-
"create:force:
|
|
1644
|
-
"create:
|
|
1645
|
-
"create:
|
|
1624
|
+
"force:lightning:interface:create",
|
|
1625
|
+
"lightning:force:interface:create",
|
|
1626
|
+
"lightning:interface:force:create",
|
|
1627
|
+
"lightning:interface:create:force",
|
|
1628
|
+
"force:interface:lightning:create",
|
|
1629
|
+
"interface:force:lightning:create",
|
|
1630
|
+
"interface:lightning:force:create",
|
|
1631
|
+
"interface:lightning:create:force",
|
|
1632
|
+
"force:interface:create:lightning",
|
|
1633
|
+
"interface:force:create:lightning",
|
|
1634
|
+
"interface:create:force:lightning",
|
|
1635
|
+
"interface:create:lightning:force",
|
|
1636
|
+
"force:lightning:create:interface",
|
|
1637
|
+
"lightning:force:create:interface",
|
|
1638
|
+
"lightning:create:force:interface",
|
|
1639
|
+
"lightning:create:interface:force",
|
|
1640
|
+
"force:create:lightning:interface",
|
|
1641
|
+
"create:force:lightning:interface",
|
|
1642
|
+
"create:lightning:force:interface",
|
|
1643
|
+
"create:lightning:interface:force",
|
|
1644
|
+
"force:create:interface:lightning",
|
|
1645
|
+
"create:force:interface:lightning",
|
|
1646
|
+
"create:interface:force:lightning",
|
|
1647
|
+
"create:interface:lightning:force"
|
|
1646
1648
|
],
|
|
1647
1649
|
"permutations": [
|
|
1648
|
-
"
|
|
1649
|
-
"generate:
|
|
1650
|
-
"generate:
|
|
1651
|
-
"
|
|
1652
|
-
"
|
|
1653
|
-
"
|
|
1650
|
+
"lightning:generate:interface",
|
|
1651
|
+
"generate:lightning:interface",
|
|
1652
|
+
"generate:interface:lightning",
|
|
1653
|
+
"lightning:interface:generate",
|
|
1654
|
+
"interface:lightning:generate",
|
|
1655
|
+
"interface:generate:lightning"
|
|
1654
1656
|
]
|
|
1655
1657
|
},
|
|
1656
|
-
"
|
|
1658
|
+
"lightning:generate:test": {
|
|
1657
1659
|
"aliases": [
|
|
1658
|
-
"force:
|
|
1660
|
+
"force:lightning:test:create"
|
|
1659
1661
|
],
|
|
1660
1662
|
"args": {},
|
|
1661
1663
|
"deprecateAliases": true,
|
|
1662
|
-
"description": "
|
|
1664
|
+
"description": "Generates the test in the specified directory or the current working directory. The .resource file and associated metadata file are generated.",
|
|
1663
1665
|
"examples": [
|
|
1664
|
-
"Generate the metadata files for
|
|
1665
|
-
"Similar to previous example
|
|
1666
|
+
"Generate the metadata files for the Lightning test called MyLightningTest in the current directory:\n<%= config.bin %> <%= command.id %> --name MyLightningTest",
|
|
1667
|
+
"Similar to the previous example but generate the files in the \"force-app/main/default/lightningTests\" directory:\n<%= config.bin %> <%= command.id %> --name MyLightningTest --output-dir force-app/main/default/lightningTests"
|
|
1666
1668
|
],
|
|
1667
1669
|
"flags": {
|
|
1668
1670
|
"json": {
|
|
@@ -1682,14 +1684,14 @@
|
|
|
1682
1684
|
},
|
|
1683
1685
|
"name": {
|
|
1684
1686
|
"aliases": [
|
|
1685
|
-
"
|
|
1687
|
+
"testname"
|
|
1686
1688
|
],
|
|
1687
1689
|
"char": "n",
|
|
1688
1690
|
"deprecateAliases": true,
|
|
1689
|
-
"description": "
|
|
1691
|
+
"description": "Name of the new Lightning test; can be up to 40 characters and must start with a letter.",
|
|
1690
1692
|
"name": "name",
|
|
1691
1693
|
"required": true,
|
|
1692
|
-
"summary": "Name of the generated
|
|
1694
|
+
"summary": "Name of the generated Lightning Test.",
|
|
1693
1695
|
"hasDynamicHelp": false,
|
|
1694
1696
|
"multiple": false,
|
|
1695
1697
|
"type": "option"
|
|
@@ -1697,14 +1699,13 @@
|
|
|
1697
1699
|
"template": {
|
|
1698
1700
|
"char": "t",
|
|
1699
1701
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
1700
|
-
"hidden": true,
|
|
1701
1702
|
"name": "template",
|
|
1702
1703
|
"summary": "Template to use for file creation.",
|
|
1703
|
-
"default": "
|
|
1704
|
+
"default": "DefaultLightningTest",
|
|
1704
1705
|
"hasDynamicHelp": false,
|
|
1705
1706
|
"multiple": false,
|
|
1706
1707
|
"options": [
|
|
1707
|
-
"
|
|
1708
|
+
"DefaultLightningTest"
|
|
1708
1709
|
],
|
|
1709
1710
|
"type": "option"
|
|
1710
1711
|
},
|
|
@@ -1722,6 +1723,14 @@
|
|
|
1722
1723
|
"multiple": false,
|
|
1723
1724
|
"type": "option"
|
|
1724
1725
|
},
|
|
1726
|
+
"internal": {
|
|
1727
|
+
"char": "i",
|
|
1728
|
+
"hidden": true,
|
|
1729
|
+
"name": "internal",
|
|
1730
|
+
"summary": "Generate lightning bundles without creating a -meta.xml file.",
|
|
1731
|
+
"allowNo": false,
|
|
1732
|
+
"type": "boolean"
|
|
1733
|
+
},
|
|
1725
1734
|
"api-version": {
|
|
1726
1735
|
"aliases": [
|
|
1727
1736
|
"apiversion"
|
|
@@ -1733,15 +1742,6 @@
|
|
|
1733
1742
|
"multiple": false,
|
|
1734
1743
|
"type": "option"
|
|
1735
1744
|
},
|
|
1736
|
-
"label": {
|
|
1737
|
-
"char": "l",
|
|
1738
|
-
"name": "label",
|
|
1739
|
-
"required": true,
|
|
1740
|
-
"summary": "Visualforce Page label.",
|
|
1741
|
-
"hasDynamicHelp": false,
|
|
1742
|
-
"multiple": false,
|
|
1743
|
-
"type": "option"
|
|
1744
|
-
},
|
|
1745
1745
|
"loglevel": {
|
|
1746
1746
|
"deprecated": {
|
|
1747
1747
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
@@ -1755,56 +1755,56 @@
|
|
|
1755
1755
|
},
|
|
1756
1756
|
"hasDynamicHelp": false,
|
|
1757
1757
|
"hiddenAliases": [],
|
|
1758
|
-
"id": "
|
|
1758
|
+
"id": "lightning:generate:test",
|
|
1759
1759
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
1760
1760
|
"pluginName": "@salesforce/plugin-templates",
|
|
1761
1761
|
"pluginType": "core",
|
|
1762
1762
|
"strict": true,
|
|
1763
|
-
"summary": "Generate a
|
|
1763
|
+
"summary": "Generate a Lightning test.",
|
|
1764
1764
|
"enableJsonFlag": true,
|
|
1765
1765
|
"isESM": true,
|
|
1766
1766
|
"relativePath": [
|
|
1767
1767
|
"lib",
|
|
1768
1768
|
"commands",
|
|
1769
|
-
"
|
|
1769
|
+
"lightning",
|
|
1770
1770
|
"generate",
|
|
1771
|
-
"
|
|
1771
|
+
"test.js"
|
|
1772
1772
|
],
|
|
1773
1773
|
"aliasPermutations": [
|
|
1774
|
-
"force:
|
|
1775
|
-
"
|
|
1776
|
-
"
|
|
1777
|
-
"
|
|
1778
|
-
"force:
|
|
1779
|
-
"
|
|
1780
|
-
"
|
|
1781
|
-
"
|
|
1782
|
-
"force:
|
|
1783
|
-
"
|
|
1784
|
-
"
|
|
1785
|
-
"
|
|
1786
|
-
"force:
|
|
1787
|
-
"
|
|
1788
|
-
"
|
|
1789
|
-
"
|
|
1790
|
-
"force:create:
|
|
1791
|
-
"create:force:
|
|
1792
|
-
"create:
|
|
1793
|
-
"create:
|
|
1794
|
-
"force:create:
|
|
1795
|
-
"create:force:
|
|
1796
|
-
"create:
|
|
1797
|
-
"create:
|
|
1774
|
+
"force:lightning:test:create",
|
|
1775
|
+
"lightning:force:test:create",
|
|
1776
|
+
"lightning:test:force:create",
|
|
1777
|
+
"lightning:test:create:force",
|
|
1778
|
+
"force:test:lightning:create",
|
|
1779
|
+
"test:force:lightning:create",
|
|
1780
|
+
"test:lightning:force:create",
|
|
1781
|
+
"test:lightning:create:force",
|
|
1782
|
+
"force:test:create:lightning",
|
|
1783
|
+
"test:force:create:lightning",
|
|
1784
|
+
"test:create:force:lightning",
|
|
1785
|
+
"test:create:lightning:force",
|
|
1786
|
+
"force:lightning:create:test",
|
|
1787
|
+
"lightning:force:create:test",
|
|
1788
|
+
"lightning:create:force:test",
|
|
1789
|
+
"lightning:create:test:force",
|
|
1790
|
+
"force:create:lightning:test",
|
|
1791
|
+
"create:force:lightning:test",
|
|
1792
|
+
"create:lightning:force:test",
|
|
1793
|
+
"create:lightning:test:force",
|
|
1794
|
+
"force:create:test:lightning",
|
|
1795
|
+
"create:force:test:lightning",
|
|
1796
|
+
"create:test:force:lightning",
|
|
1797
|
+
"create:test:lightning:force"
|
|
1798
1798
|
],
|
|
1799
1799
|
"permutations": [
|
|
1800
|
-
"
|
|
1801
|
-
"generate:
|
|
1802
|
-
"generate:
|
|
1803
|
-
"
|
|
1804
|
-
"
|
|
1805
|
-
"
|
|
1800
|
+
"lightning:generate:test",
|
|
1801
|
+
"generate:lightning:test",
|
|
1802
|
+
"generate:test:lightning",
|
|
1803
|
+
"lightning:test:generate",
|
|
1804
|
+
"test:lightning:generate",
|
|
1805
|
+
"test:generate:lightning"
|
|
1806
1806
|
]
|
|
1807
1807
|
}
|
|
1808
1808
|
},
|
|
1809
|
-
"version": "56.3.
|
|
1809
|
+
"version": "56.3.47"
|
|
1810
1810
|
}
|