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