@salesforce/plugin-templates 56.7.1 → 56.7.2
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 +13 -13
- package/oclif.manifest.json +551 -551
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -174,7 +174,7 @@ FLAG DESCRIPTIONS
|
|
|
174
174
|
directory.
|
|
175
175
|
```
|
|
176
176
|
|
|
177
|
-
_See code: [src/commands/template/generate/analytics/template.ts](https://github.com/salesforcecli/plugin-templates/blob/56.7.
|
|
177
|
+
_See code: [src/commands/template/generate/analytics/template.ts](https://github.com/salesforcecli/plugin-templates/blob/56.7.2/src/commands/template/generate/analytics/template.ts)_
|
|
178
178
|
|
|
179
179
|
## `sf template generate apex class`
|
|
180
180
|
|
|
@@ -234,7 +234,7 @@ FLAG DESCRIPTIONS
|
|
|
234
234
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
235
235
|
```
|
|
236
236
|
|
|
237
|
-
_See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.7.
|
|
237
|
+
_See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.7.2/src/commands/template/generate/apex/class.ts)_
|
|
238
238
|
|
|
239
239
|
## `sf template generate apex trigger`
|
|
240
240
|
|
|
@@ -304,7 +304,7 @@ FLAG DESCRIPTIONS
|
|
|
304
304
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
305
305
|
```
|
|
306
306
|
|
|
307
|
-
_See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.7.
|
|
307
|
+
_See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.7.2/src/commands/template/generate/apex/trigger.ts)_
|
|
308
308
|
|
|
309
309
|
## `sf template generate digital-experience site`
|
|
310
310
|
|
|
@@ -354,7 +354,7 @@ FLAG DESCRIPTIONS
|
|
|
354
354
|
project, defaults to the current directory.
|
|
355
355
|
```
|
|
356
356
|
|
|
357
|
-
_See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/56.7.
|
|
357
|
+
_See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/56.7.2/src/commands/template/generate/digital-experience/site.ts)_
|
|
358
358
|
|
|
359
359
|
## `sf template generate lightning app`
|
|
360
360
|
|
|
@@ -410,7 +410,7 @@ FLAG DESCRIPTIONS
|
|
|
410
410
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
411
411
|
```
|
|
412
412
|
|
|
413
|
-
_See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.7.
|
|
413
|
+
_See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.7.2/src/commands/template/generate/lightning/app.ts)_
|
|
414
414
|
|
|
415
415
|
## `sf template generate lightning component`
|
|
416
416
|
|
|
@@ -480,7 +480,7 @@ FLAG DESCRIPTIONS
|
|
|
480
480
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
481
481
|
```
|
|
482
482
|
|
|
483
|
-
_See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.7.
|
|
483
|
+
_See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.7.2/src/commands/template/generate/lightning/component.ts)_
|
|
484
484
|
|
|
485
485
|
## `sf template generate lightning event`
|
|
486
486
|
|
|
@@ -536,7 +536,7 @@ FLAG DESCRIPTIONS
|
|
|
536
536
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
537
537
|
```
|
|
538
538
|
|
|
539
|
-
_See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.7.
|
|
539
|
+
_See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.7.2/src/commands/template/generate/lightning/event.ts)_
|
|
540
540
|
|
|
541
541
|
## `sf template generate lightning interface`
|
|
542
542
|
|
|
@@ -592,7 +592,7 @@ FLAG DESCRIPTIONS
|
|
|
592
592
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
593
593
|
```
|
|
594
594
|
|
|
595
|
-
_See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.7.
|
|
595
|
+
_See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.7.2/src/commands/template/generate/lightning/interface.ts)_
|
|
596
596
|
|
|
597
597
|
## `sf template generate lightning test`
|
|
598
598
|
|
|
@@ -648,7 +648,7 @@ FLAG DESCRIPTIONS
|
|
|
648
648
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
649
649
|
```
|
|
650
650
|
|
|
651
|
-
_See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.7.
|
|
651
|
+
_See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.7.2/src/commands/template/generate/lightning/test.ts)_
|
|
652
652
|
|
|
653
653
|
## `sf template generate project`
|
|
654
654
|
|
|
@@ -754,7 +754,7 @@ FLAG DESCRIPTIONS
|
|
|
754
754
|
Override the api version used for api requests made by this command
|
|
755
755
|
```
|
|
756
756
|
|
|
757
|
-
_See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.7.
|
|
757
|
+
_See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.7.2/src/commands/template/generate/project/index.ts)_
|
|
758
758
|
|
|
759
759
|
## `sf template generate static-resource`
|
|
760
760
|
|
|
@@ -817,7 +817,7 @@ FLAG DESCRIPTIONS
|
|
|
817
817
|
etc.
|
|
818
818
|
```
|
|
819
819
|
|
|
820
|
-
_See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.7.
|
|
820
|
+
_See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.7.2/src/commands/template/generate/static-resource/index.ts)_
|
|
821
821
|
|
|
822
822
|
## `sf template generate visualforce component`
|
|
823
823
|
|
|
@@ -874,7 +874,7 @@ FLAG DESCRIPTIONS
|
|
|
874
874
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
875
875
|
```
|
|
876
876
|
|
|
877
|
-
_See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.7.
|
|
877
|
+
_See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.7.2/src/commands/template/generate/visualforce/component.ts)_
|
|
878
878
|
|
|
879
879
|
## `sf template generate visualforce page`
|
|
880
880
|
|
|
@@ -925,6 +925,6 @@ FLAG DESCRIPTIONS
|
|
|
925
925
|
The name can be up to 40 characters and must start with a letter.
|
|
926
926
|
```
|
|
927
927
|
|
|
928
|
-
_See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.7.
|
|
928
|
+
_See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.7.2/src/commands/template/generate/visualforce/page.ts)_
|
|
929
929
|
|
|
930
930
|
<!-- commandsstop -->
|
package/oclif.manifest.json
CHANGED
|
@@ -1,158 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
-
"template:generate:analytics:template": {
|
|
4
|
-
"aliases": [
|
|
5
|
-
"force:analytics:template:create",
|
|
6
|
-
"analytics:generate:template"
|
|
7
|
-
],
|
|
8
|
-
"args": {},
|
|
9
|
-
"deprecateAliases": true,
|
|
10
|
-
"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.",
|
|
11
|
-
"examples": [
|
|
12
|
-
"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"
|
|
13
|
-
],
|
|
14
|
-
"flags": {
|
|
15
|
-
"json": {
|
|
16
|
-
"description": "Format output as json.",
|
|
17
|
-
"helpGroup": "GLOBAL",
|
|
18
|
-
"name": "json",
|
|
19
|
-
"allowNo": false,
|
|
20
|
-
"type": "boolean"
|
|
21
|
-
},
|
|
22
|
-
"flags-dir": {
|
|
23
|
-
"helpGroup": "GLOBAL",
|
|
24
|
-
"name": "flags-dir",
|
|
25
|
-
"summary": "Import flag values from a directory.",
|
|
26
|
-
"hasDynamicHelp": false,
|
|
27
|
-
"multiple": false,
|
|
28
|
-
"type": "option"
|
|
29
|
-
},
|
|
30
|
-
"output-dir": {
|
|
31
|
-
"aliases": [
|
|
32
|
-
"outputdir"
|
|
33
|
-
],
|
|
34
|
-
"char": "d",
|
|
35
|
-
"deprecateAliases": true,
|
|
36
|
-
"description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
|
|
37
|
-
"name": "output-dir",
|
|
38
|
-
"summary": "Directory for saving the created files.",
|
|
39
|
-
"default": ".",
|
|
40
|
-
"hasDynamicHelp": false,
|
|
41
|
-
"multiple": false,
|
|
42
|
-
"type": "option"
|
|
43
|
-
},
|
|
44
|
-
"api-version": {
|
|
45
|
-
"aliases": [
|
|
46
|
-
"apiversion"
|
|
47
|
-
],
|
|
48
|
-
"deprecateAliases": true,
|
|
49
|
-
"description": "Override the api version used for api requests made by this command",
|
|
50
|
-
"name": "api-version",
|
|
51
|
-
"hasDynamicHelp": false,
|
|
52
|
-
"multiple": false,
|
|
53
|
-
"type": "option"
|
|
54
|
-
},
|
|
55
|
-
"name": {
|
|
56
|
-
"aliases": [
|
|
57
|
-
"templatename"
|
|
58
|
-
],
|
|
59
|
-
"char": "n",
|
|
60
|
-
"deprecateAliases": true,
|
|
61
|
-
"name": "name",
|
|
62
|
-
"required": true,
|
|
63
|
-
"summary": "Name of the Analytics template.",
|
|
64
|
-
"hasDynamicHelp": false,
|
|
65
|
-
"multiple": false,
|
|
66
|
-
"type": "option"
|
|
67
|
-
},
|
|
68
|
-
"loglevel": {
|
|
69
|
-
"deprecated": {
|
|
70
|
-
"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."
|
|
71
|
-
},
|
|
72
|
-
"hidden": true,
|
|
73
|
-
"name": "loglevel",
|
|
74
|
-
"hasDynamicHelp": false,
|
|
75
|
-
"multiple": false,
|
|
76
|
-
"type": "option"
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
"hasDynamicHelp": false,
|
|
80
|
-
"hiddenAliases": [],
|
|
81
|
-
"id": "template:generate:analytics:template",
|
|
82
|
-
"pluginAlias": "@salesforce/plugin-templates",
|
|
83
|
-
"pluginName": "@salesforce/plugin-templates",
|
|
84
|
-
"pluginType": "core",
|
|
85
|
-
"strict": true,
|
|
86
|
-
"summary": "Generate a simple Analytics template.",
|
|
87
|
-
"enableJsonFlag": true,
|
|
88
|
-
"isESM": true,
|
|
89
|
-
"relativePath": [
|
|
90
|
-
"lib",
|
|
91
|
-
"commands",
|
|
92
|
-
"template",
|
|
93
|
-
"generate",
|
|
94
|
-
"analytics",
|
|
95
|
-
"template.js"
|
|
96
|
-
],
|
|
97
|
-
"aliasPermutations": [
|
|
98
|
-
"force:analytics:template:create",
|
|
99
|
-
"analytics:force:template:create",
|
|
100
|
-
"analytics:template:force:create",
|
|
101
|
-
"analytics:template:create:force",
|
|
102
|
-
"force:template:analytics:create",
|
|
103
|
-
"template:force:analytics:create",
|
|
104
|
-
"template:analytics:force:create",
|
|
105
|
-
"template:analytics:create:force",
|
|
106
|
-
"force:template:create:analytics",
|
|
107
|
-
"template:force:create:analytics",
|
|
108
|
-
"template:create:force:analytics",
|
|
109
|
-
"template:create:analytics:force",
|
|
110
|
-
"force:analytics:create:template",
|
|
111
|
-
"analytics:force:create:template",
|
|
112
|
-
"analytics:create:force:template",
|
|
113
|
-
"analytics:create:template:force",
|
|
114
|
-
"force:create:analytics:template",
|
|
115
|
-
"create:force:analytics:template",
|
|
116
|
-
"create:analytics:force:template",
|
|
117
|
-
"create:analytics:template:force",
|
|
118
|
-
"force:create:template:analytics",
|
|
119
|
-
"create:force:template:analytics",
|
|
120
|
-
"create:template:force:analytics",
|
|
121
|
-
"create:template:analytics:force",
|
|
122
|
-
"analytics:generate:template",
|
|
123
|
-
"generate:analytics:template",
|
|
124
|
-
"generate:template:analytics",
|
|
125
|
-
"analytics:template:generate",
|
|
126
|
-
"template:analytics:generate",
|
|
127
|
-
"template:generate:analytics"
|
|
128
|
-
],
|
|
129
|
-
"permutations": [
|
|
130
|
-
"template:generate:analytics:template",
|
|
131
|
-
"generate:template:analytics:template",
|
|
132
|
-
"generate:analytics:template:template",
|
|
133
|
-
"generate:analytics:template:template",
|
|
134
|
-
"template:analytics:generate:template",
|
|
135
|
-
"analytics:template:generate:template",
|
|
136
|
-
"analytics:generate:template:template",
|
|
137
|
-
"analytics:generate:template:template",
|
|
138
|
-
"template:analytics:template:generate",
|
|
139
|
-
"analytics:template:template:generate",
|
|
140
|
-
"analytics:template:template:generate",
|
|
141
|
-
"analytics:template:generate:template",
|
|
142
|
-
"template:generate:template:analytics",
|
|
143
|
-
"generate:template:template:analytics",
|
|
144
|
-
"generate:template:template:analytics",
|
|
145
|
-
"generate:template:analytics:template",
|
|
146
|
-
"template:template:generate:analytics",
|
|
147
|
-
"template:template:generate:analytics",
|
|
148
|
-
"template:generate:template:analytics",
|
|
149
|
-
"template:generate:analytics:template",
|
|
150
|
-
"template:template:analytics:generate",
|
|
151
|
-
"template:template:analytics:generate",
|
|
152
|
-
"template:analytics:template:generate",
|
|
153
|
-
"template:analytics:generate:template"
|
|
154
|
-
]
|
|
155
|
-
},
|
|
156
3
|
"template:generate:apex:class": {
|
|
157
4
|
"aliases": [
|
|
158
5
|
"force:apex:class:create",
|
|
@@ -656,17 +503,16 @@
|
|
|
656
503
|
"site:digital-experience:generate:template"
|
|
657
504
|
]
|
|
658
505
|
},
|
|
659
|
-
"template:generate:
|
|
506
|
+
"template:generate:analytics:template": {
|
|
660
507
|
"aliases": [
|
|
661
|
-
"force:
|
|
662
|
-
"
|
|
508
|
+
"force:analytics:template:create",
|
|
509
|
+
"analytics:generate:template"
|
|
663
510
|
],
|
|
664
511
|
"args": {},
|
|
665
512
|
"deprecateAliases": true,
|
|
666
|
-
"description": "
|
|
513
|
+
"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.",
|
|
667
514
|
"examples": [
|
|
668
|
-
"Generate the metadata files for a
|
|
669
|
-
"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"
|
|
515
|
+
"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"
|
|
670
516
|
],
|
|
671
517
|
"flags": {
|
|
672
518
|
"json": {
|
|
@@ -684,33 +530,6 @@
|
|
|
684
530
|
"multiple": false,
|
|
685
531
|
"type": "option"
|
|
686
532
|
},
|
|
687
|
-
"name": {
|
|
688
|
-
"aliases": [
|
|
689
|
-
"appname"
|
|
690
|
-
],
|
|
691
|
-
"char": "n",
|
|
692
|
-
"deprecateAliases": true,
|
|
693
|
-
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
694
|
-
"name": "name",
|
|
695
|
-
"required": true,
|
|
696
|
-
"summary": "Name of the generated Lightning App.",
|
|
697
|
-
"hasDynamicHelp": false,
|
|
698
|
-
"multiple": false,
|
|
699
|
-
"type": "option"
|
|
700
|
-
},
|
|
701
|
-
"template": {
|
|
702
|
-
"char": "t",
|
|
703
|
-
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
704
|
-
"name": "template",
|
|
705
|
-
"summary": "Template to use for file creation.",
|
|
706
|
-
"default": "DefaultLightningApp",
|
|
707
|
-
"hasDynamicHelp": false,
|
|
708
|
-
"multiple": false,
|
|
709
|
-
"options": [
|
|
710
|
-
"DefaultLightningApp"
|
|
711
|
-
],
|
|
712
|
-
"type": "option"
|
|
713
|
-
},
|
|
714
533
|
"output-dir": {
|
|
715
534
|
"aliases": [
|
|
716
535
|
"outputdir"
|
|
@@ -736,13 +555,18 @@
|
|
|
736
555
|
"multiple": false,
|
|
737
556
|
"type": "option"
|
|
738
557
|
},
|
|
739
|
-
"
|
|
740
|
-
"
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
"
|
|
744
|
-
"
|
|
745
|
-
"
|
|
558
|
+
"name": {
|
|
559
|
+
"aliases": [
|
|
560
|
+
"templatename"
|
|
561
|
+
],
|
|
562
|
+
"char": "n",
|
|
563
|
+
"deprecateAliases": true,
|
|
564
|
+
"name": "name",
|
|
565
|
+
"required": true,
|
|
566
|
+
"summary": "Name of the Analytics template.",
|
|
567
|
+
"hasDynamicHelp": false,
|
|
568
|
+
"multiple": false,
|
|
569
|
+
"type": "option"
|
|
746
570
|
},
|
|
747
571
|
"loglevel": {
|
|
748
572
|
"deprecated": {
|
|
@@ -757,12 +581,12 @@
|
|
|
757
581
|
},
|
|
758
582
|
"hasDynamicHelp": false,
|
|
759
583
|
"hiddenAliases": [],
|
|
760
|
-
"id": "template:generate:
|
|
584
|
+
"id": "template:generate:analytics:template",
|
|
761
585
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
762
586
|
"pluginName": "@salesforce/plugin-templates",
|
|
763
587
|
"pluginType": "core",
|
|
764
588
|
"strict": true,
|
|
765
|
-
"summary": "Generate a
|
|
589
|
+
"summary": "Generate a simple Analytics template.",
|
|
766
590
|
"enableJsonFlag": true,
|
|
767
591
|
"isESM": true,
|
|
768
592
|
"relativePath": [
|
|
@@ -770,48 +594,399 @@
|
|
|
770
594
|
"commands",
|
|
771
595
|
"template",
|
|
772
596
|
"generate",
|
|
773
|
-
"
|
|
774
|
-
"
|
|
597
|
+
"analytics",
|
|
598
|
+
"template.js"
|
|
775
599
|
],
|
|
776
600
|
"aliasPermutations": [
|
|
777
|
-
"force:
|
|
778
|
-
"
|
|
779
|
-
"
|
|
780
|
-
"
|
|
781
|
-
"force:
|
|
782
|
-
"
|
|
783
|
-
"
|
|
784
|
-
"
|
|
785
|
-
"force:
|
|
786
|
-
"
|
|
787
|
-
"
|
|
788
|
-
"
|
|
789
|
-
"force:
|
|
790
|
-
"
|
|
791
|
-
"
|
|
792
|
-
"
|
|
793
|
-
"force:create:
|
|
794
|
-
"create:force:
|
|
795
|
-
"create:
|
|
796
|
-
"create:
|
|
797
|
-
"force:create:
|
|
798
|
-
"create:force:
|
|
799
|
-
"create:
|
|
800
|
-
"create:
|
|
801
|
-
"
|
|
802
|
-
"generate:
|
|
803
|
-
"generate:
|
|
804
|
-
"
|
|
805
|
-
"
|
|
806
|
-
"
|
|
807
|
-
],
|
|
808
|
-
"permutations": [
|
|
809
|
-
"template:generate:
|
|
810
|
-
"generate:template:
|
|
811
|
-
"generate:
|
|
812
|
-
"generate:
|
|
813
|
-
"template:
|
|
814
|
-
"
|
|
601
|
+
"force:analytics:template:create",
|
|
602
|
+
"analytics:force:template:create",
|
|
603
|
+
"analytics:template:force:create",
|
|
604
|
+
"analytics:template:create:force",
|
|
605
|
+
"force:template:analytics:create",
|
|
606
|
+
"template:force:analytics:create",
|
|
607
|
+
"template:analytics:force:create",
|
|
608
|
+
"template:analytics:create:force",
|
|
609
|
+
"force:template:create:analytics",
|
|
610
|
+
"template:force:create:analytics",
|
|
611
|
+
"template:create:force:analytics",
|
|
612
|
+
"template:create:analytics:force",
|
|
613
|
+
"force:analytics:create:template",
|
|
614
|
+
"analytics:force:create:template",
|
|
615
|
+
"analytics:create:force:template",
|
|
616
|
+
"analytics:create:template:force",
|
|
617
|
+
"force:create:analytics:template",
|
|
618
|
+
"create:force:analytics:template",
|
|
619
|
+
"create:analytics:force:template",
|
|
620
|
+
"create:analytics:template:force",
|
|
621
|
+
"force:create:template:analytics",
|
|
622
|
+
"create:force:template:analytics",
|
|
623
|
+
"create:template:force:analytics",
|
|
624
|
+
"create:template:analytics:force",
|
|
625
|
+
"analytics:generate:template",
|
|
626
|
+
"generate:analytics:template",
|
|
627
|
+
"generate:template:analytics",
|
|
628
|
+
"analytics:template:generate",
|
|
629
|
+
"template:analytics:generate",
|
|
630
|
+
"template:generate:analytics"
|
|
631
|
+
],
|
|
632
|
+
"permutations": [
|
|
633
|
+
"template:generate:analytics:template",
|
|
634
|
+
"generate:template:analytics:template",
|
|
635
|
+
"generate:analytics:template:template",
|
|
636
|
+
"generate:analytics:template:template",
|
|
637
|
+
"template:analytics:generate:template",
|
|
638
|
+
"analytics:template:generate:template",
|
|
639
|
+
"analytics:generate:template:template",
|
|
640
|
+
"analytics:generate:template:template",
|
|
641
|
+
"template:analytics:template:generate",
|
|
642
|
+
"analytics:template:template:generate",
|
|
643
|
+
"analytics:template:template:generate",
|
|
644
|
+
"analytics:template:generate:template",
|
|
645
|
+
"template:generate:template:analytics",
|
|
646
|
+
"generate:template:template:analytics",
|
|
647
|
+
"generate:template:template:analytics",
|
|
648
|
+
"generate:template:analytics:template",
|
|
649
|
+
"template:template:generate:analytics",
|
|
650
|
+
"template:template:generate:analytics",
|
|
651
|
+
"template:generate:template:analytics",
|
|
652
|
+
"template:generate:analytics:template",
|
|
653
|
+
"template:template:analytics:generate",
|
|
654
|
+
"template:template:analytics:generate",
|
|
655
|
+
"template:analytics:template:generate",
|
|
656
|
+
"template:analytics:generate:template"
|
|
657
|
+
]
|
|
658
|
+
},
|
|
659
|
+
"template:generate:project": {
|
|
660
|
+
"aliases": [
|
|
661
|
+
"force:project:create",
|
|
662
|
+
"project:generate"
|
|
663
|
+
],
|
|
664
|
+
"args": {},
|
|
665
|
+
"deprecateAliases": true,
|
|
666
|
+
"description": "A Salesforce DX project has a specific structure and a configuration file (sfdx-project.json) that identifies the directory as a Salesforce DX project. This command generates the necessary configuration files and directories to get you started.\n\nBy default, the generated sfdx-project.json file sets the sourceApiVersion property to the default API version currently used by Salesforce CLI. To specify a different version, set the apiVersion configuration variable. For example: \"sf config set apiVersion=57.0 --global\".",
|
|
667
|
+
"examples": [
|
|
668
|
+
"Generate a project called \"mywork\":\n<%= config.bin %> <%= command.id %> --name mywork",
|
|
669
|
+
"Similar to previous example, but generate the files in a directory called \"myapp\":\n<%= config.bin %> <%= command.id %> --name mywork --default-package-dir myapp",
|
|
670
|
+
"Similar to prevoius example, but also generate a default package.xml manifest file:\n<%= config.bin %> <%= command.id %> --name mywork --default-package-dir myapp --manifest",
|
|
671
|
+
"Generate a project with the minimum files and directories:\n<%= config.bin %> <%= command.id %> --name mywork --template empty"
|
|
672
|
+
],
|
|
673
|
+
"flags": {
|
|
674
|
+
"json": {
|
|
675
|
+
"description": "Format output as json.",
|
|
676
|
+
"helpGroup": "GLOBAL",
|
|
677
|
+
"name": "json",
|
|
678
|
+
"allowNo": false,
|
|
679
|
+
"type": "boolean"
|
|
680
|
+
},
|
|
681
|
+
"flags-dir": {
|
|
682
|
+
"helpGroup": "GLOBAL",
|
|
683
|
+
"name": "flags-dir",
|
|
684
|
+
"summary": "Import flag values from a directory.",
|
|
685
|
+
"hasDynamicHelp": false,
|
|
686
|
+
"multiple": false,
|
|
687
|
+
"type": "option"
|
|
688
|
+
},
|
|
689
|
+
"name": {
|
|
690
|
+
"aliases": [
|
|
691
|
+
"projectname"
|
|
692
|
+
],
|
|
693
|
+
"char": "n",
|
|
694
|
+
"deprecateAliases": true,
|
|
695
|
+
"description": "Generates a project directory with this name; any valid directory name is accepted. Also sets the \"name\" property in the sfdx-project.json file to this name.",
|
|
696
|
+
"name": "name",
|
|
697
|
+
"required": true,
|
|
698
|
+
"summary": "Name of the generated project.",
|
|
699
|
+
"hasDynamicHelp": false,
|
|
700
|
+
"multiple": false,
|
|
701
|
+
"type": "option"
|
|
702
|
+
},
|
|
703
|
+
"template": {
|
|
704
|
+
"char": "t",
|
|
705
|
+
"description": "The template determines the sample configuration files and directories that this command generates. For example, the empty template provides these files and directory to get you started.\n\n- .forceignore\n- config/project-scratch-def.json\n- sfdx-project.json\n- package.json\n- force-app (basic source directory structure)\n\nThe standard template provides a complete force-app directory structure so you know where to put your source. It also provides additional files and scripts, especially useful when using Salesforce Extensions for VS Code. For example:\n\n- .gitignore: Use Git for version control.\n- .prettierrc and .prettierignore: Use Prettier to format your Aura components.\n- .vscode/extensions.json: When launched, Visual Studio Code, prompts you to install the recommended extensions for your project.\n- .vscode/launch.json: Configures Replay Debugger.\n- .vscode/settings.json: Additional configuration settings.\n\nThe analytics template provides similar files and the force-app/main/default/waveTemplates directory.",
|
|
706
|
+
"name": "template",
|
|
707
|
+
"summary": "Template to use for project creation.",
|
|
708
|
+
"default": "standard",
|
|
709
|
+
"hasDynamicHelp": false,
|
|
710
|
+
"multiple": false,
|
|
711
|
+
"options": [
|
|
712
|
+
"standard",
|
|
713
|
+
"empty",
|
|
714
|
+
"analytics"
|
|
715
|
+
],
|
|
716
|
+
"type": "option"
|
|
717
|
+
},
|
|
718
|
+
"output-dir": {
|
|
719
|
+
"aliases": [
|
|
720
|
+
"outputdir"
|
|
721
|
+
],
|
|
722
|
+
"char": "d",
|
|
723
|
+
"deprecateAliases": true,
|
|
724
|
+
"description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
|
|
725
|
+
"name": "output-dir",
|
|
726
|
+
"summary": "Directory for saving the created files.",
|
|
727
|
+
"default": ".",
|
|
728
|
+
"hasDynamicHelp": false,
|
|
729
|
+
"multiple": false,
|
|
730
|
+
"type": "option"
|
|
731
|
+
},
|
|
732
|
+
"namespace": {
|
|
733
|
+
"char": "s",
|
|
734
|
+
"name": "namespace",
|
|
735
|
+
"summary": "Namespace associated with this project and any connected scratch orgs.",
|
|
736
|
+
"default": "",
|
|
737
|
+
"hasDynamicHelp": false,
|
|
738
|
+
"multiple": false,
|
|
739
|
+
"type": "option"
|
|
740
|
+
},
|
|
741
|
+
"default-package-dir": {
|
|
742
|
+
"aliases": [
|
|
743
|
+
"defaultpackagedir"
|
|
744
|
+
],
|
|
745
|
+
"char": "p",
|
|
746
|
+
"deprecateAliases": true,
|
|
747
|
+
"description": "Metadata items such as classes and Lightning bundles are placed inside this folder.",
|
|
748
|
+
"name": "default-package-dir",
|
|
749
|
+
"summary": "Default package directory name.",
|
|
750
|
+
"default": "force-app",
|
|
751
|
+
"hasDynamicHelp": false,
|
|
752
|
+
"multiple": false,
|
|
753
|
+
"type": "option"
|
|
754
|
+
},
|
|
755
|
+
"manifest": {
|
|
756
|
+
"char": "x",
|
|
757
|
+
"description": "Generates a default manifest (package.xml) for fetching Apex, Visualforce, Lightning components, and static resources.",
|
|
758
|
+
"name": "manifest",
|
|
759
|
+
"summary": "Generate a manifest (package.xml) for change-set based development.",
|
|
760
|
+
"allowNo": false,
|
|
761
|
+
"type": "boolean"
|
|
762
|
+
},
|
|
763
|
+
"login-url": {
|
|
764
|
+
"aliases": [
|
|
765
|
+
"loginurl"
|
|
766
|
+
],
|
|
767
|
+
"char": "l",
|
|
768
|
+
"deprecateAliases": true,
|
|
769
|
+
"description": "Normally defaults to https://login.salesforce.com.",
|
|
770
|
+
"hidden": true,
|
|
771
|
+
"name": "login-url",
|
|
772
|
+
"summary": "Salesforce instance login URL.",
|
|
773
|
+
"default": "https://login.salesforce.com",
|
|
774
|
+
"hasDynamicHelp": false,
|
|
775
|
+
"multiple": false,
|
|
776
|
+
"type": "option"
|
|
777
|
+
},
|
|
778
|
+
"loglevel": {
|
|
779
|
+
"deprecated": {
|
|
780
|
+
"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."
|
|
781
|
+
},
|
|
782
|
+
"hidden": true,
|
|
783
|
+
"name": "loglevel",
|
|
784
|
+
"hasDynamicHelp": false,
|
|
785
|
+
"multiple": false,
|
|
786
|
+
"type": "option"
|
|
787
|
+
},
|
|
788
|
+
"api-version": {
|
|
789
|
+
"description": "Override the api version used for api requests made by this command",
|
|
790
|
+
"name": "api-version",
|
|
791
|
+
"summary": "Will set this version as sourceApiVersion in the sfdx-project.json file",
|
|
792
|
+
"hasDynamicHelp": false,
|
|
793
|
+
"multiple": false,
|
|
794
|
+
"type": "option"
|
|
795
|
+
}
|
|
796
|
+
},
|
|
797
|
+
"hasDynamicHelp": false,
|
|
798
|
+
"hiddenAliases": [],
|
|
799
|
+
"id": "template:generate:project",
|
|
800
|
+
"pluginAlias": "@salesforce/plugin-templates",
|
|
801
|
+
"pluginName": "@salesforce/plugin-templates",
|
|
802
|
+
"pluginType": "core",
|
|
803
|
+
"strict": true,
|
|
804
|
+
"summary": "Generate a Salesforce DX project.",
|
|
805
|
+
"enableJsonFlag": true,
|
|
806
|
+
"isESM": true,
|
|
807
|
+
"relativePath": [
|
|
808
|
+
"lib",
|
|
809
|
+
"commands",
|
|
810
|
+
"template",
|
|
811
|
+
"generate",
|
|
812
|
+
"project",
|
|
813
|
+
"index.js"
|
|
814
|
+
],
|
|
815
|
+
"aliasPermutations": [
|
|
816
|
+
"force:project:create",
|
|
817
|
+
"project:force:create",
|
|
818
|
+
"project:create:force",
|
|
819
|
+
"force:create:project",
|
|
820
|
+
"create:force:project",
|
|
821
|
+
"create:project:force",
|
|
822
|
+
"project:generate",
|
|
823
|
+
"generate:project"
|
|
824
|
+
],
|
|
825
|
+
"permutations": [
|
|
826
|
+
"template:generate:project",
|
|
827
|
+
"generate:template:project",
|
|
828
|
+
"generate:project:template",
|
|
829
|
+
"template:project:generate",
|
|
830
|
+
"project:template:generate",
|
|
831
|
+
"project:generate:template"
|
|
832
|
+
]
|
|
833
|
+
},
|
|
834
|
+
"template:generate:lightning:app": {
|
|
835
|
+
"aliases": [
|
|
836
|
+
"force:lightning:app:create",
|
|
837
|
+
"lightning:generate:app"
|
|
838
|
+
],
|
|
839
|
+
"args": {},
|
|
840
|
+
"deprecateAliases": true,
|
|
841
|
+
"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.",
|
|
842
|
+
"examples": [
|
|
843
|
+
"Generate the metadata files for a Lightning app bundle called \"myapp\" in the current directory:\n<%= config.bin %> <%= command.id %> --name myapp",
|
|
844
|
+
"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"
|
|
845
|
+
],
|
|
846
|
+
"flags": {
|
|
847
|
+
"json": {
|
|
848
|
+
"description": "Format output as json.",
|
|
849
|
+
"helpGroup": "GLOBAL",
|
|
850
|
+
"name": "json",
|
|
851
|
+
"allowNo": false,
|
|
852
|
+
"type": "boolean"
|
|
853
|
+
},
|
|
854
|
+
"flags-dir": {
|
|
855
|
+
"helpGroup": "GLOBAL",
|
|
856
|
+
"name": "flags-dir",
|
|
857
|
+
"summary": "Import flag values from a directory.",
|
|
858
|
+
"hasDynamicHelp": false,
|
|
859
|
+
"multiple": false,
|
|
860
|
+
"type": "option"
|
|
861
|
+
},
|
|
862
|
+
"name": {
|
|
863
|
+
"aliases": [
|
|
864
|
+
"appname"
|
|
865
|
+
],
|
|
866
|
+
"char": "n",
|
|
867
|
+
"deprecateAliases": true,
|
|
868
|
+
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
869
|
+
"name": "name",
|
|
870
|
+
"required": true,
|
|
871
|
+
"summary": "Name of the generated Lightning App.",
|
|
872
|
+
"hasDynamicHelp": false,
|
|
873
|
+
"multiple": false,
|
|
874
|
+
"type": "option"
|
|
875
|
+
},
|
|
876
|
+
"template": {
|
|
877
|
+
"char": "t",
|
|
878
|
+
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
879
|
+
"name": "template",
|
|
880
|
+
"summary": "Template to use for file creation.",
|
|
881
|
+
"default": "DefaultLightningApp",
|
|
882
|
+
"hasDynamicHelp": false,
|
|
883
|
+
"multiple": false,
|
|
884
|
+
"options": [
|
|
885
|
+
"DefaultLightningApp"
|
|
886
|
+
],
|
|
887
|
+
"type": "option"
|
|
888
|
+
},
|
|
889
|
+
"output-dir": {
|
|
890
|
+
"aliases": [
|
|
891
|
+
"outputdir"
|
|
892
|
+
],
|
|
893
|
+
"char": "d",
|
|
894
|
+
"deprecateAliases": true,
|
|
895
|
+
"description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
|
|
896
|
+
"name": "output-dir",
|
|
897
|
+
"summary": "Directory for saving the created files.",
|
|
898
|
+
"default": ".",
|
|
899
|
+
"hasDynamicHelp": false,
|
|
900
|
+
"multiple": false,
|
|
901
|
+
"type": "option"
|
|
902
|
+
},
|
|
903
|
+
"api-version": {
|
|
904
|
+
"aliases": [
|
|
905
|
+
"apiversion"
|
|
906
|
+
],
|
|
907
|
+
"deprecateAliases": true,
|
|
908
|
+
"description": "Override the api version used for api requests made by this command",
|
|
909
|
+
"name": "api-version",
|
|
910
|
+
"hasDynamicHelp": false,
|
|
911
|
+
"multiple": false,
|
|
912
|
+
"type": "option"
|
|
913
|
+
},
|
|
914
|
+
"internal": {
|
|
915
|
+
"char": "i",
|
|
916
|
+
"hidden": true,
|
|
917
|
+
"name": "internal",
|
|
918
|
+
"summary": "Generate lightning bundles without creating a -meta.xml file.",
|
|
919
|
+
"allowNo": false,
|
|
920
|
+
"type": "boolean"
|
|
921
|
+
},
|
|
922
|
+
"loglevel": {
|
|
923
|
+
"deprecated": {
|
|
924
|
+
"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."
|
|
925
|
+
},
|
|
926
|
+
"hidden": true,
|
|
927
|
+
"name": "loglevel",
|
|
928
|
+
"hasDynamicHelp": false,
|
|
929
|
+
"multiple": false,
|
|
930
|
+
"type": "option"
|
|
931
|
+
}
|
|
932
|
+
},
|
|
933
|
+
"hasDynamicHelp": false,
|
|
934
|
+
"hiddenAliases": [],
|
|
935
|
+
"id": "template:generate:lightning:app",
|
|
936
|
+
"pluginAlias": "@salesforce/plugin-templates",
|
|
937
|
+
"pluginName": "@salesforce/plugin-templates",
|
|
938
|
+
"pluginType": "core",
|
|
939
|
+
"strict": true,
|
|
940
|
+
"summary": "Generate a Lightning App.",
|
|
941
|
+
"enableJsonFlag": true,
|
|
942
|
+
"isESM": true,
|
|
943
|
+
"relativePath": [
|
|
944
|
+
"lib",
|
|
945
|
+
"commands",
|
|
946
|
+
"template",
|
|
947
|
+
"generate",
|
|
948
|
+
"lightning",
|
|
949
|
+
"app.js"
|
|
950
|
+
],
|
|
951
|
+
"aliasPermutations": [
|
|
952
|
+
"force:lightning:app:create",
|
|
953
|
+
"lightning:force:app:create",
|
|
954
|
+
"lightning:app:force:create",
|
|
955
|
+
"lightning:app:create:force",
|
|
956
|
+
"force:app:lightning:create",
|
|
957
|
+
"app:force:lightning:create",
|
|
958
|
+
"app:lightning:force:create",
|
|
959
|
+
"app:lightning:create:force",
|
|
960
|
+
"force:app:create:lightning",
|
|
961
|
+
"app:force:create:lightning",
|
|
962
|
+
"app:create:force:lightning",
|
|
963
|
+
"app:create:lightning:force",
|
|
964
|
+
"force:lightning:create:app",
|
|
965
|
+
"lightning:force:create:app",
|
|
966
|
+
"lightning:create:force:app",
|
|
967
|
+
"lightning:create:app:force",
|
|
968
|
+
"force:create:lightning:app",
|
|
969
|
+
"create:force:lightning:app",
|
|
970
|
+
"create:lightning:force:app",
|
|
971
|
+
"create:lightning:app:force",
|
|
972
|
+
"force:create:app:lightning",
|
|
973
|
+
"create:force:app:lightning",
|
|
974
|
+
"create:app:force:lightning",
|
|
975
|
+
"create:app:lightning:force",
|
|
976
|
+
"lightning:generate:app",
|
|
977
|
+
"generate:lightning:app",
|
|
978
|
+
"generate:app:lightning",
|
|
979
|
+
"lightning:app:generate",
|
|
980
|
+
"app:lightning:generate",
|
|
981
|
+
"app:generate:lightning"
|
|
982
|
+
],
|
|
983
|
+
"permutations": [
|
|
984
|
+
"template:generate:lightning:app",
|
|
985
|
+
"generate:template:lightning:app",
|
|
986
|
+
"generate:lightning:template:app",
|
|
987
|
+
"generate:lightning:app:template",
|
|
988
|
+
"template:lightning:generate:app",
|
|
989
|
+
"lightning:template:generate:app",
|
|
815
990
|
"lightning:generate:template:app",
|
|
816
991
|
"lightning:generate:app:template",
|
|
817
992
|
"template:lightning:app:generate",
|
|
@@ -1518,213 +1693,38 @@
|
|
|
1518
1693
|
"create:force:test:lightning",
|
|
1519
1694
|
"create:test:force:lightning",
|
|
1520
1695
|
"create:test:lightning:force",
|
|
1521
|
-
"lightning:generate:test",
|
|
1522
|
-
"generate:lightning:test",
|
|
1523
|
-
"generate:test:lightning",
|
|
1524
|
-
"lightning:test:generate",
|
|
1525
|
-
"test:lightning:generate",
|
|
1526
|
-
"test:generate:lightning"
|
|
1527
|
-
],
|
|
1528
|
-
"permutations": [
|
|
1529
|
-
"template:generate:lightning:test",
|
|
1530
|
-
"generate:template:lightning:test",
|
|
1531
|
-
"generate:lightning:template:test",
|
|
1532
|
-
"generate:lightning:test:template",
|
|
1533
|
-
"template:lightning:generate:test",
|
|
1534
|
-
"lightning:template:generate:test",
|
|
1535
|
-
"lightning:generate:template:test",
|
|
1536
|
-
"lightning:generate:test:template",
|
|
1537
|
-
"template:lightning:test:generate",
|
|
1538
|
-
"lightning:template:test:generate",
|
|
1539
|
-
"lightning:test:template:generate",
|
|
1540
|
-
"lightning:test:generate:template",
|
|
1541
|
-
"template:generate:test:lightning",
|
|
1542
|
-
"generate:template:test:lightning",
|
|
1543
|
-
"generate:test:template:lightning",
|
|
1544
|
-
"generate:test:lightning:template",
|
|
1545
|
-
"template:test:generate:lightning",
|
|
1546
|
-
"test:template:generate:lightning",
|
|
1547
|
-
"test:generate:template:lightning",
|
|
1548
|
-
"test:generate:lightning:template",
|
|
1549
|
-
"template:test:lightning:generate",
|
|
1550
|
-
"test:template:lightning:generate",
|
|
1551
|
-
"test:lightning:template:generate",
|
|
1552
|
-
"test:lightning:generate:template"
|
|
1553
|
-
]
|
|
1554
|
-
},
|
|
1555
|
-
"template:generate:project": {
|
|
1556
|
-
"aliases": [
|
|
1557
|
-
"force:project:create",
|
|
1558
|
-
"project:generate"
|
|
1559
|
-
],
|
|
1560
|
-
"args": {},
|
|
1561
|
-
"deprecateAliases": true,
|
|
1562
|
-
"description": "A Salesforce DX project has a specific structure and a configuration file (sfdx-project.json) that identifies the directory as a Salesforce DX project. This command generates the necessary configuration files and directories to get you started.\n\nBy default, the generated sfdx-project.json file sets the sourceApiVersion property to the default API version currently used by Salesforce CLI. To specify a different version, set the apiVersion configuration variable. For example: \"sf config set apiVersion=57.0 --global\".",
|
|
1563
|
-
"examples": [
|
|
1564
|
-
"Generate a project called \"mywork\":\n<%= config.bin %> <%= command.id %> --name mywork",
|
|
1565
|
-
"Similar to previous example, but generate the files in a directory called \"myapp\":\n<%= config.bin %> <%= command.id %> --name mywork --default-package-dir myapp",
|
|
1566
|
-
"Similar to prevoius example, but also generate a default package.xml manifest file:\n<%= config.bin %> <%= command.id %> --name mywork --default-package-dir myapp --manifest",
|
|
1567
|
-
"Generate a project with the minimum files and directories:\n<%= config.bin %> <%= command.id %> --name mywork --template empty"
|
|
1568
|
-
],
|
|
1569
|
-
"flags": {
|
|
1570
|
-
"json": {
|
|
1571
|
-
"description": "Format output as json.",
|
|
1572
|
-
"helpGroup": "GLOBAL",
|
|
1573
|
-
"name": "json",
|
|
1574
|
-
"allowNo": false,
|
|
1575
|
-
"type": "boolean"
|
|
1576
|
-
},
|
|
1577
|
-
"flags-dir": {
|
|
1578
|
-
"helpGroup": "GLOBAL",
|
|
1579
|
-
"name": "flags-dir",
|
|
1580
|
-
"summary": "Import flag values from a directory.",
|
|
1581
|
-
"hasDynamicHelp": false,
|
|
1582
|
-
"multiple": false,
|
|
1583
|
-
"type": "option"
|
|
1584
|
-
},
|
|
1585
|
-
"name": {
|
|
1586
|
-
"aliases": [
|
|
1587
|
-
"projectname"
|
|
1588
|
-
],
|
|
1589
|
-
"char": "n",
|
|
1590
|
-
"deprecateAliases": true,
|
|
1591
|
-
"description": "Generates a project directory with this name; any valid directory name is accepted. Also sets the \"name\" property in the sfdx-project.json file to this name.",
|
|
1592
|
-
"name": "name",
|
|
1593
|
-
"required": true,
|
|
1594
|
-
"summary": "Name of the generated project.",
|
|
1595
|
-
"hasDynamicHelp": false,
|
|
1596
|
-
"multiple": false,
|
|
1597
|
-
"type": "option"
|
|
1598
|
-
},
|
|
1599
|
-
"template": {
|
|
1600
|
-
"char": "t",
|
|
1601
|
-
"description": "The template determines the sample configuration files and directories that this command generates. For example, the empty template provides these files and directory to get you started.\n\n- .forceignore\n- config/project-scratch-def.json\n- sfdx-project.json\n- package.json\n- force-app (basic source directory structure)\n\nThe standard template provides a complete force-app directory structure so you know where to put your source. It also provides additional files and scripts, especially useful when using Salesforce Extensions for VS Code. For example:\n\n- .gitignore: Use Git for version control.\n- .prettierrc and .prettierignore: Use Prettier to format your Aura components.\n- .vscode/extensions.json: When launched, Visual Studio Code, prompts you to install the recommended extensions for your project.\n- .vscode/launch.json: Configures Replay Debugger.\n- .vscode/settings.json: Additional configuration settings.\n\nThe analytics template provides similar files and the force-app/main/default/waveTemplates directory.",
|
|
1602
|
-
"name": "template",
|
|
1603
|
-
"summary": "Template to use for project creation.",
|
|
1604
|
-
"default": "standard",
|
|
1605
|
-
"hasDynamicHelp": false,
|
|
1606
|
-
"multiple": false,
|
|
1607
|
-
"options": [
|
|
1608
|
-
"standard",
|
|
1609
|
-
"empty",
|
|
1610
|
-
"analytics"
|
|
1611
|
-
],
|
|
1612
|
-
"type": "option"
|
|
1613
|
-
},
|
|
1614
|
-
"output-dir": {
|
|
1615
|
-
"aliases": [
|
|
1616
|
-
"outputdir"
|
|
1617
|
-
],
|
|
1618
|
-
"char": "d",
|
|
1619
|
-
"deprecateAliases": true,
|
|
1620
|
-
"description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
|
|
1621
|
-
"name": "output-dir",
|
|
1622
|
-
"summary": "Directory for saving the created files.",
|
|
1623
|
-
"default": ".",
|
|
1624
|
-
"hasDynamicHelp": false,
|
|
1625
|
-
"multiple": false,
|
|
1626
|
-
"type": "option"
|
|
1627
|
-
},
|
|
1628
|
-
"namespace": {
|
|
1629
|
-
"char": "s",
|
|
1630
|
-
"name": "namespace",
|
|
1631
|
-
"summary": "Namespace associated with this project and any connected scratch orgs.",
|
|
1632
|
-
"default": "",
|
|
1633
|
-
"hasDynamicHelp": false,
|
|
1634
|
-
"multiple": false,
|
|
1635
|
-
"type": "option"
|
|
1636
|
-
},
|
|
1637
|
-
"default-package-dir": {
|
|
1638
|
-
"aliases": [
|
|
1639
|
-
"defaultpackagedir"
|
|
1640
|
-
],
|
|
1641
|
-
"char": "p",
|
|
1642
|
-
"deprecateAliases": true,
|
|
1643
|
-
"description": "Metadata items such as classes and Lightning bundles are placed inside this folder.",
|
|
1644
|
-
"name": "default-package-dir",
|
|
1645
|
-
"summary": "Default package directory name.",
|
|
1646
|
-
"default": "force-app",
|
|
1647
|
-
"hasDynamicHelp": false,
|
|
1648
|
-
"multiple": false,
|
|
1649
|
-
"type": "option"
|
|
1650
|
-
},
|
|
1651
|
-
"manifest": {
|
|
1652
|
-
"char": "x",
|
|
1653
|
-
"description": "Generates a default manifest (package.xml) for fetching Apex, Visualforce, Lightning components, and static resources.",
|
|
1654
|
-
"name": "manifest",
|
|
1655
|
-
"summary": "Generate a manifest (package.xml) for change-set based development.",
|
|
1656
|
-
"allowNo": false,
|
|
1657
|
-
"type": "boolean"
|
|
1658
|
-
},
|
|
1659
|
-
"login-url": {
|
|
1660
|
-
"aliases": [
|
|
1661
|
-
"loginurl"
|
|
1662
|
-
],
|
|
1663
|
-
"char": "l",
|
|
1664
|
-
"deprecateAliases": true,
|
|
1665
|
-
"description": "Normally defaults to https://login.salesforce.com.",
|
|
1666
|
-
"hidden": true,
|
|
1667
|
-
"name": "login-url",
|
|
1668
|
-
"summary": "Salesforce instance login URL.",
|
|
1669
|
-
"default": "https://login.salesforce.com",
|
|
1670
|
-
"hasDynamicHelp": false,
|
|
1671
|
-
"multiple": false,
|
|
1672
|
-
"type": "option"
|
|
1673
|
-
},
|
|
1674
|
-
"loglevel": {
|
|
1675
|
-
"deprecated": {
|
|
1676
|
-
"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."
|
|
1677
|
-
},
|
|
1678
|
-
"hidden": true,
|
|
1679
|
-
"name": "loglevel",
|
|
1680
|
-
"hasDynamicHelp": false,
|
|
1681
|
-
"multiple": false,
|
|
1682
|
-
"type": "option"
|
|
1683
|
-
},
|
|
1684
|
-
"api-version": {
|
|
1685
|
-
"description": "Override the api version used for api requests made by this command",
|
|
1686
|
-
"name": "api-version",
|
|
1687
|
-
"summary": "Will set this version as sourceApiVersion in the sfdx-project.json file",
|
|
1688
|
-
"hasDynamicHelp": false,
|
|
1689
|
-
"multiple": false,
|
|
1690
|
-
"type": "option"
|
|
1691
|
-
}
|
|
1692
|
-
},
|
|
1693
|
-
"hasDynamicHelp": false,
|
|
1694
|
-
"hiddenAliases": [],
|
|
1695
|
-
"id": "template:generate:project",
|
|
1696
|
-
"pluginAlias": "@salesforce/plugin-templates",
|
|
1697
|
-
"pluginName": "@salesforce/plugin-templates",
|
|
1698
|
-
"pluginType": "core",
|
|
1699
|
-
"strict": true,
|
|
1700
|
-
"summary": "Generate a Salesforce DX project.",
|
|
1701
|
-
"enableJsonFlag": true,
|
|
1702
|
-
"isESM": true,
|
|
1703
|
-
"relativePath": [
|
|
1704
|
-
"lib",
|
|
1705
|
-
"commands",
|
|
1706
|
-
"template",
|
|
1707
|
-
"generate",
|
|
1708
|
-
"project",
|
|
1709
|
-
"index.js"
|
|
1710
|
-
],
|
|
1711
|
-
"aliasPermutations": [
|
|
1712
|
-
"force:project:create",
|
|
1713
|
-
"project:force:create",
|
|
1714
|
-
"project:create:force",
|
|
1715
|
-
"force:create:project",
|
|
1716
|
-
"create:force:project",
|
|
1717
|
-
"create:project:force",
|
|
1718
|
-
"project:generate",
|
|
1719
|
-
"generate:project"
|
|
1696
|
+
"lightning:generate:test",
|
|
1697
|
+
"generate:lightning:test",
|
|
1698
|
+
"generate:test:lightning",
|
|
1699
|
+
"lightning:test:generate",
|
|
1700
|
+
"test:lightning:generate",
|
|
1701
|
+
"test:generate:lightning"
|
|
1720
1702
|
],
|
|
1721
1703
|
"permutations": [
|
|
1722
|
-
"template:generate:
|
|
1723
|
-
"generate:template:
|
|
1724
|
-
"generate:
|
|
1725
|
-
"
|
|
1726
|
-
"
|
|
1727
|
-
"
|
|
1704
|
+
"template:generate:lightning:test",
|
|
1705
|
+
"generate:template:lightning:test",
|
|
1706
|
+
"generate:lightning:template:test",
|
|
1707
|
+
"generate:lightning:test:template",
|
|
1708
|
+
"template:lightning:generate:test",
|
|
1709
|
+
"lightning:template:generate:test",
|
|
1710
|
+
"lightning:generate:template:test",
|
|
1711
|
+
"lightning:generate:test:template",
|
|
1712
|
+
"template:lightning:test:generate",
|
|
1713
|
+
"lightning:template:test:generate",
|
|
1714
|
+
"lightning:test:template:generate",
|
|
1715
|
+
"lightning:test:generate:template",
|
|
1716
|
+
"template:generate:test:lightning",
|
|
1717
|
+
"generate:template:test:lightning",
|
|
1718
|
+
"generate:test:template:lightning",
|
|
1719
|
+
"generate:test:lightning:template",
|
|
1720
|
+
"template:test:generate:lightning",
|
|
1721
|
+
"test:template:generate:lightning",
|
|
1722
|
+
"test:generate:template:lightning",
|
|
1723
|
+
"test:generate:lightning:template",
|
|
1724
|
+
"template:test:lightning:generate",
|
|
1725
|
+
"test:template:lightning:generate",
|
|
1726
|
+
"test:lightning:template:generate",
|
|
1727
|
+
"test:lightning:generate:template"
|
|
1728
1728
|
]
|
|
1729
1729
|
},
|
|
1730
1730
|
"template:generate:static-resource": {
|
|
@@ -1856,6 +1856,116 @@
|
|
|
1856
1856
|
"static-resource:generate:template"
|
|
1857
1857
|
]
|
|
1858
1858
|
},
|
|
1859
|
+
"template:generate:webapp": {
|
|
1860
|
+
"aliases": [
|
|
1861
|
+
"webapp:generate"
|
|
1862
|
+
],
|
|
1863
|
+
"args": {},
|
|
1864
|
+
"deprecateAliases": true,
|
|
1865
|
+
"description": "Generates a web application in the specified directory or the current working directory. The web application files are created in a folder with the designated name. Web application files must be contained in a parent directory called \"webapplications\" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to create one or point to an existing one.",
|
|
1866
|
+
"examples": [
|
|
1867
|
+
"Generate a web application called MyWebApp in the current directory:\n<%= config.bin %> <%= command.id %> --name MyWebApp",
|
|
1868
|
+
"Generate a React-based web application:\n<%= config.bin %> <%= command.id %> --name MyReactApp --template reactbasic",
|
|
1869
|
+
"Generate the web application in the \"force-app/main/default/webapplications\" directory:\n<%= config.bin %> <%= command.id %> --name MyWebApp --output-dir force-app/main/default/webapplications"
|
|
1870
|
+
],
|
|
1871
|
+
"flags": {
|
|
1872
|
+
"json": {
|
|
1873
|
+
"description": "Format output as json.",
|
|
1874
|
+
"helpGroup": "GLOBAL",
|
|
1875
|
+
"name": "json",
|
|
1876
|
+
"allowNo": false,
|
|
1877
|
+
"type": "boolean"
|
|
1878
|
+
},
|
|
1879
|
+
"flags-dir": {
|
|
1880
|
+
"helpGroup": "GLOBAL",
|
|
1881
|
+
"name": "flags-dir",
|
|
1882
|
+
"summary": "Import flag values from a directory.",
|
|
1883
|
+
"hasDynamicHelp": false,
|
|
1884
|
+
"multiple": false,
|
|
1885
|
+
"type": "option"
|
|
1886
|
+
},
|
|
1887
|
+
"name": {
|
|
1888
|
+
"char": "n",
|
|
1889
|
+
"description": "This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores.",
|
|
1890
|
+
"name": "name",
|
|
1891
|
+
"required": true,
|
|
1892
|
+
"summary": "Name of the generated web application.",
|
|
1893
|
+
"hasDynamicHelp": false,
|
|
1894
|
+
"multiple": false,
|
|
1895
|
+
"type": "option"
|
|
1896
|
+
},
|
|
1897
|
+
"template": {
|
|
1898
|
+
"char": "t",
|
|
1899
|
+
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
1900
|
+
"name": "template",
|
|
1901
|
+
"summary": "Template to use for file creation.",
|
|
1902
|
+
"default": "default",
|
|
1903
|
+
"hasDynamicHelp": false,
|
|
1904
|
+
"multiple": false,
|
|
1905
|
+
"options": [
|
|
1906
|
+
"default",
|
|
1907
|
+
"reactbasic"
|
|
1908
|
+
],
|
|
1909
|
+
"type": "option"
|
|
1910
|
+
},
|
|
1911
|
+
"label": {
|
|
1912
|
+
"char": "l",
|
|
1913
|
+
"description": "If not specified, the label is derived from the name.",
|
|
1914
|
+
"name": "label",
|
|
1915
|
+
"summary": "Master label for the web application.",
|
|
1916
|
+
"hasDynamicHelp": false,
|
|
1917
|
+
"multiple": false,
|
|
1918
|
+
"type": "option"
|
|
1919
|
+
},
|
|
1920
|
+
"output-dir": {
|
|
1921
|
+
"char": "d",
|
|
1922
|
+
"description": "The location can be an absolute path or relative to the current working directory. If not specified, the command reads your sfdx-project.json and defaults to the webapplications directory within your default package directory. When running outside a Salesforce DX project, defaults to the current directory.",
|
|
1923
|
+
"name": "output-dir",
|
|
1924
|
+
"summary": "Directory for saving the created files.",
|
|
1925
|
+
"hasDynamicHelp": false,
|
|
1926
|
+
"multiple": false,
|
|
1927
|
+
"type": "option"
|
|
1928
|
+
},
|
|
1929
|
+
"api-version": {
|
|
1930
|
+
"description": "Override the api version used for api requests made by this command",
|
|
1931
|
+
"name": "api-version",
|
|
1932
|
+
"hasDynamicHelp": false,
|
|
1933
|
+
"multiple": false,
|
|
1934
|
+
"type": "option"
|
|
1935
|
+
}
|
|
1936
|
+
},
|
|
1937
|
+
"hasDynamicHelp": false,
|
|
1938
|
+
"hidden": true,
|
|
1939
|
+
"hiddenAliases": [],
|
|
1940
|
+
"id": "template:generate:webapp",
|
|
1941
|
+
"pluginAlias": "@salesforce/plugin-templates",
|
|
1942
|
+
"pluginName": "@salesforce/plugin-templates",
|
|
1943
|
+
"pluginType": "core",
|
|
1944
|
+
"strict": true,
|
|
1945
|
+
"summary": "Generate a web application.",
|
|
1946
|
+
"enableJsonFlag": true,
|
|
1947
|
+
"isESM": true,
|
|
1948
|
+
"relativePath": [
|
|
1949
|
+
"lib",
|
|
1950
|
+
"commands",
|
|
1951
|
+
"template",
|
|
1952
|
+
"generate",
|
|
1953
|
+
"webapp",
|
|
1954
|
+
"index.js"
|
|
1955
|
+
],
|
|
1956
|
+
"aliasPermutations": [
|
|
1957
|
+
"webapp:generate",
|
|
1958
|
+
"generate:webapp"
|
|
1959
|
+
],
|
|
1960
|
+
"permutations": [
|
|
1961
|
+
"template:generate:webapp",
|
|
1962
|
+
"generate:template:webapp",
|
|
1963
|
+
"generate:webapp:template",
|
|
1964
|
+
"template:webapp:generate",
|
|
1965
|
+
"webapp:template:generate",
|
|
1966
|
+
"webapp:generate:template"
|
|
1967
|
+
]
|
|
1968
|
+
},
|
|
1859
1969
|
"template:generate:visualforce:component": {
|
|
1860
1970
|
"aliases": [
|
|
1861
1971
|
"force:visualforce:component:create",
|
|
@@ -2210,117 +2320,7 @@
|
|
|
2210
2320
|
"page:visualforce:template:generate",
|
|
2211
2321
|
"page:visualforce:generate:template"
|
|
2212
2322
|
]
|
|
2213
|
-
},
|
|
2214
|
-
"template:generate:webapp": {
|
|
2215
|
-
"aliases": [
|
|
2216
|
-
"webapp:generate"
|
|
2217
|
-
],
|
|
2218
|
-
"args": {},
|
|
2219
|
-
"deprecateAliases": true,
|
|
2220
|
-
"description": "Generates a web application in the specified directory or the current working directory. The web application files are created in a folder with the designated name. Web application files must be contained in a parent directory called \"webapplications\" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to create one or point to an existing one.",
|
|
2221
|
-
"examples": [
|
|
2222
|
-
"Generate a web application called MyWebApp in the current directory:\n<%= config.bin %> <%= command.id %> --name MyWebApp",
|
|
2223
|
-
"Generate a React-based web application:\n<%= config.bin %> <%= command.id %> --name MyReactApp --template reactbasic",
|
|
2224
|
-
"Generate the web application in the \"force-app/main/default/webapplications\" directory:\n<%= config.bin %> <%= command.id %> --name MyWebApp --output-dir force-app/main/default/webapplications"
|
|
2225
|
-
],
|
|
2226
|
-
"flags": {
|
|
2227
|
-
"json": {
|
|
2228
|
-
"description": "Format output as json.",
|
|
2229
|
-
"helpGroup": "GLOBAL",
|
|
2230
|
-
"name": "json",
|
|
2231
|
-
"allowNo": false,
|
|
2232
|
-
"type": "boolean"
|
|
2233
|
-
},
|
|
2234
|
-
"flags-dir": {
|
|
2235
|
-
"helpGroup": "GLOBAL",
|
|
2236
|
-
"name": "flags-dir",
|
|
2237
|
-
"summary": "Import flag values from a directory.",
|
|
2238
|
-
"hasDynamicHelp": false,
|
|
2239
|
-
"multiple": false,
|
|
2240
|
-
"type": "option"
|
|
2241
|
-
},
|
|
2242
|
-
"name": {
|
|
2243
|
-
"char": "n",
|
|
2244
|
-
"description": "This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores.",
|
|
2245
|
-
"name": "name",
|
|
2246
|
-
"required": true,
|
|
2247
|
-
"summary": "Name of the generated web application.",
|
|
2248
|
-
"hasDynamicHelp": false,
|
|
2249
|
-
"multiple": false,
|
|
2250
|
-
"type": "option"
|
|
2251
|
-
},
|
|
2252
|
-
"template": {
|
|
2253
|
-
"char": "t",
|
|
2254
|
-
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
2255
|
-
"name": "template",
|
|
2256
|
-
"summary": "Template to use for file creation.",
|
|
2257
|
-
"default": "default",
|
|
2258
|
-
"hasDynamicHelp": false,
|
|
2259
|
-
"multiple": false,
|
|
2260
|
-
"options": [
|
|
2261
|
-
"default",
|
|
2262
|
-
"reactbasic"
|
|
2263
|
-
],
|
|
2264
|
-
"type": "option"
|
|
2265
|
-
},
|
|
2266
|
-
"label": {
|
|
2267
|
-
"char": "l",
|
|
2268
|
-
"description": "If not specified, the label is derived from the name.",
|
|
2269
|
-
"name": "label",
|
|
2270
|
-
"summary": "Master label for the web application.",
|
|
2271
|
-
"hasDynamicHelp": false,
|
|
2272
|
-
"multiple": false,
|
|
2273
|
-
"type": "option"
|
|
2274
|
-
},
|
|
2275
|
-
"output-dir": {
|
|
2276
|
-
"char": "d",
|
|
2277
|
-
"description": "The location can be an absolute path or relative to the current working directory. If not specified, the command reads your sfdx-project.json and defaults to the webapplications directory within your default package directory. When running outside a Salesforce DX project, defaults to the current directory.",
|
|
2278
|
-
"name": "output-dir",
|
|
2279
|
-
"summary": "Directory for saving the created files.",
|
|
2280
|
-
"hasDynamicHelp": false,
|
|
2281
|
-
"multiple": false,
|
|
2282
|
-
"type": "option"
|
|
2283
|
-
},
|
|
2284
|
-
"api-version": {
|
|
2285
|
-
"description": "Override the api version used for api requests made by this command",
|
|
2286
|
-
"name": "api-version",
|
|
2287
|
-
"hasDynamicHelp": false,
|
|
2288
|
-
"multiple": false,
|
|
2289
|
-
"type": "option"
|
|
2290
|
-
}
|
|
2291
|
-
},
|
|
2292
|
-
"hasDynamicHelp": false,
|
|
2293
|
-
"hidden": true,
|
|
2294
|
-
"hiddenAliases": [],
|
|
2295
|
-
"id": "template:generate:webapp",
|
|
2296
|
-
"pluginAlias": "@salesforce/plugin-templates",
|
|
2297
|
-
"pluginName": "@salesforce/plugin-templates",
|
|
2298
|
-
"pluginType": "core",
|
|
2299
|
-
"strict": true,
|
|
2300
|
-
"summary": "Generate a web application.",
|
|
2301
|
-
"enableJsonFlag": true,
|
|
2302
|
-
"isESM": true,
|
|
2303
|
-
"relativePath": [
|
|
2304
|
-
"lib",
|
|
2305
|
-
"commands",
|
|
2306
|
-
"template",
|
|
2307
|
-
"generate",
|
|
2308
|
-
"webapp",
|
|
2309
|
-
"index.js"
|
|
2310
|
-
],
|
|
2311
|
-
"aliasPermutations": [
|
|
2312
|
-
"webapp:generate",
|
|
2313
|
-
"generate:webapp"
|
|
2314
|
-
],
|
|
2315
|
-
"permutations": [
|
|
2316
|
-
"template:generate:webapp",
|
|
2317
|
-
"generate:template:webapp",
|
|
2318
|
-
"generate:webapp:template",
|
|
2319
|
-
"template:webapp:generate",
|
|
2320
|
-
"webapp:template:generate",
|
|
2321
|
-
"webapp:generate:template"
|
|
2322
|
-
]
|
|
2323
2323
|
}
|
|
2324
2324
|
},
|
|
2325
|
-
"version": "56.7.
|
|
2325
|
+
"version": "56.7.2"
|
|
2326
2326
|
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-templates",
|
|
3
3
|
"description": "Commands to create metadata from a default or custom template",
|
|
4
|
-
"version": "56.7.
|
|
4
|
+
"version": "56.7.2",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/salesforcecli/plugin-templates/issues",
|
|
7
|
+
"enableO11y": true,
|
|
8
|
+
"o11yUploadEndpoint": "https://794testsite.my.site.com/byolwr/webruntime/log/metrics",
|
|
7
9
|
"dependencies": {
|
|
8
10
|
"@salesforce/core": "^8.25.1",
|
|
9
11
|
"@salesforce/sf-plugins-core": "^12",
|
|
@@ -244,7 +246,7 @@
|
|
|
244
246
|
"exports": "./lib/index.js",
|
|
245
247
|
"type": "module",
|
|
246
248
|
"sfdx": {
|
|
247
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.7.
|
|
248
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.7.
|
|
249
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.7.2.crt",
|
|
250
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.7.2.sig"
|
|
249
251
|
}
|
|
250
252
|
}
|