@salesforce/plugin-templates 56.18.14 → 56.18.15
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 +20 -18
- package/oclif.manifest.json +385 -383
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -177,7 +177,7 @@ FLAG DESCRIPTIONS
|
|
|
177
177
|
directory.
|
|
178
178
|
```
|
|
179
179
|
|
|
180
|
-
_See code: [src/commands/template/generate/analytics/template.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.
|
|
180
|
+
_See code: [src/commands/template/generate/analytics/template.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.15/src/commands/template/generate/analytics/template.ts)_
|
|
181
181
|
|
|
182
182
|
## `sf template generate apex class`
|
|
183
183
|
|
|
@@ -186,13 +186,15 @@ Generate an Apex class.
|
|
|
186
186
|
```
|
|
187
187
|
USAGE
|
|
188
188
|
$ sf template generate apex class -n <value> [--json] [--flags-dir <value>] [-t
|
|
189
|
-
ApexException|ApexUnitTest|BasicUnitTest|DefaultApexClass|InboundEmailService] [-d <value>]
|
|
189
|
+
ApexException|ApexUnitTest|BasicUnitTest|Batchable|DefaultApexClass|InboundEmailService|Queueable] [-d <value>]
|
|
190
|
+
[--api-version <value>]
|
|
190
191
|
|
|
191
192
|
FLAGS
|
|
192
193
|
-d, --output-dir=<value> [default: .] Directory for saving the created files.
|
|
193
194
|
-n, --name=<value> (required) Name of the generated Apex class.
|
|
194
195
|
-t, --template=<option> [default: DefaultApexClass] Template to use for file creation.
|
|
195
|
-
<options: ApexException|ApexUnitTest|BasicUnitTest|DefaultApexClass|
|
|
196
|
+
<options: ApexException|ApexUnitTest|BasicUnitTest|Batchable|DefaultApexClass|InboundEmailS
|
|
197
|
+
ervice|Queueable>
|
|
196
198
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
197
199
|
|
|
198
200
|
GLOBAL FLAGS
|
|
@@ -230,14 +232,14 @@ FLAG DESCRIPTIONS
|
|
|
230
232
|
|
|
231
233
|
The name can be up to 40 characters and must start with a letter.
|
|
232
234
|
|
|
233
|
-
-t, --template=ApexException|ApexUnitTest|BasicUnitTest|DefaultApexClass|InboundEmailService
|
|
235
|
+
-t, --template=ApexException|ApexUnitTest|BasicUnitTest|Batchable|DefaultApexClass|InboundEmailService|Queueable
|
|
234
236
|
|
|
235
237
|
Template to use for file creation.
|
|
236
238
|
|
|
237
239
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
238
240
|
```
|
|
239
241
|
|
|
240
|
-
_See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.
|
|
242
|
+
_See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.15/src/commands/template/generate/apex/class.ts)_
|
|
241
243
|
|
|
242
244
|
## `sf template generate apex trigger`
|
|
243
245
|
|
|
@@ -307,7 +309,7 @@ FLAG DESCRIPTIONS
|
|
|
307
309
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
308
310
|
```
|
|
309
311
|
|
|
310
|
-
_See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.
|
|
312
|
+
_See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.15/src/commands/template/generate/apex/trigger.ts)_
|
|
311
313
|
|
|
312
314
|
## `sf template generate digital-experience site`
|
|
313
315
|
|
|
@@ -361,7 +363,7 @@ FLAG DESCRIPTIONS
|
|
|
361
363
|
project, defaults to the current directory.
|
|
362
364
|
```
|
|
363
365
|
|
|
364
|
-
_See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.
|
|
366
|
+
_See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.15/src/commands/template/generate/digital-experience/site.ts)_
|
|
365
367
|
|
|
366
368
|
## `sf template generate flexipage`
|
|
367
369
|
|
|
@@ -443,7 +445,7 @@ FLAG DESCRIPTIONS
|
|
|
443
445
|
'Custom_Object__c'. This sets the `sobjectType` field in the FlexiPage metadata.
|
|
444
446
|
```
|
|
445
447
|
|
|
446
|
-
_See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.
|
|
448
|
+
_See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.15/src/commands/template/generate/flexipage/index.ts)_
|
|
447
449
|
|
|
448
450
|
## `sf template generate lightning app`
|
|
449
451
|
|
|
@@ -501,7 +503,7 @@ FLAG DESCRIPTIONS
|
|
|
501
503
|
field in the DX project's "sfdx-project.json" file.
|
|
502
504
|
```
|
|
503
505
|
|
|
504
|
-
_See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.
|
|
506
|
+
_See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.15/src/commands/template/generate/lightning/app.ts)_
|
|
505
507
|
|
|
506
508
|
## `sf template generate lightning component`
|
|
507
509
|
|
|
@@ -578,7 +580,7 @@ FLAG DESCRIPTIONS
|
|
|
578
580
|
field in the DX project's "sfdx-project.json" file.
|
|
579
581
|
```
|
|
580
582
|
|
|
581
|
-
_See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.
|
|
583
|
+
_See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.15/src/commands/template/generate/lightning/component.ts)_
|
|
582
584
|
|
|
583
585
|
## `sf template generate lightning event`
|
|
584
586
|
|
|
@@ -636,7 +638,7 @@ FLAG DESCRIPTIONS
|
|
|
636
638
|
field in the DX project's "sfdx-project.json" file.
|
|
637
639
|
```
|
|
638
640
|
|
|
639
|
-
_See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.
|
|
641
|
+
_See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.15/src/commands/template/generate/lightning/event.ts)_
|
|
640
642
|
|
|
641
643
|
## `sf template generate lightning interface`
|
|
642
644
|
|
|
@@ -694,7 +696,7 @@ FLAG DESCRIPTIONS
|
|
|
694
696
|
field in the DX project's "sfdx-project.json" file.
|
|
695
697
|
```
|
|
696
698
|
|
|
697
|
-
_See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.
|
|
699
|
+
_See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.15/src/commands/template/generate/lightning/interface.ts)_
|
|
698
700
|
|
|
699
701
|
## `sf template generate lightning test`
|
|
700
702
|
|
|
@@ -752,7 +754,7 @@ FLAG DESCRIPTIONS
|
|
|
752
754
|
field in the DX project's "sfdx-project.json" file.
|
|
753
755
|
```
|
|
754
756
|
|
|
755
|
-
_See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.
|
|
757
|
+
_See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.15/src/commands/template/generate/lightning/test.ts)_
|
|
756
758
|
|
|
757
759
|
## `sf template generate project`
|
|
758
760
|
|
|
@@ -878,7 +880,7 @@ FLAG DESCRIPTIONS
|
|
|
878
880
|
server-side type stripping.
|
|
879
881
|
```
|
|
880
882
|
|
|
881
|
-
_See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.
|
|
883
|
+
_See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.15/src/commands/template/generate/project/index.ts)_
|
|
882
884
|
|
|
883
885
|
## `sf template generate static-resource`
|
|
884
886
|
|
|
@@ -941,7 +943,7 @@ FLAG DESCRIPTIONS
|
|
|
941
943
|
etc.
|
|
942
944
|
```
|
|
943
945
|
|
|
944
|
-
_See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.
|
|
946
|
+
_See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.15/src/commands/template/generate/static-resource/index.ts)_
|
|
945
947
|
|
|
946
948
|
## `sf template generate ui-bundle`
|
|
947
949
|
|
|
@@ -1030,7 +1032,7 @@ FLAG DESCRIPTIONS
|
|
|
1030
1032
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
1031
1033
|
```
|
|
1032
1034
|
|
|
1033
|
-
_See code: [src/commands/template/generate/ui-bundle/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.
|
|
1035
|
+
_See code: [src/commands/template/generate/ui-bundle/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.15/src/commands/template/generate/ui-bundle/index.ts)_
|
|
1034
1036
|
|
|
1035
1037
|
## `sf template generate visualforce component`
|
|
1036
1038
|
|
|
@@ -1087,7 +1089,7 @@ FLAG DESCRIPTIONS
|
|
|
1087
1089
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
1088
1090
|
```
|
|
1089
1091
|
|
|
1090
|
-
_See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.
|
|
1092
|
+
_See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.15/src/commands/template/generate/visualforce/component.ts)_
|
|
1091
1093
|
|
|
1092
1094
|
## `sf template generate visualforce page`
|
|
1093
1095
|
|
|
@@ -1138,6 +1140,6 @@ FLAG DESCRIPTIONS
|
|
|
1138
1140
|
The name can be up to 40 characters and must start with a letter.
|
|
1139
1141
|
```
|
|
1140
1142
|
|
|
1141
|
-
_See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.
|
|
1143
|
+
_See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.15/src/commands/template/generate/visualforce/page.ts)_
|
|
1142
1144
|
|
|
1143
1145
|
<!-- commandsstop -->
|
package/oclif.manifest.json
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
-
"template:generate:
|
|
3
|
+
"template:generate:apex:class": {
|
|
4
4
|
"aliases": [
|
|
5
|
-
"force:
|
|
6
|
-
"
|
|
5
|
+
"force:apex:class:create",
|
|
6
|
+
"apex:generate:class"
|
|
7
7
|
],
|
|
8
8
|
"args": {},
|
|
9
9
|
"deprecateAliases": true,
|
|
10
|
-
"description": "
|
|
10
|
+
"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.",
|
|
11
11
|
"examples": [
|
|
12
|
-
"Generate
|
|
12
|
+
"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",
|
|
13
|
+
"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"
|
|
13
14
|
],
|
|
14
15
|
"flags": {
|
|
15
16
|
"json": {
|
|
@@ -27,6 +28,39 @@
|
|
|
27
28
|
"multiple": false,
|
|
28
29
|
"type": "option"
|
|
29
30
|
},
|
|
31
|
+
"name": {
|
|
32
|
+
"aliases": [
|
|
33
|
+
"classname"
|
|
34
|
+
],
|
|
35
|
+
"char": "n",
|
|
36
|
+
"deprecateAliases": true,
|
|
37
|
+
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
38
|
+
"name": "name",
|
|
39
|
+
"required": true,
|
|
40
|
+
"summary": "Name of the generated Apex class.",
|
|
41
|
+
"hasDynamicHelp": false,
|
|
42
|
+
"multiple": false,
|
|
43
|
+
"type": "option"
|
|
44
|
+
},
|
|
45
|
+
"template": {
|
|
46
|
+
"char": "t",
|
|
47
|
+
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
48
|
+
"name": "template",
|
|
49
|
+
"summary": "Template to use for file creation.",
|
|
50
|
+
"default": "DefaultApexClass",
|
|
51
|
+
"hasDynamicHelp": false,
|
|
52
|
+
"multiple": false,
|
|
53
|
+
"options": [
|
|
54
|
+
"ApexException",
|
|
55
|
+
"ApexUnitTest",
|
|
56
|
+
"BasicUnitTest",
|
|
57
|
+
"Batchable",
|
|
58
|
+
"DefaultApexClass",
|
|
59
|
+
"InboundEmailService",
|
|
60
|
+
"Queueable"
|
|
61
|
+
],
|
|
62
|
+
"type": "option"
|
|
63
|
+
},
|
|
30
64
|
"output-dir": {
|
|
31
65
|
"aliases": [
|
|
32
66
|
"outputdir"
|
|
@@ -52,19 +86,6 @@
|
|
|
52
86
|
"multiple": false,
|
|
53
87
|
"type": "option"
|
|
54
88
|
},
|
|
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
89
|
"loglevel": {
|
|
69
90
|
"deprecated": {
|
|
70
91
|
"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."
|
|
@@ -78,12 +99,12 @@
|
|
|
78
99
|
},
|
|
79
100
|
"hasDynamicHelp": false,
|
|
80
101
|
"hiddenAliases": [],
|
|
81
|
-
"id": "template:generate:
|
|
102
|
+
"id": "template:generate:apex:class",
|
|
82
103
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
83
104
|
"pluginName": "@salesforce/plugin-templates",
|
|
84
105
|
"pluginType": "core",
|
|
85
106
|
"strict": true,
|
|
86
|
-
"summary": "Generate
|
|
107
|
+
"summary": "Generate an Apex class.",
|
|
87
108
|
"enableJsonFlag": true,
|
|
88
109
|
"isESM": true,
|
|
89
110
|
"relativePath": [
|
|
@@ -91,75 +112,80 @@
|
|
|
91
112
|
"commands",
|
|
92
113
|
"template",
|
|
93
114
|
"generate",
|
|
94
|
-
"
|
|
95
|
-
"
|
|
115
|
+
"apex",
|
|
116
|
+
"class.js"
|
|
96
117
|
],
|
|
97
118
|
"aliasPermutations": [
|
|
98
|
-
"force:
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"force:
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"force:
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"force:
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"force:create:
|
|
115
|
-
"create:force:
|
|
116
|
-
"create:
|
|
117
|
-
"create:
|
|
118
|
-
"force:create:
|
|
119
|
-
"create:force:
|
|
120
|
-
"create:
|
|
121
|
-
"create:
|
|
122
|
-
"
|
|
123
|
-
"generate:
|
|
124
|
-
"generate:
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"
|
|
119
|
+
"force:apex:class:create",
|
|
120
|
+
"apex:force:class:create",
|
|
121
|
+
"apex:class:force:create",
|
|
122
|
+
"apex:class:create:force",
|
|
123
|
+
"force:class:apex:create",
|
|
124
|
+
"class:force:apex:create",
|
|
125
|
+
"class:apex:force:create",
|
|
126
|
+
"class:apex:create:force",
|
|
127
|
+
"force:class:create:apex",
|
|
128
|
+
"class:force:create:apex",
|
|
129
|
+
"class:create:force:apex",
|
|
130
|
+
"class:create:apex:force",
|
|
131
|
+
"force:apex:create:class",
|
|
132
|
+
"apex:force:create:class",
|
|
133
|
+
"apex:create:force:class",
|
|
134
|
+
"apex:create:class:force",
|
|
135
|
+
"force:create:apex:class",
|
|
136
|
+
"create:force:apex:class",
|
|
137
|
+
"create:apex:force:class",
|
|
138
|
+
"create:apex:class:force",
|
|
139
|
+
"force:create:class:apex",
|
|
140
|
+
"create:force:class:apex",
|
|
141
|
+
"create:class:force:apex",
|
|
142
|
+
"create:class:apex:force",
|
|
143
|
+
"apex:generate:class",
|
|
144
|
+
"generate:apex:class",
|
|
145
|
+
"generate:class:apex",
|
|
146
|
+
"apex:class:generate",
|
|
147
|
+
"class:apex:generate",
|
|
148
|
+
"class:generate:apex"
|
|
128
149
|
],
|
|
129
150
|
"permutations": [
|
|
130
|
-
"template:generate:
|
|
131
|
-
"generate:template:
|
|
132
|
-
"generate:
|
|
133
|
-
"generate:
|
|
134
|
-
"template:
|
|
135
|
-
"
|
|
136
|
-
"
|
|
137
|
-
"
|
|
138
|
-
"template:
|
|
139
|
-
"
|
|
140
|
-
"
|
|
141
|
-
"
|
|
142
|
-
"template:generate:
|
|
143
|
-
"generate:template:
|
|
144
|
-
"generate:
|
|
145
|
-
"generate:
|
|
146
|
-
"template:
|
|
147
|
-
"
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
"template:
|
|
151
|
-
"
|
|
152
|
-
"
|
|
153
|
-
"
|
|
151
|
+
"template:generate:apex:class",
|
|
152
|
+
"generate:template:apex:class",
|
|
153
|
+
"generate:apex:template:class",
|
|
154
|
+
"generate:apex:class:template",
|
|
155
|
+
"template:apex:generate:class",
|
|
156
|
+
"apex:template:generate:class",
|
|
157
|
+
"apex:generate:template:class",
|
|
158
|
+
"apex:generate:class:template",
|
|
159
|
+
"template:apex:class:generate",
|
|
160
|
+
"apex:template:class:generate",
|
|
161
|
+
"apex:class:template:generate",
|
|
162
|
+
"apex:class:generate:template",
|
|
163
|
+
"template:generate:class:apex",
|
|
164
|
+
"generate:template:class:apex",
|
|
165
|
+
"generate:class:template:apex",
|
|
166
|
+
"generate:class:apex:template",
|
|
167
|
+
"template:class:generate:apex",
|
|
168
|
+
"class:template:generate:apex",
|
|
169
|
+
"class:generate:template:apex",
|
|
170
|
+
"class:generate:apex:template",
|
|
171
|
+
"template:class:apex:generate",
|
|
172
|
+
"class:template:apex:generate",
|
|
173
|
+
"class:apex:template:generate",
|
|
174
|
+
"class:apex:generate:template"
|
|
154
175
|
]
|
|
155
176
|
},
|
|
156
|
-
"template:generate:
|
|
157
|
-
"aliases": [
|
|
177
|
+
"template:generate:apex:trigger": {
|
|
178
|
+
"aliases": [
|
|
179
|
+
"force:apex:trigger:create",
|
|
180
|
+
"apex:generate:trigger"
|
|
181
|
+
],
|
|
158
182
|
"args": {},
|
|
159
|
-
"
|
|
183
|
+
"deprecateAliases": true,
|
|
184
|
+
"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.",
|
|
160
185
|
"examples": [
|
|
161
|
-
"Generate
|
|
162
|
-
"
|
|
186
|
+
"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",
|
|
187
|
+
"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",
|
|
188
|
+
"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\""
|
|
163
189
|
],
|
|
164
190
|
"flags": {
|
|
165
191
|
"json": {
|
|
@@ -177,72 +203,111 @@
|
|
|
177
203
|
"multiple": false,
|
|
178
204
|
"type": "option"
|
|
179
205
|
},
|
|
180
|
-
"target-org": {
|
|
181
|
-
"char": "o",
|
|
182
|
-
"name": "target-org",
|
|
183
|
-
"noCacheDefault": true,
|
|
184
|
-
"summary": "Username or alias of the target org.",
|
|
185
|
-
"hasDynamicHelp": true,
|
|
186
|
-
"multiple": false,
|
|
187
|
-
"type": "option"
|
|
188
|
-
},
|
|
189
206
|
"name": {
|
|
207
|
+
"aliases": [
|
|
208
|
+
"triggername"
|
|
209
|
+
],
|
|
190
210
|
"char": "n",
|
|
211
|
+
"deprecateAliases": true,
|
|
212
|
+
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
191
213
|
"name": "name",
|
|
192
214
|
"required": true,
|
|
193
|
-
"summary": "Name of the
|
|
215
|
+
"summary": "Name of the generated Apex trigger",
|
|
194
216
|
"hasDynamicHelp": false,
|
|
195
217
|
"multiple": false,
|
|
196
218
|
"type": "option"
|
|
197
219
|
},
|
|
198
|
-
"template
|
|
220
|
+
"template": {
|
|
199
221
|
"char": "t",
|
|
200
|
-
"
|
|
201
|
-
"
|
|
202
|
-
"summary": "Template to use
|
|
222
|
+
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
223
|
+
"name": "template",
|
|
224
|
+
"summary": "Template to use for file creation.",
|
|
225
|
+
"default": "ApexTrigger",
|
|
203
226
|
"hasDynamicHelp": false,
|
|
204
227
|
"multiple": false,
|
|
205
228
|
"options": [
|
|
206
|
-
"
|
|
229
|
+
"ApexTrigger"
|
|
207
230
|
],
|
|
208
231
|
"type": "option"
|
|
209
232
|
},
|
|
210
|
-
"
|
|
211
|
-
"
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
"
|
|
233
|
+
"output-dir": {
|
|
234
|
+
"aliases": [
|
|
235
|
+
"outputdir"
|
|
236
|
+
],
|
|
237
|
+
"char": "d",
|
|
238
|
+
"deprecateAliases": true,
|
|
239
|
+
"description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
|
|
240
|
+
"name": "output-dir",
|
|
241
|
+
"summary": "Directory for saving the created files.",
|
|
242
|
+
"default": ".",
|
|
215
243
|
"hasDynamicHelp": false,
|
|
216
244
|
"multiple": false,
|
|
217
245
|
"type": "option"
|
|
218
246
|
},
|
|
219
|
-
"
|
|
220
|
-
"
|
|
221
|
-
|
|
222
|
-
|
|
247
|
+
"api-version": {
|
|
248
|
+
"aliases": [
|
|
249
|
+
"apiversion"
|
|
250
|
+
],
|
|
251
|
+
"deprecateAliases": true,
|
|
252
|
+
"description": "Override the api version used for api requests made by this command",
|
|
253
|
+
"name": "api-version",
|
|
223
254
|
"hasDynamicHelp": false,
|
|
224
255
|
"multiple": false,
|
|
225
256
|
"type": "option"
|
|
226
257
|
},
|
|
227
|
-
"
|
|
228
|
-
"char": "
|
|
229
|
-
"
|
|
230
|
-
"
|
|
231
|
-
"
|
|
258
|
+
"sobject": {
|
|
259
|
+
"char": "s",
|
|
260
|
+
"name": "sobject",
|
|
261
|
+
"summary": "Salesforce object to generate a trigger on.",
|
|
262
|
+
"default": "SOBJECT",
|
|
232
263
|
"hasDynamicHelp": false,
|
|
233
264
|
"multiple": false,
|
|
234
265
|
"type": "option"
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
266
|
+
},
|
|
267
|
+
"event": {
|
|
268
|
+
"aliases": [
|
|
269
|
+
"triggerevents"
|
|
270
|
+
],
|
|
271
|
+
"char": "e",
|
|
272
|
+
"deprecateAliases": true,
|
|
273
|
+
"name": "event",
|
|
274
|
+
"summary": "Events that fire the trigger.",
|
|
275
|
+
"default": [
|
|
276
|
+
"before insert"
|
|
277
|
+
],
|
|
278
|
+
"delimiter": ",",
|
|
279
|
+
"hasDynamicHelp": false,
|
|
280
|
+
"multiple": true,
|
|
281
|
+
"options": [
|
|
282
|
+
"before insert",
|
|
283
|
+
"before update",
|
|
284
|
+
"before delete",
|
|
285
|
+
"after insert",
|
|
286
|
+
"after update",
|
|
287
|
+
"after delete",
|
|
288
|
+
"after undelete"
|
|
289
|
+
],
|
|
290
|
+
"type": "option"
|
|
291
|
+
},
|
|
292
|
+
"loglevel": {
|
|
293
|
+
"deprecated": {
|
|
294
|
+
"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."
|
|
295
|
+
},
|
|
296
|
+
"hidden": true,
|
|
297
|
+
"name": "loglevel",
|
|
298
|
+
"hasDynamicHelp": false,
|
|
299
|
+
"multiple": false,
|
|
300
|
+
"type": "option"
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
"hasDynamicHelp": false,
|
|
304
|
+
"hiddenAliases": [],
|
|
305
|
+
"id": "template:generate:apex:trigger",
|
|
306
|
+
"pluginAlias": "@salesforce/plugin-templates",
|
|
307
|
+
"pluginName": "@salesforce/plugin-templates",
|
|
308
|
+
"pluginType": "core",
|
|
244
309
|
"strict": true,
|
|
245
|
-
"summary": "Generate an
|
|
310
|
+
"summary": "Generate an Apex trigger.",
|
|
246
311
|
"enableJsonFlag": true,
|
|
247
312
|
"isESM": true,
|
|
248
313
|
"relativePath": [
|
|
@@ -250,48 +315,78 @@
|
|
|
250
315
|
"commands",
|
|
251
316
|
"template",
|
|
252
317
|
"generate",
|
|
253
|
-
"
|
|
254
|
-
"
|
|
318
|
+
"apex",
|
|
319
|
+
"trigger.js"
|
|
320
|
+
],
|
|
321
|
+
"aliasPermutations": [
|
|
322
|
+
"force:apex:trigger:create",
|
|
323
|
+
"apex:force:trigger:create",
|
|
324
|
+
"apex:trigger:force:create",
|
|
325
|
+
"apex:trigger:create:force",
|
|
326
|
+
"force:trigger:apex:create",
|
|
327
|
+
"trigger:force:apex:create",
|
|
328
|
+
"trigger:apex:force:create",
|
|
329
|
+
"trigger:apex:create:force",
|
|
330
|
+
"force:trigger:create:apex",
|
|
331
|
+
"trigger:force:create:apex",
|
|
332
|
+
"trigger:create:force:apex",
|
|
333
|
+
"trigger:create:apex:force",
|
|
334
|
+
"force:apex:create:trigger",
|
|
335
|
+
"apex:force:create:trigger",
|
|
336
|
+
"apex:create:force:trigger",
|
|
337
|
+
"apex:create:trigger:force",
|
|
338
|
+
"force:create:apex:trigger",
|
|
339
|
+
"create:force:apex:trigger",
|
|
340
|
+
"create:apex:force:trigger",
|
|
341
|
+
"create:apex:trigger:force",
|
|
342
|
+
"force:create:trigger:apex",
|
|
343
|
+
"create:force:trigger:apex",
|
|
344
|
+
"create:trigger:force:apex",
|
|
345
|
+
"create:trigger:apex:force",
|
|
346
|
+
"apex:generate:trigger",
|
|
347
|
+
"generate:apex:trigger",
|
|
348
|
+
"generate:trigger:apex",
|
|
349
|
+
"apex:trigger:generate",
|
|
350
|
+
"trigger:apex:generate",
|
|
351
|
+
"trigger:generate:apex"
|
|
255
352
|
],
|
|
256
|
-
"aliasPermutations": [],
|
|
257
353
|
"permutations": [
|
|
258
|
-
"template:generate:
|
|
259
|
-
"generate:template:
|
|
260
|
-
"generate:
|
|
261
|
-
"generate:
|
|
262
|
-
"template:
|
|
263
|
-
"
|
|
264
|
-
"
|
|
265
|
-
"
|
|
266
|
-
"template:
|
|
267
|
-
"
|
|
268
|
-
"
|
|
269
|
-
"
|
|
270
|
-
"template:generate:
|
|
271
|
-
"generate:template:
|
|
272
|
-
"generate:
|
|
273
|
-
"generate:
|
|
274
|
-
"template:
|
|
275
|
-
"
|
|
276
|
-
"
|
|
277
|
-
"
|
|
278
|
-
"template:
|
|
279
|
-
"
|
|
280
|
-
"
|
|
281
|
-
"
|
|
354
|
+
"template:generate:apex:trigger",
|
|
355
|
+
"generate:template:apex:trigger",
|
|
356
|
+
"generate:apex:template:trigger",
|
|
357
|
+
"generate:apex:trigger:template",
|
|
358
|
+
"template:apex:generate:trigger",
|
|
359
|
+
"apex:template:generate:trigger",
|
|
360
|
+
"apex:generate:template:trigger",
|
|
361
|
+
"apex:generate:trigger:template",
|
|
362
|
+
"template:apex:trigger:generate",
|
|
363
|
+
"apex:template:trigger:generate",
|
|
364
|
+
"apex:trigger:template:generate",
|
|
365
|
+
"apex:trigger:generate:template",
|
|
366
|
+
"template:generate:trigger:apex",
|
|
367
|
+
"generate:template:trigger:apex",
|
|
368
|
+
"generate:trigger:template:apex",
|
|
369
|
+
"generate:trigger:apex:template",
|
|
370
|
+
"template:trigger:generate:apex",
|
|
371
|
+
"trigger:template:generate:apex",
|
|
372
|
+
"trigger:generate:template:apex",
|
|
373
|
+
"trigger:generate:apex:template",
|
|
374
|
+
"template:trigger:apex:generate",
|
|
375
|
+
"trigger:template:apex:generate",
|
|
376
|
+
"trigger:apex:template:generate",
|
|
377
|
+
"trigger:apex:generate:template"
|
|
282
378
|
]
|
|
283
379
|
},
|
|
284
|
-
"template:generate:
|
|
380
|
+
"template:generate:analytics:template": {
|
|
285
381
|
"aliases": [
|
|
286
|
-
"force:
|
|
287
|
-
"
|
|
382
|
+
"force:analytics:template:create",
|
|
383
|
+
"analytics:generate:template"
|
|
288
384
|
],
|
|
289
385
|
"args": {},
|
|
290
386
|
"deprecateAliases": true,
|
|
291
|
-
"description": "
|
|
387
|
+
"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.",
|
|
292
388
|
"examples": [
|
|
293
|
-
"Generate
|
|
294
|
-
"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"
|
|
389
|
+
"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"
|
|
295
390
|
],
|
|
296
391
|
"flags": {
|
|
297
392
|
"json": {
|
|
@@ -309,37 +404,6 @@
|
|
|
309
404
|
"multiple": false,
|
|
310
405
|
"type": "option"
|
|
311
406
|
},
|
|
312
|
-
"name": {
|
|
313
|
-
"aliases": [
|
|
314
|
-
"classname"
|
|
315
|
-
],
|
|
316
|
-
"char": "n",
|
|
317
|
-
"deprecateAliases": true,
|
|
318
|
-
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
319
|
-
"name": "name",
|
|
320
|
-
"required": true,
|
|
321
|
-
"summary": "Name of the generated Apex class.",
|
|
322
|
-
"hasDynamicHelp": false,
|
|
323
|
-
"multiple": false,
|
|
324
|
-
"type": "option"
|
|
325
|
-
},
|
|
326
|
-
"template": {
|
|
327
|
-
"char": "t",
|
|
328
|
-
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
329
|
-
"name": "template",
|
|
330
|
-
"summary": "Template to use for file creation.",
|
|
331
|
-
"default": "DefaultApexClass",
|
|
332
|
-
"hasDynamicHelp": false,
|
|
333
|
-
"multiple": false,
|
|
334
|
-
"options": [
|
|
335
|
-
"ApexException",
|
|
336
|
-
"ApexUnitTest",
|
|
337
|
-
"BasicUnitTest",
|
|
338
|
-
"DefaultApexClass",
|
|
339
|
-
"InboundEmailService"
|
|
340
|
-
],
|
|
341
|
-
"type": "option"
|
|
342
|
-
},
|
|
343
407
|
"output-dir": {
|
|
344
408
|
"aliases": [
|
|
345
409
|
"outputdir"
|
|
@@ -365,6 +429,19 @@
|
|
|
365
429
|
"multiple": false,
|
|
366
430
|
"type": "option"
|
|
367
431
|
},
|
|
432
|
+
"name": {
|
|
433
|
+
"aliases": [
|
|
434
|
+
"templatename"
|
|
435
|
+
],
|
|
436
|
+
"char": "n",
|
|
437
|
+
"deprecateAliases": true,
|
|
438
|
+
"name": "name",
|
|
439
|
+
"required": true,
|
|
440
|
+
"summary": "Name of the Analytics template.",
|
|
441
|
+
"hasDynamicHelp": false,
|
|
442
|
+
"multiple": false,
|
|
443
|
+
"type": "option"
|
|
444
|
+
},
|
|
368
445
|
"loglevel": {
|
|
369
446
|
"deprecated": {
|
|
370
447
|
"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."
|
|
@@ -378,12 +455,12 @@
|
|
|
378
455
|
},
|
|
379
456
|
"hasDynamicHelp": false,
|
|
380
457
|
"hiddenAliases": [],
|
|
381
|
-
"id": "template:generate:
|
|
458
|
+
"id": "template:generate:analytics:template",
|
|
382
459
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
383
460
|
"pluginName": "@salesforce/plugin-templates",
|
|
384
461
|
"pluginType": "core",
|
|
385
462
|
"strict": true,
|
|
386
|
-
"summary": "Generate
|
|
463
|
+
"summary": "Generate a simple Analytics template.",
|
|
387
464
|
"enableJsonFlag": true,
|
|
388
465
|
"isESM": true,
|
|
389
466
|
"relativePath": [
|
|
@@ -391,80 +468,75 @@
|
|
|
391
468
|
"commands",
|
|
392
469
|
"template",
|
|
393
470
|
"generate",
|
|
394
|
-
"
|
|
395
|
-
"
|
|
471
|
+
"analytics",
|
|
472
|
+
"template.js"
|
|
396
473
|
],
|
|
397
474
|
"aliasPermutations": [
|
|
398
|
-
"force:
|
|
399
|
-
"
|
|
400
|
-
"
|
|
401
|
-
"
|
|
402
|
-
"force:
|
|
403
|
-
"
|
|
404
|
-
"
|
|
405
|
-
"
|
|
406
|
-
"force:
|
|
407
|
-
"
|
|
408
|
-
"
|
|
409
|
-
"
|
|
410
|
-
"force:
|
|
411
|
-
"
|
|
412
|
-
"
|
|
413
|
-
"
|
|
414
|
-
"force:create:
|
|
415
|
-
"create:force:
|
|
416
|
-
"create:
|
|
417
|
-
"create:
|
|
418
|
-
"force:create:
|
|
419
|
-
"create:force:
|
|
420
|
-
"create:
|
|
421
|
-
"create:
|
|
422
|
-
"
|
|
423
|
-
"generate:
|
|
424
|
-
"generate:
|
|
425
|
-
"
|
|
426
|
-
"
|
|
427
|
-
"
|
|
475
|
+
"force:analytics:template:create",
|
|
476
|
+
"analytics:force:template:create",
|
|
477
|
+
"analytics:template:force:create",
|
|
478
|
+
"analytics:template:create:force",
|
|
479
|
+
"force:template:analytics:create",
|
|
480
|
+
"template:force:analytics:create",
|
|
481
|
+
"template:analytics:force:create",
|
|
482
|
+
"template:analytics:create:force",
|
|
483
|
+
"force:template:create:analytics",
|
|
484
|
+
"template:force:create:analytics",
|
|
485
|
+
"template:create:force:analytics",
|
|
486
|
+
"template:create:analytics:force",
|
|
487
|
+
"force:analytics:create:template",
|
|
488
|
+
"analytics:force:create:template",
|
|
489
|
+
"analytics:create:force:template",
|
|
490
|
+
"analytics:create:template:force",
|
|
491
|
+
"force:create:analytics:template",
|
|
492
|
+
"create:force:analytics:template",
|
|
493
|
+
"create:analytics:force:template",
|
|
494
|
+
"create:analytics:template:force",
|
|
495
|
+
"force:create:template:analytics",
|
|
496
|
+
"create:force:template:analytics",
|
|
497
|
+
"create:template:force:analytics",
|
|
498
|
+
"create:template:analytics:force",
|
|
499
|
+
"analytics:generate:template",
|
|
500
|
+
"generate:analytics:template",
|
|
501
|
+
"generate:template:analytics",
|
|
502
|
+
"analytics:template:generate",
|
|
503
|
+
"template:analytics:generate",
|
|
504
|
+
"template:generate:analytics"
|
|
428
505
|
],
|
|
429
506
|
"permutations": [
|
|
430
|
-
"template:generate:
|
|
431
|
-
"generate:template:
|
|
432
|
-
"generate:
|
|
433
|
-
"generate:
|
|
434
|
-
"template:
|
|
435
|
-
"
|
|
436
|
-
"
|
|
437
|
-
"
|
|
438
|
-
"template:
|
|
439
|
-
"
|
|
440
|
-
"
|
|
441
|
-
"
|
|
442
|
-
"template:generate:
|
|
443
|
-
"generate:template:
|
|
444
|
-
"generate:
|
|
445
|
-
"generate:
|
|
446
|
-
"template:
|
|
447
|
-
"
|
|
448
|
-
"
|
|
449
|
-
"
|
|
450
|
-
"template:
|
|
451
|
-
"
|
|
452
|
-
"
|
|
453
|
-
"
|
|
507
|
+
"template:generate:analytics:template",
|
|
508
|
+
"generate:template:analytics:template",
|
|
509
|
+
"generate:analytics:template:template",
|
|
510
|
+
"generate:analytics:template:template",
|
|
511
|
+
"template:analytics:generate:template",
|
|
512
|
+
"analytics:template:generate:template",
|
|
513
|
+
"analytics:generate:template:template",
|
|
514
|
+
"analytics:generate:template:template",
|
|
515
|
+
"template:analytics:template:generate",
|
|
516
|
+
"analytics:template:template:generate",
|
|
517
|
+
"analytics:template:template:generate",
|
|
518
|
+
"analytics:template:generate:template",
|
|
519
|
+
"template:generate:template:analytics",
|
|
520
|
+
"generate:template:template:analytics",
|
|
521
|
+
"generate:template:template:analytics",
|
|
522
|
+
"generate:template:analytics:template",
|
|
523
|
+
"template:template:generate:analytics",
|
|
524
|
+
"template:template:generate:analytics",
|
|
525
|
+
"template:generate:template:analytics",
|
|
526
|
+
"template:generate:analytics:template",
|
|
527
|
+
"template:template:analytics:generate",
|
|
528
|
+
"template:template:analytics:generate",
|
|
529
|
+
"template:analytics:template:generate",
|
|
530
|
+
"template:analytics:generate:template"
|
|
454
531
|
]
|
|
455
532
|
},
|
|
456
|
-
"template:generate:
|
|
457
|
-
"aliases": [
|
|
458
|
-
"force:apex:trigger:create",
|
|
459
|
-
"apex:generate:trigger"
|
|
460
|
-
],
|
|
533
|
+
"template:generate:digital-experience:site": {
|
|
534
|
+
"aliases": [],
|
|
461
535
|
"args": {},
|
|
462
|
-
"
|
|
463
|
-
"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.",
|
|
536
|
+
"description": "Creates the metadata of an Experience Cloud site with the specified template, name, and URL path prefix. The output includes all the necessary metadata files, including DigitalExperienceConfig, DigitalExperienceBundle, Network, and CustomSite.\nUnlike `sf community create`, which builds the site directly in the org, this command generates only the local metadata.",
|
|
464
537
|
"examples": [
|
|
465
|
-
"Generate
|
|
466
|
-
"
|
|
467
|
-
"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\""
|
|
538
|
+
"Generate an Experience Cloud site using the Build Your Own (LWR) template. The site is called \"mysite\" and has the URL path prefix \"mysite\":\n<%= config.bin %> <%= command.id %> --template-name \"Build Your Own (LWR)\" --name mysite --url-path-prefix mysite",
|
|
539
|
+
"Generate an Experience Cloud site like the last example, but generate the files into the specified output directory:\n<%= config.bin %> <%= command.id %> --template-name \"Build Your Own (LWR)\" --name mysite --url-path-prefix mysite --output-dir force-app/main/default"
|
|
468
540
|
],
|
|
469
541
|
"flags": {
|
|
470
542
|
"json": {
|
|
@@ -482,111 +554,72 @@
|
|
|
482
554
|
"multiple": false,
|
|
483
555
|
"type": "option"
|
|
484
556
|
},
|
|
557
|
+
"target-org": {
|
|
558
|
+
"char": "o",
|
|
559
|
+
"name": "target-org",
|
|
560
|
+
"noCacheDefault": true,
|
|
561
|
+
"summary": "Username or alias of the target org.",
|
|
562
|
+
"hasDynamicHelp": true,
|
|
563
|
+
"multiple": false,
|
|
564
|
+
"type": "option"
|
|
565
|
+
},
|
|
485
566
|
"name": {
|
|
486
|
-
"aliases": [
|
|
487
|
-
"triggername"
|
|
488
|
-
],
|
|
489
567
|
"char": "n",
|
|
490
|
-
"deprecateAliases": true,
|
|
491
|
-
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
492
568
|
"name": "name",
|
|
493
569
|
"required": true,
|
|
494
|
-
"summary": "Name of the
|
|
570
|
+
"summary": "Name of the Experience Cloud site to generate.",
|
|
495
571
|
"hasDynamicHelp": false,
|
|
496
572
|
"multiple": false,
|
|
497
573
|
"type": "option"
|
|
498
574
|
},
|
|
499
|
-
"template": {
|
|
575
|
+
"template-name": {
|
|
500
576
|
"char": "t",
|
|
501
|
-
"
|
|
502
|
-
"
|
|
503
|
-
"summary": "Template to use
|
|
504
|
-
"default": "ApexTrigger",
|
|
577
|
+
"name": "template-name",
|
|
578
|
+
"required": true,
|
|
579
|
+
"summary": "Template to use when generating the site.",
|
|
505
580
|
"hasDynamicHelp": false,
|
|
506
581
|
"multiple": false,
|
|
507
582
|
"options": [
|
|
508
|
-
"
|
|
509
|
-
],
|
|
510
|
-
"type": "option"
|
|
511
|
-
},
|
|
512
|
-
"output-dir": {
|
|
513
|
-
"aliases": [
|
|
514
|
-
"outputdir"
|
|
515
|
-
],
|
|
516
|
-
"char": "d",
|
|
517
|
-
"deprecateAliases": true,
|
|
518
|
-
"description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
|
|
519
|
-
"name": "output-dir",
|
|
520
|
-
"summary": "Directory for saving the created files.",
|
|
521
|
-
"default": ".",
|
|
522
|
-
"hasDynamicHelp": false,
|
|
523
|
-
"multiple": false,
|
|
524
|
-
"type": "option"
|
|
525
|
-
},
|
|
526
|
-
"api-version": {
|
|
527
|
-
"aliases": [
|
|
528
|
-
"apiversion"
|
|
583
|
+
"Build Your Own (LWR)"
|
|
529
584
|
],
|
|
530
|
-
"deprecateAliases": true,
|
|
531
|
-
"description": "Override the api version used for api requests made by this command",
|
|
532
|
-
"name": "api-version",
|
|
533
|
-
"hasDynamicHelp": false,
|
|
534
|
-
"multiple": false,
|
|
535
585
|
"type": "option"
|
|
536
586
|
},
|
|
537
|
-
"
|
|
538
|
-
"char": "
|
|
539
|
-
"name": "
|
|
540
|
-
"summary": "
|
|
541
|
-
"default": "
|
|
587
|
+
"url-path-prefix": {
|
|
588
|
+
"char": "p",
|
|
589
|
+
"name": "url-path-prefix",
|
|
590
|
+
"summary": "URL path prefix for the site; must contain only alphanumeric characters.",
|
|
591
|
+
"default": "",
|
|
542
592
|
"hasDynamicHelp": false,
|
|
543
593
|
"multiple": false,
|
|
544
594
|
"type": "option"
|
|
545
595
|
},
|
|
546
|
-
"
|
|
547
|
-
"aliases": [
|
|
548
|
-
"triggerevents"
|
|
549
|
-
],
|
|
596
|
+
"admin-email": {
|
|
550
597
|
"char": "e",
|
|
551
|
-
"
|
|
552
|
-
"
|
|
553
|
-
"summary": "Events that fire the trigger.",
|
|
554
|
-
"default": [
|
|
555
|
-
"before insert"
|
|
556
|
-
],
|
|
557
|
-
"delimiter": ",",
|
|
598
|
+
"name": "admin-email",
|
|
599
|
+
"summary": "Email address for the site administrator. Defaults to the username of the currently authenticated user.",
|
|
558
600
|
"hasDynamicHelp": false,
|
|
559
|
-
"multiple":
|
|
560
|
-
"options": [
|
|
561
|
-
"before insert",
|
|
562
|
-
"before update",
|
|
563
|
-
"before delete",
|
|
564
|
-
"after insert",
|
|
565
|
-
"after update",
|
|
566
|
-
"after delete",
|
|
567
|
-
"after undelete"
|
|
568
|
-
],
|
|
601
|
+
"multiple": false,
|
|
569
602
|
"type": "option"
|
|
570
603
|
},
|
|
571
|
-
"
|
|
572
|
-
"
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
"
|
|
576
|
-
"name": "loglevel",
|
|
604
|
+
"output-dir": {
|
|
605
|
+
"char": "d",
|
|
606
|
+
"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 file and uses the default package directory. When running outside a Salesforce DX project, defaults to the current directory.",
|
|
607
|
+
"name": "output-dir",
|
|
608
|
+
"summary": "Directory to generate the site files in.",
|
|
577
609
|
"hasDynamicHelp": false,
|
|
578
610
|
"multiple": false,
|
|
579
611
|
"type": "option"
|
|
580
612
|
}
|
|
581
613
|
},
|
|
582
|
-
"hasDynamicHelp":
|
|
614
|
+
"hasDynamicHelp": true,
|
|
583
615
|
"hiddenAliases": [],
|
|
584
|
-
"id": "template:generate:
|
|
616
|
+
"id": "template:generate:digital-experience:site",
|
|
585
617
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
586
618
|
"pluginName": "@salesforce/plugin-templates",
|
|
587
619
|
"pluginType": "core",
|
|
620
|
+
"state": "preview",
|
|
588
621
|
"strict": true,
|
|
589
|
-
"summary": "Generate an
|
|
622
|
+
"summary": "Generate an Experience Cloud site.",
|
|
590
623
|
"enableJsonFlag": true,
|
|
591
624
|
"isESM": true,
|
|
592
625
|
"relativePath": [
|
|
@@ -594,66 +627,35 @@
|
|
|
594
627
|
"commands",
|
|
595
628
|
"template",
|
|
596
629
|
"generate",
|
|
597
|
-
"
|
|
598
|
-
"
|
|
599
|
-
],
|
|
600
|
-
"aliasPermutations": [
|
|
601
|
-
"force:apex:trigger:create",
|
|
602
|
-
"apex:force:trigger:create",
|
|
603
|
-
"apex:trigger:force:create",
|
|
604
|
-
"apex:trigger:create:force",
|
|
605
|
-
"force:trigger:apex:create",
|
|
606
|
-
"trigger:force:apex:create",
|
|
607
|
-
"trigger:apex:force:create",
|
|
608
|
-
"trigger:apex:create:force",
|
|
609
|
-
"force:trigger:create:apex",
|
|
610
|
-
"trigger:force:create:apex",
|
|
611
|
-
"trigger:create:force:apex",
|
|
612
|
-
"trigger:create:apex:force",
|
|
613
|
-
"force:apex:create:trigger",
|
|
614
|
-
"apex:force:create:trigger",
|
|
615
|
-
"apex:create:force:trigger",
|
|
616
|
-
"apex:create:trigger:force",
|
|
617
|
-
"force:create:apex:trigger",
|
|
618
|
-
"create:force:apex:trigger",
|
|
619
|
-
"create:apex:force:trigger",
|
|
620
|
-
"create:apex:trigger:force",
|
|
621
|
-
"force:create:trigger:apex",
|
|
622
|
-
"create:force:trigger:apex",
|
|
623
|
-
"create:trigger:force:apex",
|
|
624
|
-
"create:trigger:apex:force",
|
|
625
|
-
"apex:generate:trigger",
|
|
626
|
-
"generate:apex:trigger",
|
|
627
|
-
"generate:trigger:apex",
|
|
628
|
-
"apex:trigger:generate",
|
|
629
|
-
"trigger:apex:generate",
|
|
630
|
-
"trigger:generate:apex"
|
|
630
|
+
"digital-experience",
|
|
631
|
+
"site.js"
|
|
631
632
|
],
|
|
633
|
+
"aliasPermutations": [],
|
|
632
634
|
"permutations": [
|
|
633
|
-
"template:generate:
|
|
634
|
-
"generate:template:
|
|
635
|
-
"generate:
|
|
636
|
-
"generate:
|
|
637
|
-
"template:
|
|
638
|
-
"
|
|
639
|
-
"
|
|
640
|
-
"
|
|
641
|
-
"template:
|
|
642
|
-
"
|
|
643
|
-
"
|
|
644
|
-
"
|
|
645
|
-
"template:generate:
|
|
646
|
-
"generate:template:
|
|
647
|
-
"generate:
|
|
648
|
-
"generate:
|
|
649
|
-
"template:
|
|
650
|
-
"
|
|
651
|
-
"
|
|
652
|
-
"
|
|
653
|
-
"template:
|
|
654
|
-
"
|
|
655
|
-
"
|
|
656
|
-
"
|
|
635
|
+
"template:generate:digital-experience:site",
|
|
636
|
+
"generate:template:digital-experience:site",
|
|
637
|
+
"generate:digital-experience:template:site",
|
|
638
|
+
"generate:digital-experience:site:template",
|
|
639
|
+
"template:digital-experience:generate:site",
|
|
640
|
+
"digital-experience:template:generate:site",
|
|
641
|
+
"digital-experience:generate:template:site",
|
|
642
|
+
"digital-experience:generate:site:template",
|
|
643
|
+
"template:digital-experience:site:generate",
|
|
644
|
+
"digital-experience:template:site:generate",
|
|
645
|
+
"digital-experience:site:template:generate",
|
|
646
|
+
"digital-experience:site:generate:template",
|
|
647
|
+
"template:generate:site:digital-experience",
|
|
648
|
+
"generate:template:site:digital-experience",
|
|
649
|
+
"generate:site:template:digital-experience",
|
|
650
|
+
"generate:site:digital-experience:template",
|
|
651
|
+
"template:site:generate:digital-experience",
|
|
652
|
+
"site:template:generate:digital-experience",
|
|
653
|
+
"site:generate:template:digital-experience",
|
|
654
|
+
"site:generate:digital-experience:template",
|
|
655
|
+
"template:site:digital-experience:generate",
|
|
656
|
+
"site:template:digital-experience:generate",
|
|
657
|
+
"site:digital-experience:template:generate",
|
|
658
|
+
"site:digital-experience:generate:template"
|
|
657
659
|
]
|
|
658
660
|
},
|
|
659
661
|
"template:generate:flexipage": {
|
|
@@ -2686,5 +2688,5 @@
|
|
|
2686
2688
|
]
|
|
2687
2689
|
}
|
|
2688
2690
|
},
|
|
2689
|
-
"version": "56.18.
|
|
2691
|
+
"version": "56.18.15"
|
|
2690
2692
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-templates",
|
|
3
3
|
"description": "Commands to create metadata from a default or custom template",
|
|
4
|
-
"version": "56.18.
|
|
4
|
+
"version": "56.18.15",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/salesforcecli/plugin-templates/issues",
|
|
7
7
|
"enableO11y": true,
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@salesforce/core": "^8.32.2",
|
|
11
11
|
"@salesforce/sf-plugins-core": "^12",
|
|
12
|
-
"@salesforce/templates": "^66.
|
|
12
|
+
"@salesforce/templates": "^66.11.0"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@oclif/plugin-command-snapshot": "^5.3.30",
|
|
16
16
|
"@salesforce/cli-plugins-testkit": "^5.3.62",
|
|
17
17
|
"@salesforce/dev-scripts": "^11.0.4",
|
|
18
|
-
"@salesforce/plugin-command-reference": "^3.1.
|
|
18
|
+
"@salesforce/plugin-command-reference": "^3.1.119",
|
|
19
19
|
"@types/yeoman-assert": "^3.1.4",
|
|
20
20
|
"eslint-plugin-sf-plugin": "^1.20.33",
|
|
21
21
|
"oclif": "^4.23.27",
|
|
@@ -249,7 +249,7 @@
|
|
|
249
249
|
"exports": "./lib/index.js",
|
|
250
250
|
"type": "module",
|
|
251
251
|
"sfdx": {
|
|
252
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.18.
|
|
253
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.18.
|
|
252
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.18.15.crt",
|
|
253
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.18.15.sig"
|
|
254
254
|
}
|
|
255
255
|
}
|