@salesforce/plugin-templates 56.3.50 → 56.3.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -12
- package/oclif.manifest.json +589 -589
- package/package.json +9 -9
package/oclif.manifest.json
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
-
"
|
|
3
|
+
"static-resource:generate": {
|
|
4
4
|
"aliases": [
|
|
5
|
-
"force:
|
|
5
|
+
"force:staticresource:create"
|
|
6
6
|
],
|
|
7
7
|
"args": {},
|
|
8
8
|
"deprecateAliases": true,
|
|
9
|
-
"description": "
|
|
9
|
+
"description": "Generates the metadata resource file in the specified directory or the current working directory. Static resource files must be contained in a parent directory called \"staticresources\" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to create one or point to an existing one.",
|
|
10
10
|
"examples": [
|
|
11
|
-
"Generate a
|
|
12
|
-
"Similar to previous example, but
|
|
13
|
-
"
|
|
14
|
-
"Generate a project with the minimum files and directories:\n<%= config.bin %> <%= command.id %> --name mywork --template empty"
|
|
11
|
+
"Generate the metadata file for a static resource called MyResource in the current directory:\n<%= config.bin %> <%= command.id %> --name MyResource",
|
|
12
|
+
"Similar to previous example, but specifies a MIME type of application/json:\n<%= config.bin %> <%= command.id %> --name MyResource --type application/json",
|
|
13
|
+
"Generate the resource file in the \"force-app/main/default/staticresources\" directory:\n<%= config.bin %> <%= command.id %> --name MyResource --output-dir force-app/main/default/staticresources"
|
|
15
14
|
],
|
|
16
15
|
"flags": {
|
|
17
16
|
"json": {
|
|
@@ -31,31 +30,29 @@
|
|
|
31
30
|
},
|
|
32
31
|
"name": {
|
|
33
32
|
"aliases": [
|
|
34
|
-
"
|
|
33
|
+
"resourcename"
|
|
35
34
|
],
|
|
36
35
|
"char": "n",
|
|
37
36
|
"deprecateAliases": true,
|
|
38
|
-
"description": "
|
|
37
|
+
"description": "This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores.",
|
|
39
38
|
"name": "name",
|
|
40
39
|
"required": true,
|
|
41
|
-
"summary": "Name of the generated
|
|
40
|
+
"summary": "Name of the generated static resource.",
|
|
42
41
|
"hasDynamicHelp": false,
|
|
43
42
|
"multiple": false,
|
|
44
43
|
"type": "option"
|
|
45
44
|
},
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"
|
|
51
|
-
"
|
|
45
|
+
"type": {
|
|
46
|
+
"aliases": [
|
|
47
|
+
"contenttype"
|
|
48
|
+
],
|
|
49
|
+
"deprecateAliases": true,
|
|
50
|
+
"description": "Must be a valid MIME type such as application/json, application/javascript, application/zip, text/plain, text/css, etc.",
|
|
51
|
+
"name": "type",
|
|
52
|
+
"summary": "Content type (mime type) of the generated static resource.",
|
|
53
|
+
"default": "application/zip",
|
|
52
54
|
"hasDynamicHelp": false,
|
|
53
55
|
"multiple": false,
|
|
54
|
-
"options": [
|
|
55
|
-
"standard",
|
|
56
|
-
"empty",
|
|
57
|
-
"analytics"
|
|
58
|
-
],
|
|
59
56
|
"type": "option"
|
|
60
57
|
},
|
|
61
58
|
"output-dir": {
|
|
@@ -72,48 +69,13 @@
|
|
|
72
69
|
"multiple": false,
|
|
73
70
|
"type": "option"
|
|
74
71
|
},
|
|
75
|
-
"
|
|
76
|
-
"char": "s",
|
|
77
|
-
"name": "namespace",
|
|
78
|
-
"summary": "Namespace associated with this project and any connected scratch orgs.",
|
|
79
|
-
"default": "",
|
|
80
|
-
"hasDynamicHelp": false,
|
|
81
|
-
"multiple": false,
|
|
82
|
-
"type": "option"
|
|
83
|
-
},
|
|
84
|
-
"default-package-dir": {
|
|
85
|
-
"aliases": [
|
|
86
|
-
"defaultpackagedir"
|
|
87
|
-
],
|
|
88
|
-
"char": "p",
|
|
89
|
-
"deprecateAliases": true,
|
|
90
|
-
"description": "Metadata items such as classes and Lightning bundles are placed inside this folder.",
|
|
91
|
-
"name": "default-package-dir",
|
|
92
|
-
"summary": "Default package directory name.",
|
|
93
|
-
"default": "force-app",
|
|
94
|
-
"hasDynamicHelp": false,
|
|
95
|
-
"multiple": false,
|
|
96
|
-
"type": "option"
|
|
97
|
-
},
|
|
98
|
-
"manifest": {
|
|
99
|
-
"char": "x",
|
|
100
|
-
"description": "Generates a default manifest (package.xml) for fetching Apex, Visualforce, Lightning components, and static resources.",
|
|
101
|
-
"name": "manifest",
|
|
102
|
-
"summary": "Generate a manifest (package.xml) for change-set based development.",
|
|
103
|
-
"allowNo": false,
|
|
104
|
-
"type": "boolean"
|
|
105
|
-
},
|
|
106
|
-
"login-url": {
|
|
72
|
+
"api-version": {
|
|
107
73
|
"aliases": [
|
|
108
|
-
"
|
|
74
|
+
"apiversion"
|
|
109
75
|
],
|
|
110
|
-
"char": "l",
|
|
111
76
|
"deprecateAliases": true,
|
|
112
|
-
"description": "
|
|
113
|
-
"
|
|
114
|
-
"name": "login-url",
|
|
115
|
-
"summary": "Salesforce instance login URL.",
|
|
116
|
-
"default": "https://login.salesforce.com",
|
|
77
|
+
"description": "Override the api version used for api requests made by this command",
|
|
78
|
+
"name": "api-version",
|
|
117
79
|
"hasDynamicHelp": false,
|
|
118
80
|
"multiple": false,
|
|
119
81
|
"type": "option"
|
|
@@ -127,56 +89,49 @@
|
|
|
127
89
|
"hasDynamicHelp": false,
|
|
128
90
|
"multiple": false,
|
|
129
91
|
"type": "option"
|
|
130
|
-
},
|
|
131
|
-
"api-version": {
|
|
132
|
-
"description": "Override the api version used for api requests made by this command",
|
|
133
|
-
"name": "api-version",
|
|
134
|
-
"summary": "Will set this version as sourceApiVersion in the sfdx-project.json file",
|
|
135
|
-
"hasDynamicHelp": false,
|
|
136
|
-
"multiple": false,
|
|
137
|
-
"type": "option"
|
|
138
92
|
}
|
|
139
93
|
},
|
|
140
94
|
"hasDynamicHelp": false,
|
|
141
95
|
"hiddenAliases": [],
|
|
142
|
-
"id": "
|
|
96
|
+
"id": "static-resource:generate",
|
|
143
97
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
144
98
|
"pluginName": "@salesforce/plugin-templates",
|
|
145
99
|
"pluginType": "core",
|
|
146
100
|
"strict": true,
|
|
147
|
-
"summary": "Generate a
|
|
101
|
+
"summary": "Generate a static resource.",
|
|
148
102
|
"enableJsonFlag": true,
|
|
149
103
|
"isESM": true,
|
|
150
104
|
"relativePath": [
|
|
151
105
|
"lib",
|
|
152
106
|
"commands",
|
|
153
|
-
"
|
|
107
|
+
"static-resource",
|
|
154
108
|
"generate.js"
|
|
155
109
|
],
|
|
156
110
|
"aliasPermutations": [
|
|
157
|
-
"force:
|
|
158
|
-
"
|
|
159
|
-
"
|
|
160
|
-
"force:create:
|
|
161
|
-
"create:force:
|
|
162
|
-
"create:
|
|
111
|
+
"force:staticresource:create",
|
|
112
|
+
"staticresource:force:create",
|
|
113
|
+
"staticresource:create:force",
|
|
114
|
+
"force:create:staticresource",
|
|
115
|
+
"create:force:staticresource",
|
|
116
|
+
"create:staticresource:force"
|
|
163
117
|
],
|
|
164
118
|
"permutations": [
|
|
165
|
-
"
|
|
166
|
-
"generate:
|
|
119
|
+
"static-resource:generate",
|
|
120
|
+
"generate:static-resource"
|
|
167
121
|
]
|
|
168
122
|
},
|
|
169
|
-
"
|
|
123
|
+
"project:generate": {
|
|
170
124
|
"aliases": [
|
|
171
|
-
"force:
|
|
125
|
+
"force:project:create"
|
|
172
126
|
],
|
|
173
127
|
"args": {},
|
|
174
128
|
"deprecateAliases": true,
|
|
175
|
-
"description": "
|
|
129
|
+
"description": "A Salesforce DX project has a specific structure and a configuration file (sfdx-project.json) that identifies the directory as a Salesforce DX project. This command generates the necessary configuration files and directories to get you started.\n\nBy default, the generated sfdx-project.json file sets the sourceApiVersion property to the default API version currently used by Salesforce CLI. To specify a different version, set the apiVersion configuration variable. For example: \"sf config set apiVersion=57.0 --global\".",
|
|
176
130
|
"examples": [
|
|
177
|
-
"Generate
|
|
178
|
-
"Similar to previous example, but
|
|
179
|
-
"
|
|
131
|
+
"Generate a project called \"mywork\":\n<%= config.bin %> <%= command.id %> --name mywork",
|
|
132
|
+
"Similar to previous example, but generate the files in a directory called \"myapp\":\n<%= config.bin %> <%= command.id %> --name mywork --default-package-dir myapp",
|
|
133
|
+
"Similar to prevoius example, but also generate a default package.xml manifest file:\n<%= config.bin %> <%= command.id %> --name mywork --default-package-dir myapp --manifest",
|
|
134
|
+
"Generate a project with the minimum files and directories:\n<%= config.bin %> <%= command.id %> --name mywork --template empty"
|
|
180
135
|
],
|
|
181
136
|
"flags": {
|
|
182
137
|
"json": {
|
|
@@ -196,29 +151,31 @@
|
|
|
196
151
|
},
|
|
197
152
|
"name": {
|
|
198
153
|
"aliases": [
|
|
199
|
-
"
|
|
154
|
+
"projectname"
|
|
200
155
|
],
|
|
201
156
|
"char": "n",
|
|
202
157
|
"deprecateAliases": true,
|
|
203
|
-
"description": "
|
|
158
|
+
"description": "Generates a project directory with this name; any valid directory name is accepted. Also sets the \"name\" property in the sfdx-project.json file to this name.",
|
|
204
159
|
"name": "name",
|
|
205
160
|
"required": true,
|
|
206
|
-
"summary": "Name of the generated
|
|
161
|
+
"summary": "Name of the generated project.",
|
|
207
162
|
"hasDynamicHelp": false,
|
|
208
163
|
"multiple": false,
|
|
209
164
|
"type": "option"
|
|
210
165
|
},
|
|
211
|
-
"
|
|
212
|
-
"
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
"
|
|
216
|
-
"
|
|
217
|
-
"name": "type",
|
|
218
|
-
"summary": "Content type (mime type) of the generated static resource.",
|
|
219
|
-
"default": "application/zip",
|
|
166
|
+
"template": {
|
|
167
|
+
"char": "t",
|
|
168
|
+
"description": "The template determines the sample configuration files and directories that this command generates. For example, the empty template provides these files and directory to get you started.\n\n- .forceignore\n- config/project-scratch-def.json\n- sfdx-project.json\n- package.json\n- force-app (basic source directory structure)\n\nThe standard template provides a complete force-app directory structure so you know where to put your source. It also provides additional files and scripts, especially useful when using Salesforce Extensions for VS Code. For example:\n\n- .gitignore: Use Git for version control.\n- .prettierrc and .prettierignore: Use Prettier to format your Aura components.\n- .vscode/extensions.json: When launched, Visual Studio Code, prompts you to install the recommended extensions for your project.\n- .vscode/launch.json: Configures Replay Debugger.\n- .vscode/settings.json: Additional configuration settings.\n\nThe analytics template provides similar files and the force-app/main/default/waveTemplates directory.",
|
|
169
|
+
"name": "template",
|
|
170
|
+
"summary": "Template to use for project creation.",
|
|
171
|
+
"default": "standard",
|
|
220
172
|
"hasDynamicHelp": false,
|
|
221
173
|
"multiple": false,
|
|
174
|
+
"options": [
|
|
175
|
+
"standard",
|
|
176
|
+
"empty",
|
|
177
|
+
"analytics"
|
|
178
|
+
],
|
|
222
179
|
"type": "option"
|
|
223
180
|
},
|
|
224
181
|
"output-dir": {
|
|
@@ -235,13 +192,48 @@
|
|
|
235
192
|
"multiple": false,
|
|
236
193
|
"type": "option"
|
|
237
194
|
},
|
|
238
|
-
"
|
|
195
|
+
"namespace": {
|
|
196
|
+
"char": "s",
|
|
197
|
+
"name": "namespace",
|
|
198
|
+
"summary": "Namespace associated with this project and any connected scratch orgs.",
|
|
199
|
+
"default": "",
|
|
200
|
+
"hasDynamicHelp": false,
|
|
201
|
+
"multiple": false,
|
|
202
|
+
"type": "option"
|
|
203
|
+
},
|
|
204
|
+
"default-package-dir": {
|
|
239
205
|
"aliases": [
|
|
240
|
-
"
|
|
206
|
+
"defaultpackagedir"
|
|
241
207
|
],
|
|
208
|
+
"char": "p",
|
|
242
209
|
"deprecateAliases": true,
|
|
243
|
-
"description": "
|
|
244
|
-
"name": "
|
|
210
|
+
"description": "Metadata items such as classes and Lightning bundles are placed inside this folder.",
|
|
211
|
+
"name": "default-package-dir",
|
|
212
|
+
"summary": "Default package directory name.",
|
|
213
|
+
"default": "force-app",
|
|
214
|
+
"hasDynamicHelp": false,
|
|
215
|
+
"multiple": false,
|
|
216
|
+
"type": "option"
|
|
217
|
+
},
|
|
218
|
+
"manifest": {
|
|
219
|
+
"char": "x",
|
|
220
|
+
"description": "Generates a default manifest (package.xml) for fetching Apex, Visualforce, Lightning components, and static resources.",
|
|
221
|
+
"name": "manifest",
|
|
222
|
+
"summary": "Generate a manifest (package.xml) for change-set based development.",
|
|
223
|
+
"allowNo": false,
|
|
224
|
+
"type": "boolean"
|
|
225
|
+
},
|
|
226
|
+
"login-url": {
|
|
227
|
+
"aliases": [
|
|
228
|
+
"loginurl"
|
|
229
|
+
],
|
|
230
|
+
"char": "l",
|
|
231
|
+
"deprecateAliases": true,
|
|
232
|
+
"description": "Normally defaults to https://login.salesforce.com.",
|
|
233
|
+
"hidden": true,
|
|
234
|
+
"name": "login-url",
|
|
235
|
+
"summary": "Salesforce instance login URL.",
|
|
236
|
+
"default": "https://login.salesforce.com",
|
|
245
237
|
"hasDynamicHelp": false,
|
|
246
238
|
"multiple": false,
|
|
247
239
|
"type": "option"
|
|
@@ -255,35 +247,43 @@
|
|
|
255
247
|
"hasDynamicHelp": false,
|
|
256
248
|
"multiple": false,
|
|
257
249
|
"type": "option"
|
|
250
|
+
},
|
|
251
|
+
"api-version": {
|
|
252
|
+
"description": "Override the api version used for api requests made by this command",
|
|
253
|
+
"name": "api-version",
|
|
254
|
+
"summary": "Will set this version as sourceApiVersion in the sfdx-project.json file",
|
|
255
|
+
"hasDynamicHelp": false,
|
|
256
|
+
"multiple": false,
|
|
257
|
+
"type": "option"
|
|
258
258
|
}
|
|
259
259
|
},
|
|
260
260
|
"hasDynamicHelp": false,
|
|
261
261
|
"hiddenAliases": [],
|
|
262
|
-
"id": "
|
|
262
|
+
"id": "project:generate",
|
|
263
263
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
264
264
|
"pluginName": "@salesforce/plugin-templates",
|
|
265
265
|
"pluginType": "core",
|
|
266
266
|
"strict": true,
|
|
267
|
-
"summary": "Generate a
|
|
267
|
+
"summary": "Generate a Salesforce DX project.",
|
|
268
268
|
"enableJsonFlag": true,
|
|
269
269
|
"isESM": true,
|
|
270
270
|
"relativePath": [
|
|
271
271
|
"lib",
|
|
272
272
|
"commands",
|
|
273
|
-
"
|
|
273
|
+
"project",
|
|
274
274
|
"generate.js"
|
|
275
275
|
],
|
|
276
276
|
"aliasPermutations": [
|
|
277
|
-
"force:
|
|
278
|
-
"
|
|
279
|
-
"
|
|
280
|
-
"force:create:
|
|
281
|
-
"create:force:
|
|
282
|
-
"create:
|
|
277
|
+
"force:project:create",
|
|
278
|
+
"project:force:create",
|
|
279
|
+
"project:create:force",
|
|
280
|
+
"force:create:project",
|
|
281
|
+
"create:force:project",
|
|
282
|
+
"create:project:force"
|
|
283
283
|
],
|
|
284
284
|
"permutations": [
|
|
285
|
-
"
|
|
286
|
-
"generate:
|
|
285
|
+
"project:generate",
|
|
286
|
+
"generate:project"
|
|
287
287
|
]
|
|
288
288
|
},
|
|
289
289
|
"analytics:generate:template": {
|
|
@@ -413,16 +413,16 @@
|
|
|
413
413
|
"template:generate:analytics"
|
|
414
414
|
]
|
|
415
415
|
},
|
|
416
|
-
"
|
|
416
|
+
"lightning:generate:app": {
|
|
417
417
|
"aliases": [
|
|
418
|
-
"force:
|
|
418
|
+
"force:lightning:app:create"
|
|
419
419
|
],
|
|
420
420
|
"args": {},
|
|
421
421
|
"deprecateAliases": true,
|
|
422
|
-
"description": "Generates
|
|
422
|
+
"description": "Generates a Lightning App bundle in the specified directory or the current working directory. The bundle consists of multiple files in a folder with the designated name.",
|
|
423
423
|
"examples": [
|
|
424
|
-
"Generate
|
|
425
|
-
"Similar to previous example, but
|
|
424
|
+
"Generate the metadata files for a Lightning app bundle called \"myapp\" in the current directory:\n<%= config.bin %> <%= command.id %> --name myapp",
|
|
425
|
+
"Similar to the previous example, but generate the files in the \"force-app/main/default/aura\" directory:\n<%= config.bin %> <%= command.id %> --name myapp --output-dir force-app/main/default/aura"
|
|
426
426
|
],
|
|
427
427
|
"flags": {
|
|
428
428
|
"json": {
|
|
@@ -442,14 +442,14 @@
|
|
|
442
442
|
},
|
|
443
443
|
"name": {
|
|
444
444
|
"aliases": [
|
|
445
|
-
"
|
|
445
|
+
"appname"
|
|
446
446
|
],
|
|
447
447
|
"char": "n",
|
|
448
448
|
"deprecateAliases": true,
|
|
449
449
|
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
450
450
|
"name": "name",
|
|
451
451
|
"required": true,
|
|
452
|
-
"summary": "Name of the generated
|
|
452
|
+
"summary": "Name of the generated Lightning App.",
|
|
453
453
|
"hasDynamicHelp": false,
|
|
454
454
|
"multiple": false,
|
|
455
455
|
"type": "option"
|
|
@@ -459,15 +459,11 @@
|
|
|
459
459
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
460
460
|
"name": "template",
|
|
461
461
|
"summary": "Template to use for file creation.",
|
|
462
|
-
"default": "
|
|
462
|
+
"default": "DefaultLightningApp",
|
|
463
463
|
"hasDynamicHelp": false,
|
|
464
464
|
"multiple": false,
|
|
465
465
|
"options": [
|
|
466
|
-
"
|
|
467
|
-
"ApexUnitTest",
|
|
468
|
-
"BasicUnitTest",
|
|
469
|
-
"DefaultApexClass",
|
|
470
|
-
"InboundEmailService"
|
|
466
|
+
"DefaultLightningApp"
|
|
471
467
|
],
|
|
472
468
|
"type": "option"
|
|
473
469
|
},
|
|
@@ -496,6 +492,14 @@
|
|
|
496
492
|
"multiple": false,
|
|
497
493
|
"type": "option"
|
|
498
494
|
},
|
|
495
|
+
"internal": {
|
|
496
|
+
"char": "i",
|
|
497
|
+
"hidden": true,
|
|
498
|
+
"name": "internal",
|
|
499
|
+
"summary": "Generate lightning bundles without creating a -meta.xml file.",
|
|
500
|
+
"allowNo": false,
|
|
501
|
+
"type": "boolean"
|
|
502
|
+
},
|
|
499
503
|
"loglevel": {
|
|
500
504
|
"deprecated": {
|
|
501
505
|
"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."
|
|
@@ -509,67 +513,68 @@
|
|
|
509
513
|
},
|
|
510
514
|
"hasDynamicHelp": false,
|
|
511
515
|
"hiddenAliases": [],
|
|
512
|
-
"id": "
|
|
516
|
+
"id": "lightning:generate:app",
|
|
513
517
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
514
518
|
"pluginName": "@salesforce/plugin-templates",
|
|
515
519
|
"pluginType": "core",
|
|
516
520
|
"strict": true,
|
|
517
|
-
"summary": "Generate
|
|
521
|
+
"summary": "Generate a Lightning App.",
|
|
518
522
|
"enableJsonFlag": true,
|
|
519
523
|
"isESM": true,
|
|
520
524
|
"relativePath": [
|
|
521
525
|
"lib",
|
|
522
526
|
"commands",
|
|
523
|
-
"
|
|
527
|
+
"lightning",
|
|
524
528
|
"generate",
|
|
525
|
-
"
|
|
529
|
+
"app.js"
|
|
526
530
|
],
|
|
527
531
|
"aliasPermutations": [
|
|
528
|
-
"force:
|
|
529
|
-
"
|
|
530
|
-
"
|
|
531
|
-
"
|
|
532
|
-
"force:
|
|
533
|
-
"
|
|
534
|
-
"
|
|
535
|
-
"
|
|
536
|
-
"force:
|
|
537
|
-
"
|
|
538
|
-
"
|
|
539
|
-
"
|
|
540
|
-
"force:
|
|
541
|
-
"
|
|
542
|
-
"
|
|
543
|
-
"
|
|
544
|
-
"force:create:
|
|
545
|
-
"create:force:
|
|
546
|
-
"create:
|
|
547
|
-
"create:
|
|
548
|
-
"force:create:
|
|
549
|
-
"create:force:
|
|
550
|
-
"create:
|
|
551
|
-
"create:
|
|
532
|
+
"force:lightning:app:create",
|
|
533
|
+
"lightning:force:app:create",
|
|
534
|
+
"lightning:app:force:create",
|
|
535
|
+
"lightning:app:create:force",
|
|
536
|
+
"force:app:lightning:create",
|
|
537
|
+
"app:force:lightning:create",
|
|
538
|
+
"app:lightning:force:create",
|
|
539
|
+
"app:lightning:create:force",
|
|
540
|
+
"force:app:create:lightning",
|
|
541
|
+
"app:force:create:lightning",
|
|
542
|
+
"app:create:force:lightning",
|
|
543
|
+
"app:create:lightning:force",
|
|
544
|
+
"force:lightning:create:app",
|
|
545
|
+
"lightning:force:create:app",
|
|
546
|
+
"lightning:create:force:app",
|
|
547
|
+
"lightning:create:app:force",
|
|
548
|
+
"force:create:lightning:app",
|
|
549
|
+
"create:force:lightning:app",
|
|
550
|
+
"create:lightning:force:app",
|
|
551
|
+
"create:lightning:app:force",
|
|
552
|
+
"force:create:app:lightning",
|
|
553
|
+
"create:force:app:lightning",
|
|
554
|
+
"create:app:force:lightning",
|
|
555
|
+
"create:app:lightning:force"
|
|
552
556
|
],
|
|
553
557
|
"permutations": [
|
|
554
|
-
"
|
|
555
|
-
"generate:
|
|
556
|
-
"generate:
|
|
557
|
-
"
|
|
558
|
-
"
|
|
559
|
-
"
|
|
558
|
+
"lightning:generate:app",
|
|
559
|
+
"generate:lightning:app",
|
|
560
|
+
"generate:app:lightning",
|
|
561
|
+
"lightning:app:generate",
|
|
562
|
+
"app:lightning:generate",
|
|
563
|
+
"app:generate:lightning"
|
|
560
564
|
]
|
|
561
565
|
},
|
|
562
|
-
"
|
|
566
|
+
"lightning:generate:component": {
|
|
563
567
|
"aliases": [
|
|
564
|
-
"force:
|
|
568
|
+
"force:lightning:component:create"
|
|
565
569
|
],
|
|
566
570
|
"args": {},
|
|
567
571
|
"deprecateAliases": true,
|
|
568
|
-
"description": "Generates the
|
|
572
|
+
"description": "Generates the bundle in the specified directory or the current working directory. The bundle consists of multiple files in a directory with the designated name. Lightning web components are contained in the directory with name \"lwc\", Aura components in \"aura\".\n\nTo generate a Lightning web component, pass \"--type lwc\" to the command. If you don’t specify --type, Salesforce CLI generates an Aura component by default.",
|
|
569
573
|
"examples": [
|
|
570
|
-
"Generate
|
|
571
|
-
"
|
|
572
|
-
"Generate
|
|
574
|
+
"Generate the metadata files for an Aura component bundle in the current directory:\n<%= config.bin %> <%= command.id %> --name mycomponent",
|
|
575
|
+
"Generate a Lightning web component bundle in the current directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --type lwc",
|
|
576
|
+
"Generate an Aura component bundle in the \"force-app/main/default/aura\" directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --output-dir force-app/main/default/aura",
|
|
577
|
+
"Generate a Lightning web component bundle in the \"force-app/main/default/lwc\" directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --type lwc --output-dir force-app/main/default/lwc"
|
|
573
578
|
],
|
|
574
579
|
"flags": {
|
|
575
580
|
"json": {
|
|
@@ -589,14 +594,14 @@
|
|
|
589
594
|
},
|
|
590
595
|
"name": {
|
|
591
596
|
"aliases": [
|
|
592
|
-
"
|
|
597
|
+
"componentname"
|
|
593
598
|
],
|
|
594
599
|
"char": "n",
|
|
595
600
|
"deprecateAliases": true,
|
|
596
601
|
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
597
602
|
"name": "name",
|
|
598
603
|
"required": true,
|
|
599
|
-
"summary": "Name of the generated
|
|
604
|
+
"summary": "Name of the generated Lightning Component.",
|
|
600
605
|
"hasDynamicHelp": false,
|
|
601
606
|
"multiple": false,
|
|
602
607
|
"type": "option"
|
|
@@ -606,11 +611,13 @@
|
|
|
606
611
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
607
612
|
"name": "template",
|
|
608
613
|
"summary": "Template to use for file creation.",
|
|
609
|
-
"default": "
|
|
614
|
+
"default": "default",
|
|
610
615
|
"hasDynamicHelp": false,
|
|
611
616
|
"multiple": false,
|
|
612
617
|
"options": [
|
|
613
|
-
"
|
|
618
|
+
"default",
|
|
619
|
+
"analyticsDashboard",
|
|
620
|
+
"analyticsDashboardWithStep"
|
|
614
621
|
],
|
|
615
622
|
"type": "option"
|
|
616
623
|
},
|
|
@@ -639,40 +646,26 @@
|
|
|
639
646
|
"multiple": false,
|
|
640
647
|
"type": "option"
|
|
641
648
|
},
|
|
642
|
-
"
|
|
643
|
-
"
|
|
644
|
-
"
|
|
645
|
-
"
|
|
646
|
-
"default": "SOBJECT",
|
|
649
|
+
"type": {
|
|
650
|
+
"name": "type",
|
|
651
|
+
"summary": "Type of the component bundle.",
|
|
652
|
+
"default": "aura",
|
|
647
653
|
"hasDynamicHelp": false,
|
|
648
654
|
"multiple": false,
|
|
649
|
-
"type": "option"
|
|
650
|
-
},
|
|
651
|
-
"event": {
|
|
652
|
-
"aliases": [
|
|
653
|
-
"triggerevents"
|
|
654
|
-
],
|
|
655
|
-
"char": "e",
|
|
656
|
-
"deprecateAliases": true,
|
|
657
|
-
"name": "event",
|
|
658
|
-
"summary": "Events that fire the trigger.",
|
|
659
|
-
"default": [
|
|
660
|
-
"before insert"
|
|
661
|
-
],
|
|
662
|
-
"delimiter": ",",
|
|
663
|
-
"hasDynamicHelp": false,
|
|
664
|
-
"multiple": true,
|
|
665
655
|
"options": [
|
|
666
|
-
"
|
|
667
|
-
"
|
|
668
|
-
"before delete",
|
|
669
|
-
"after insert",
|
|
670
|
-
"after update",
|
|
671
|
-
"after delete",
|
|
672
|
-
"after undelete"
|
|
656
|
+
"aura",
|
|
657
|
+
"lwc"
|
|
673
658
|
],
|
|
674
659
|
"type": "option"
|
|
675
660
|
},
|
|
661
|
+
"internal": {
|
|
662
|
+
"char": "i",
|
|
663
|
+
"hidden": true,
|
|
664
|
+
"name": "internal",
|
|
665
|
+
"summary": "Generate lightning bundles without creating a -meta.xml file.",
|
|
666
|
+
"allowNo": false,
|
|
667
|
+
"type": "boolean"
|
|
668
|
+
},
|
|
676
669
|
"loglevel": {
|
|
677
670
|
"deprecated": {
|
|
678
671
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
@@ -686,66 +679,66 @@
|
|
|
686
679
|
},
|
|
687
680
|
"hasDynamicHelp": false,
|
|
688
681
|
"hiddenAliases": [],
|
|
689
|
-
"id": "
|
|
682
|
+
"id": "lightning:generate:component",
|
|
690
683
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
691
684
|
"pluginName": "@salesforce/plugin-templates",
|
|
692
685
|
"pluginType": "core",
|
|
693
686
|
"strict": true,
|
|
694
|
-
"summary": "Generate an
|
|
687
|
+
"summary": "Generate a bundle for an Aura component or a Lightning web component.",
|
|
695
688
|
"enableJsonFlag": true,
|
|
696
689
|
"isESM": true,
|
|
697
690
|
"relativePath": [
|
|
698
691
|
"lib",
|
|
699
692
|
"commands",
|
|
700
|
-
"
|
|
693
|
+
"lightning",
|
|
701
694
|
"generate",
|
|
702
|
-
"
|
|
695
|
+
"component.js"
|
|
703
696
|
],
|
|
704
697
|
"aliasPermutations": [
|
|
705
|
-
"force:
|
|
706
|
-
"
|
|
707
|
-
"
|
|
708
|
-
"
|
|
709
|
-
"force:
|
|
710
|
-
"
|
|
711
|
-
"
|
|
712
|
-
"
|
|
713
|
-
"force:
|
|
714
|
-
"
|
|
715
|
-
"
|
|
716
|
-
"
|
|
717
|
-
"force:
|
|
718
|
-
"
|
|
719
|
-
"
|
|
720
|
-
"
|
|
721
|
-
"force:create:
|
|
722
|
-
"create:force:
|
|
723
|
-
"create:
|
|
724
|
-
"create:
|
|
725
|
-
"force:create:
|
|
726
|
-
"create:force:
|
|
727
|
-
"create:
|
|
728
|
-
"create:
|
|
698
|
+
"force:lightning:component:create",
|
|
699
|
+
"lightning:force:component:create",
|
|
700
|
+
"lightning:component:force:create",
|
|
701
|
+
"lightning:component:create:force",
|
|
702
|
+
"force:component:lightning:create",
|
|
703
|
+
"component:force:lightning:create",
|
|
704
|
+
"component:lightning:force:create",
|
|
705
|
+
"component:lightning:create:force",
|
|
706
|
+
"force:component:create:lightning",
|
|
707
|
+
"component:force:create:lightning",
|
|
708
|
+
"component:create:force:lightning",
|
|
709
|
+
"component:create:lightning:force",
|
|
710
|
+
"force:lightning:create:component",
|
|
711
|
+
"lightning:force:create:component",
|
|
712
|
+
"lightning:create:force:component",
|
|
713
|
+
"lightning:create:component:force",
|
|
714
|
+
"force:create:lightning:component",
|
|
715
|
+
"create:force:lightning:component",
|
|
716
|
+
"create:lightning:force:component",
|
|
717
|
+
"create:lightning:component:force",
|
|
718
|
+
"force:create:component:lightning",
|
|
719
|
+
"create:force:component:lightning",
|
|
720
|
+
"create:component:force:lightning",
|
|
721
|
+
"create:component:lightning:force"
|
|
729
722
|
],
|
|
730
723
|
"permutations": [
|
|
731
|
-
"
|
|
732
|
-
"generate:
|
|
733
|
-
"generate:
|
|
734
|
-
"
|
|
735
|
-
"
|
|
736
|
-
"
|
|
724
|
+
"lightning:generate:component",
|
|
725
|
+
"generate:lightning:component",
|
|
726
|
+
"generate:component:lightning",
|
|
727
|
+
"lightning:component:generate",
|
|
728
|
+
"component:lightning:generate",
|
|
729
|
+
"component:generate:lightning"
|
|
737
730
|
]
|
|
738
731
|
},
|
|
739
|
-
"lightning:generate:
|
|
732
|
+
"lightning:generate:event": {
|
|
740
733
|
"aliases": [
|
|
741
|
-
"force:lightning:
|
|
734
|
+
"force:lightning:event:create"
|
|
742
735
|
],
|
|
743
736
|
"args": {},
|
|
744
737
|
"deprecateAliases": true,
|
|
745
|
-
"description": "Generates a Lightning
|
|
738
|
+
"description": "Generates a Lightning Event bundle in the specified directory or the current working directory. The bundle consists of multiple files in a folder with the designated name.",
|
|
746
739
|
"examples": [
|
|
747
|
-
"Generate the metadata files for a Lightning
|
|
748
|
-
"Similar to
|
|
740
|
+
"Generate the metadata files for a Lightning event bundle called \"myevent\" in the current directory:\n<%= config.bin %> <%= command.id %> --name myevent",
|
|
741
|
+
"Similar to previous example, but generate the files in the \"force-app/main/default/aura\" directory:\n<%= config.bin %> <%= command.id %> --name myevent --output-dir force-app/main/default/aura"
|
|
749
742
|
],
|
|
750
743
|
"flags": {
|
|
751
744
|
"json": {
|
|
@@ -765,14 +758,14 @@
|
|
|
765
758
|
},
|
|
766
759
|
"name": {
|
|
767
760
|
"aliases": [
|
|
768
|
-
"
|
|
761
|
+
"eventname"
|
|
769
762
|
],
|
|
770
763
|
"char": "n",
|
|
771
764
|
"deprecateAliases": true,
|
|
772
765
|
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
773
766
|
"name": "name",
|
|
774
767
|
"required": true,
|
|
775
|
-
"summary": "Name of the generated Lightning
|
|
768
|
+
"summary": "Name of the generated Lightning Event.",
|
|
776
769
|
"hasDynamicHelp": false,
|
|
777
770
|
"multiple": false,
|
|
778
771
|
"type": "option"
|
|
@@ -782,11 +775,11 @@
|
|
|
782
775
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
783
776
|
"name": "template",
|
|
784
777
|
"summary": "Template to use for file creation.",
|
|
785
|
-
"default": "
|
|
778
|
+
"default": "DefaultLightningEvt",
|
|
786
779
|
"hasDynamicHelp": false,
|
|
787
780
|
"multiple": false,
|
|
788
781
|
"options": [
|
|
789
|
-
"
|
|
782
|
+
"DefaultLightningEvt"
|
|
790
783
|
],
|
|
791
784
|
"type": "option"
|
|
792
785
|
},
|
|
@@ -836,12 +829,12 @@
|
|
|
836
829
|
},
|
|
837
830
|
"hasDynamicHelp": false,
|
|
838
831
|
"hiddenAliases": [],
|
|
839
|
-
"id": "lightning:generate:
|
|
832
|
+
"id": "lightning:generate:event",
|
|
840
833
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
841
834
|
"pluginName": "@salesforce/plugin-templates",
|
|
842
835
|
"pluginType": "core",
|
|
843
836
|
"strict": true,
|
|
844
|
-
"summary": "Generate a Lightning
|
|
837
|
+
"summary": "Generate a Lightning Event.",
|
|
845
838
|
"enableJsonFlag": true,
|
|
846
839
|
"isESM": true,
|
|
847
840
|
"relativePath": [
|
|
@@ -849,55 +842,53 @@
|
|
|
849
842
|
"commands",
|
|
850
843
|
"lightning",
|
|
851
844
|
"generate",
|
|
852
|
-
"
|
|
845
|
+
"event.js"
|
|
853
846
|
],
|
|
854
847
|
"aliasPermutations": [
|
|
855
|
-
"force:lightning:
|
|
856
|
-
"lightning:force:
|
|
857
|
-
"lightning:
|
|
858
|
-
"lightning:
|
|
859
|
-
"force:
|
|
860
|
-
"
|
|
861
|
-
"
|
|
862
|
-
"
|
|
863
|
-
"force:
|
|
864
|
-
"
|
|
865
|
-
"
|
|
866
|
-
"
|
|
867
|
-
"force:lightning:create:
|
|
868
|
-
"lightning:force:create:
|
|
869
|
-
"lightning:create:force:
|
|
870
|
-
"lightning:create:
|
|
871
|
-
"force:create:lightning:
|
|
872
|
-
"create:force:lightning:
|
|
873
|
-
"create:lightning:force:
|
|
874
|
-
"create:lightning:
|
|
875
|
-
"force:create:
|
|
876
|
-
"create:force:
|
|
877
|
-
"create:
|
|
878
|
-
"create:
|
|
879
|
-
],
|
|
880
|
-
"permutations": [
|
|
881
|
-
"lightning:generate:
|
|
882
|
-
"generate:lightning:
|
|
883
|
-
"generate:
|
|
884
|
-
"lightning:
|
|
885
|
-
"
|
|
886
|
-
"
|
|
887
|
-
]
|
|
848
|
+
"force:lightning:event:create",
|
|
849
|
+
"lightning:force:event:create",
|
|
850
|
+
"lightning:event:force:create",
|
|
851
|
+
"lightning:event:create:force",
|
|
852
|
+
"force:event:lightning:create",
|
|
853
|
+
"event:force:lightning:create",
|
|
854
|
+
"event:lightning:force:create",
|
|
855
|
+
"event:lightning:create:force",
|
|
856
|
+
"force:event:create:lightning",
|
|
857
|
+
"event:force:create:lightning",
|
|
858
|
+
"event:create:force:lightning",
|
|
859
|
+
"event:create:lightning:force",
|
|
860
|
+
"force:lightning:create:event",
|
|
861
|
+
"lightning:force:create:event",
|
|
862
|
+
"lightning:create:force:event",
|
|
863
|
+
"lightning:create:event:force",
|
|
864
|
+
"force:create:lightning:event",
|
|
865
|
+
"create:force:lightning:event",
|
|
866
|
+
"create:lightning:force:event",
|
|
867
|
+
"create:lightning:event:force",
|
|
868
|
+
"force:create:event:lightning",
|
|
869
|
+
"create:force:event:lightning",
|
|
870
|
+
"create:event:force:lightning",
|
|
871
|
+
"create:event:lightning:force"
|
|
872
|
+
],
|
|
873
|
+
"permutations": [
|
|
874
|
+
"lightning:generate:event",
|
|
875
|
+
"generate:lightning:event",
|
|
876
|
+
"generate:event:lightning",
|
|
877
|
+
"lightning:event:generate",
|
|
878
|
+
"event:lightning:generate",
|
|
879
|
+
"event:generate:lightning"
|
|
880
|
+
]
|
|
888
881
|
},
|
|
889
|
-
"lightning:generate:
|
|
882
|
+
"lightning:generate:interface": {
|
|
890
883
|
"aliases": [
|
|
891
|
-
"force:lightning:
|
|
884
|
+
"force:lightning:interface:create"
|
|
892
885
|
],
|
|
893
886
|
"args": {},
|
|
894
887
|
"deprecateAliases": true,
|
|
895
|
-
"description": "Generates
|
|
888
|
+
"description": "Generates a Lightning Interface bundle in the specified directory or the current working directory. The bundle consists of multiple files in a folder with the designated name.",
|
|
896
889
|
"examples": [
|
|
897
|
-
"Generate the metadata files for
|
|
898
|
-
"
|
|
899
|
-
"Generate an Aura component bundle in the \"force-app/main/default/aura\" directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --output-dir force-app/main/default/aura",
|
|
900
|
-
"Generate a Lightning web component bundle in the \"force-app/main/default/lwc\" directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --type lwc --output-dir force-app/main/default/lwc"
|
|
890
|
+
"Generate the metadata files for a Lightning interface bundle called \"myinterface\" in the current directory:\n<%= config.bin %> <%= command.id %> --name myinterface",
|
|
891
|
+
"Similar to the previous example but generate the files in the \"force-app/main/default/aura\" directory:\n<%= config.bin %> <%= command.id %> --name myinterface --output-dir force-app/main/default/aura"
|
|
901
892
|
],
|
|
902
893
|
"flags": {
|
|
903
894
|
"json": {
|
|
@@ -917,14 +908,14 @@
|
|
|
917
908
|
},
|
|
918
909
|
"name": {
|
|
919
910
|
"aliases": [
|
|
920
|
-
"
|
|
911
|
+
"interfacename"
|
|
921
912
|
],
|
|
922
913
|
"char": "n",
|
|
923
914
|
"deprecateAliases": true,
|
|
924
915
|
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
925
916
|
"name": "name",
|
|
926
917
|
"required": true,
|
|
927
|
-
"summary": "Name of the generated Lightning
|
|
918
|
+
"summary": "Name of the generated Lightning Interface.",
|
|
928
919
|
"hasDynamicHelp": false,
|
|
929
920
|
"multiple": false,
|
|
930
921
|
"type": "option"
|
|
@@ -934,13 +925,11 @@
|
|
|
934
925
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
935
926
|
"name": "template",
|
|
936
927
|
"summary": "Template to use for file creation.",
|
|
937
|
-
"default": "
|
|
928
|
+
"default": "DefaultLightningIntf",
|
|
938
929
|
"hasDynamicHelp": false,
|
|
939
930
|
"multiple": false,
|
|
940
931
|
"options": [
|
|
941
|
-
"
|
|
942
|
-
"analyticsDashboard",
|
|
943
|
-
"analyticsDashboardWithStep"
|
|
932
|
+
"DefaultLightningIntf"
|
|
944
933
|
],
|
|
945
934
|
"type": "option"
|
|
946
935
|
},
|
|
@@ -969,18 +958,6 @@
|
|
|
969
958
|
"multiple": false,
|
|
970
959
|
"type": "option"
|
|
971
960
|
},
|
|
972
|
-
"type": {
|
|
973
|
-
"name": "type",
|
|
974
|
-
"summary": "Type of the component bundle.",
|
|
975
|
-
"default": "aura",
|
|
976
|
-
"hasDynamicHelp": false,
|
|
977
|
-
"multiple": false,
|
|
978
|
-
"options": [
|
|
979
|
-
"aura",
|
|
980
|
-
"lwc"
|
|
981
|
-
],
|
|
982
|
-
"type": "option"
|
|
983
|
-
},
|
|
984
961
|
"internal": {
|
|
985
962
|
"char": "i",
|
|
986
963
|
"hidden": true,
|
|
@@ -1002,12 +979,12 @@
|
|
|
1002
979
|
},
|
|
1003
980
|
"hasDynamicHelp": false,
|
|
1004
981
|
"hiddenAliases": [],
|
|
1005
|
-
"id": "lightning:generate:
|
|
982
|
+
"id": "lightning:generate:interface",
|
|
1006
983
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
1007
984
|
"pluginName": "@salesforce/plugin-templates",
|
|
1008
985
|
"pluginType": "core",
|
|
1009
986
|
"strict": true,
|
|
1010
|
-
"summary": "Generate a
|
|
987
|
+
"summary": "Generate a Lightning Interface.",
|
|
1011
988
|
"enableJsonFlag": true,
|
|
1012
989
|
"isESM": true,
|
|
1013
990
|
"relativePath": [
|
|
@@ -1015,53 +992,53 @@
|
|
|
1015
992
|
"commands",
|
|
1016
993
|
"lightning",
|
|
1017
994
|
"generate",
|
|
1018
|
-
"
|
|
995
|
+
"interface.js"
|
|
1019
996
|
],
|
|
1020
997
|
"aliasPermutations": [
|
|
1021
|
-
"force:lightning:
|
|
1022
|
-
"lightning:force:
|
|
1023
|
-
"lightning:
|
|
1024
|
-
"lightning:
|
|
1025
|
-
"force:
|
|
1026
|
-
"
|
|
1027
|
-
"
|
|
1028
|
-
"
|
|
1029
|
-
"force:
|
|
1030
|
-
"
|
|
1031
|
-
"
|
|
1032
|
-
"
|
|
1033
|
-
"force:lightning:create:
|
|
1034
|
-
"lightning:force:create:
|
|
1035
|
-
"lightning:create:force:
|
|
1036
|
-
"lightning:create:
|
|
1037
|
-
"force:create:lightning:
|
|
1038
|
-
"create:force:lightning:
|
|
1039
|
-
"create:lightning:force:
|
|
1040
|
-
"create:lightning:
|
|
1041
|
-
"force:create:
|
|
1042
|
-
"create:force:
|
|
1043
|
-
"create:
|
|
1044
|
-
"create:
|
|
998
|
+
"force:lightning:interface:create",
|
|
999
|
+
"lightning:force:interface:create",
|
|
1000
|
+
"lightning:interface:force:create",
|
|
1001
|
+
"lightning:interface:create:force",
|
|
1002
|
+
"force:interface:lightning:create",
|
|
1003
|
+
"interface:force:lightning:create",
|
|
1004
|
+
"interface:lightning:force:create",
|
|
1005
|
+
"interface:lightning:create:force",
|
|
1006
|
+
"force:interface:create:lightning",
|
|
1007
|
+
"interface:force:create:lightning",
|
|
1008
|
+
"interface:create:force:lightning",
|
|
1009
|
+
"interface:create:lightning:force",
|
|
1010
|
+
"force:lightning:create:interface",
|
|
1011
|
+
"lightning:force:create:interface",
|
|
1012
|
+
"lightning:create:force:interface",
|
|
1013
|
+
"lightning:create:interface:force",
|
|
1014
|
+
"force:create:lightning:interface",
|
|
1015
|
+
"create:force:lightning:interface",
|
|
1016
|
+
"create:lightning:force:interface",
|
|
1017
|
+
"create:lightning:interface:force",
|
|
1018
|
+
"force:create:interface:lightning",
|
|
1019
|
+
"create:force:interface:lightning",
|
|
1020
|
+
"create:interface:force:lightning",
|
|
1021
|
+
"create:interface:lightning:force"
|
|
1045
1022
|
],
|
|
1046
1023
|
"permutations": [
|
|
1047
|
-
"lightning:generate:
|
|
1048
|
-
"generate:lightning:
|
|
1049
|
-
"generate:
|
|
1050
|
-
"lightning:
|
|
1051
|
-
"
|
|
1052
|
-
"
|
|
1024
|
+
"lightning:generate:interface",
|
|
1025
|
+
"generate:lightning:interface",
|
|
1026
|
+
"generate:interface:lightning",
|
|
1027
|
+
"lightning:interface:generate",
|
|
1028
|
+
"interface:lightning:generate",
|
|
1029
|
+
"interface:generate:lightning"
|
|
1053
1030
|
]
|
|
1054
1031
|
},
|
|
1055
|
-
"lightning:generate:
|
|
1032
|
+
"lightning:generate:test": {
|
|
1056
1033
|
"aliases": [
|
|
1057
|
-
"force:lightning:
|
|
1034
|
+
"force:lightning:test:create"
|
|
1058
1035
|
],
|
|
1059
1036
|
"args": {},
|
|
1060
1037
|
"deprecateAliases": true,
|
|
1061
|
-
"description": "Generates
|
|
1038
|
+
"description": "Generates the test in the specified directory or the current working directory. The .resource file and associated metadata file are generated.",
|
|
1062
1039
|
"examples": [
|
|
1063
|
-
"Generate the metadata files for
|
|
1064
|
-
"Similar to previous example
|
|
1040
|
+
"Generate the metadata files for the Lightning test called MyLightningTest in the current directory:\n<%= config.bin %> <%= command.id %> --name MyLightningTest",
|
|
1041
|
+
"Similar to the previous example but generate the files in the \"force-app/main/default/lightningTests\" directory:\n<%= config.bin %> <%= command.id %> --name MyLightningTest --output-dir force-app/main/default/lightningTests"
|
|
1065
1042
|
],
|
|
1066
1043
|
"flags": {
|
|
1067
1044
|
"json": {
|
|
@@ -1081,14 +1058,14 @@
|
|
|
1081
1058
|
},
|
|
1082
1059
|
"name": {
|
|
1083
1060
|
"aliases": [
|
|
1084
|
-
"
|
|
1061
|
+
"testname"
|
|
1085
1062
|
],
|
|
1086
1063
|
"char": "n",
|
|
1087
1064
|
"deprecateAliases": true,
|
|
1088
|
-
"description": "
|
|
1065
|
+
"description": "Name of the new Lightning test; can be up to 40 characters and must start with a letter.",
|
|
1089
1066
|
"name": "name",
|
|
1090
1067
|
"required": true,
|
|
1091
|
-
"summary": "Name of the generated Lightning
|
|
1068
|
+
"summary": "Name of the generated Lightning Test.",
|
|
1092
1069
|
"hasDynamicHelp": false,
|
|
1093
1070
|
"multiple": false,
|
|
1094
1071
|
"type": "option"
|
|
@@ -1098,11 +1075,11 @@
|
|
|
1098
1075
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
1099
1076
|
"name": "template",
|
|
1100
1077
|
"summary": "Template to use for file creation.",
|
|
1101
|
-
"default": "
|
|
1078
|
+
"default": "DefaultLightningTest",
|
|
1102
1079
|
"hasDynamicHelp": false,
|
|
1103
1080
|
"multiple": false,
|
|
1104
1081
|
"options": [
|
|
1105
|
-
"
|
|
1082
|
+
"DefaultLightningTest"
|
|
1106
1083
|
],
|
|
1107
1084
|
"type": "option"
|
|
1108
1085
|
},
|
|
@@ -1120,6 +1097,14 @@
|
|
|
1120
1097
|
"multiple": false,
|
|
1121
1098
|
"type": "option"
|
|
1122
1099
|
},
|
|
1100
|
+
"internal": {
|
|
1101
|
+
"char": "i",
|
|
1102
|
+
"hidden": true,
|
|
1103
|
+
"name": "internal",
|
|
1104
|
+
"summary": "Generate lightning bundles without creating a -meta.xml file.",
|
|
1105
|
+
"allowNo": false,
|
|
1106
|
+
"type": "boolean"
|
|
1107
|
+
},
|
|
1123
1108
|
"api-version": {
|
|
1124
1109
|
"aliases": [
|
|
1125
1110
|
"apiversion"
|
|
@@ -1131,14 +1116,6 @@
|
|
|
1131
1116
|
"multiple": false,
|
|
1132
1117
|
"type": "option"
|
|
1133
1118
|
},
|
|
1134
|
-
"internal": {
|
|
1135
|
-
"char": "i",
|
|
1136
|
-
"hidden": true,
|
|
1137
|
-
"name": "internal",
|
|
1138
|
-
"summary": "Generate lightning bundles without creating a -meta.xml file.",
|
|
1139
|
-
"allowNo": false,
|
|
1140
|
-
"type": "boolean"
|
|
1141
|
-
},
|
|
1142
1119
|
"loglevel": {
|
|
1143
1120
|
"deprecated": {
|
|
1144
1121
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
@@ -1152,12 +1129,12 @@
|
|
|
1152
1129
|
},
|
|
1153
1130
|
"hasDynamicHelp": false,
|
|
1154
1131
|
"hiddenAliases": [],
|
|
1155
|
-
"id": "lightning:generate:
|
|
1132
|
+
"id": "lightning:generate:test",
|
|
1156
1133
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
1157
1134
|
"pluginName": "@salesforce/plugin-templates",
|
|
1158
1135
|
"pluginType": "core",
|
|
1159
1136
|
"strict": true,
|
|
1160
|
-
"summary": "Generate a Lightning
|
|
1137
|
+
"summary": "Generate a Lightning test.",
|
|
1161
1138
|
"enableJsonFlag": true,
|
|
1162
1139
|
"isESM": true,
|
|
1163
1140
|
"relativePath": [
|
|
@@ -1165,53 +1142,53 @@
|
|
|
1165
1142
|
"commands",
|
|
1166
1143
|
"lightning",
|
|
1167
1144
|
"generate",
|
|
1168
|
-
"
|
|
1145
|
+
"test.js"
|
|
1169
1146
|
],
|
|
1170
1147
|
"aliasPermutations": [
|
|
1171
|
-
"force:lightning:
|
|
1172
|
-
"lightning:force:
|
|
1173
|
-
"lightning:
|
|
1174
|
-
"lightning:
|
|
1175
|
-
"force:
|
|
1176
|
-
"
|
|
1177
|
-
"
|
|
1178
|
-
"
|
|
1179
|
-
"force:
|
|
1180
|
-
"
|
|
1181
|
-
"
|
|
1182
|
-
"
|
|
1183
|
-
"force:lightning:create:
|
|
1184
|
-
"lightning:force:create:
|
|
1185
|
-
"lightning:create:force:
|
|
1186
|
-
"lightning:create:
|
|
1187
|
-
"force:create:lightning:
|
|
1188
|
-
"create:force:lightning:
|
|
1189
|
-
"create:lightning:force:
|
|
1190
|
-
"create:lightning:
|
|
1191
|
-
"force:create:
|
|
1192
|
-
"create:force:
|
|
1193
|
-
"create:
|
|
1194
|
-
"create:
|
|
1148
|
+
"force:lightning:test:create",
|
|
1149
|
+
"lightning:force:test:create",
|
|
1150
|
+
"lightning:test:force:create",
|
|
1151
|
+
"lightning:test:create:force",
|
|
1152
|
+
"force:test:lightning:create",
|
|
1153
|
+
"test:force:lightning:create",
|
|
1154
|
+
"test:lightning:force:create",
|
|
1155
|
+
"test:lightning:create:force",
|
|
1156
|
+
"force:test:create:lightning",
|
|
1157
|
+
"test:force:create:lightning",
|
|
1158
|
+
"test:create:force:lightning",
|
|
1159
|
+
"test:create:lightning:force",
|
|
1160
|
+
"force:lightning:create:test",
|
|
1161
|
+
"lightning:force:create:test",
|
|
1162
|
+
"lightning:create:force:test",
|
|
1163
|
+
"lightning:create:test:force",
|
|
1164
|
+
"force:create:lightning:test",
|
|
1165
|
+
"create:force:lightning:test",
|
|
1166
|
+
"create:lightning:force:test",
|
|
1167
|
+
"create:lightning:test:force",
|
|
1168
|
+
"force:create:test:lightning",
|
|
1169
|
+
"create:force:test:lightning",
|
|
1170
|
+
"create:test:force:lightning",
|
|
1171
|
+
"create:test:lightning:force"
|
|
1195
1172
|
],
|
|
1196
1173
|
"permutations": [
|
|
1197
|
-
"lightning:generate:
|
|
1198
|
-
"generate:lightning:
|
|
1199
|
-
"generate:
|
|
1200
|
-
"lightning:
|
|
1201
|
-
"
|
|
1202
|
-
"
|
|
1174
|
+
"lightning:generate:test",
|
|
1175
|
+
"generate:lightning:test",
|
|
1176
|
+
"generate:test:lightning",
|
|
1177
|
+
"lightning:test:generate",
|
|
1178
|
+
"test:lightning:generate",
|
|
1179
|
+
"test:generate:lightning"
|
|
1203
1180
|
]
|
|
1204
1181
|
},
|
|
1205
|
-
"
|
|
1182
|
+
"visualforce:generate:component": {
|
|
1206
1183
|
"aliases": [
|
|
1207
|
-
"force:
|
|
1184
|
+
"force:visualforce:component:create"
|
|
1208
1185
|
],
|
|
1209
1186
|
"args": {},
|
|
1210
1187
|
"deprecateAliases": true,
|
|
1211
|
-
"description": "
|
|
1188
|
+
"description": "The command generates the .Component file and associated metadata file in the specified directory or the current working directory by default.",
|
|
1212
1189
|
"examples": [
|
|
1213
|
-
"Generate the metadata files for a
|
|
1214
|
-
"Similar to
|
|
1190
|
+
"Generate the metadata files for a Visualforce component in the current directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --label mylabel",
|
|
1191
|
+
"Similar to previous example, but generate the files in the directory \"force-app/main/default/components\":\n<%= config.bin %> <%= command.id %> --name mycomponent --label mylabel --output-dir components"
|
|
1215
1192
|
],
|
|
1216
1193
|
"flags": {
|
|
1217
1194
|
"json": {
|
|
@@ -1231,14 +1208,14 @@
|
|
|
1231
1208
|
},
|
|
1232
1209
|
"name": {
|
|
1233
1210
|
"aliases": [
|
|
1234
|
-
"
|
|
1211
|
+
"componentname"
|
|
1235
1212
|
],
|
|
1236
1213
|
"char": "n",
|
|
1237
1214
|
"deprecateAliases": true,
|
|
1238
1215
|
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
1239
1216
|
"name": "name",
|
|
1240
1217
|
"required": true,
|
|
1241
|
-
"summary": "Name of the generated
|
|
1218
|
+
"summary": "Name of the generated Visualforce Component.",
|
|
1242
1219
|
"hasDynamicHelp": false,
|
|
1243
1220
|
"multiple": false,
|
|
1244
1221
|
"type": "option"
|
|
@@ -1248,11 +1225,11 @@
|
|
|
1248
1225
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
1249
1226
|
"name": "template",
|
|
1250
1227
|
"summary": "Template to use for file creation.",
|
|
1251
|
-
"default": "
|
|
1228
|
+
"default": "DefaultVFComponent",
|
|
1252
1229
|
"hasDynamicHelp": false,
|
|
1253
1230
|
"multiple": false,
|
|
1254
1231
|
"options": [
|
|
1255
|
-
"
|
|
1232
|
+
"DefaultVFComponent"
|
|
1256
1233
|
],
|
|
1257
1234
|
"type": "option"
|
|
1258
1235
|
},
|
|
@@ -1281,13 +1258,14 @@
|
|
|
1281
1258
|
"multiple": false,
|
|
1282
1259
|
"type": "option"
|
|
1283
1260
|
},
|
|
1284
|
-
"
|
|
1285
|
-
"char": "
|
|
1286
|
-
"
|
|
1287
|
-
"
|
|
1288
|
-
"summary": "
|
|
1289
|
-
"
|
|
1290
|
-
"
|
|
1261
|
+
"label": {
|
|
1262
|
+
"char": "l",
|
|
1263
|
+
"name": "label",
|
|
1264
|
+
"required": true,
|
|
1265
|
+
"summary": "Visualforce Component label.",
|
|
1266
|
+
"hasDynamicHelp": false,
|
|
1267
|
+
"multiple": false,
|
|
1268
|
+
"type": "option"
|
|
1291
1269
|
},
|
|
1292
1270
|
"loglevel": {
|
|
1293
1271
|
"deprecated": {
|
|
@@ -1302,66 +1280,66 @@
|
|
|
1302
1280
|
},
|
|
1303
1281
|
"hasDynamicHelp": false,
|
|
1304
1282
|
"hiddenAliases": [],
|
|
1305
|
-
"id": "
|
|
1283
|
+
"id": "visualforce:generate:component",
|
|
1306
1284
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
1307
1285
|
"pluginName": "@salesforce/plugin-templates",
|
|
1308
1286
|
"pluginType": "core",
|
|
1309
1287
|
"strict": true,
|
|
1310
|
-
"summary": "Generate a
|
|
1288
|
+
"summary": "Generate a Visualforce Component.",
|
|
1311
1289
|
"enableJsonFlag": true,
|
|
1312
1290
|
"isESM": true,
|
|
1313
1291
|
"relativePath": [
|
|
1314
1292
|
"lib",
|
|
1315
1293
|
"commands",
|
|
1316
|
-
"
|
|
1294
|
+
"visualforce",
|
|
1317
1295
|
"generate",
|
|
1318
|
-
"
|
|
1296
|
+
"component.js"
|
|
1319
1297
|
],
|
|
1320
1298
|
"aliasPermutations": [
|
|
1321
|
-
"force:
|
|
1322
|
-
"
|
|
1323
|
-
"
|
|
1324
|
-
"
|
|
1325
|
-
"force:
|
|
1326
|
-
"
|
|
1327
|
-
"
|
|
1328
|
-
"
|
|
1329
|
-
"force:
|
|
1330
|
-
"
|
|
1331
|
-
"
|
|
1332
|
-
"
|
|
1333
|
-
"force:
|
|
1334
|
-
"
|
|
1335
|
-
"
|
|
1336
|
-
"
|
|
1337
|
-
"force:create:
|
|
1338
|
-
"create:force:
|
|
1339
|
-
"create:
|
|
1340
|
-
"create:
|
|
1341
|
-
"force:create:
|
|
1342
|
-
"create:force:
|
|
1343
|
-
"create:
|
|
1344
|
-
"create:
|
|
1299
|
+
"force:visualforce:component:create",
|
|
1300
|
+
"visualforce:force:component:create",
|
|
1301
|
+
"visualforce:component:force:create",
|
|
1302
|
+
"visualforce:component:create:force",
|
|
1303
|
+
"force:component:visualforce:create",
|
|
1304
|
+
"component:force:visualforce:create",
|
|
1305
|
+
"component:visualforce:force:create",
|
|
1306
|
+
"component:visualforce:create:force",
|
|
1307
|
+
"force:component:create:visualforce",
|
|
1308
|
+
"component:force:create:visualforce",
|
|
1309
|
+
"component:create:force:visualforce",
|
|
1310
|
+
"component:create:visualforce:force",
|
|
1311
|
+
"force:visualforce:create:component",
|
|
1312
|
+
"visualforce:force:create:component",
|
|
1313
|
+
"visualforce:create:force:component",
|
|
1314
|
+
"visualforce:create:component:force",
|
|
1315
|
+
"force:create:visualforce:component",
|
|
1316
|
+
"create:force:visualforce:component",
|
|
1317
|
+
"create:visualforce:force:component",
|
|
1318
|
+
"create:visualforce:component:force",
|
|
1319
|
+
"force:create:component:visualforce",
|
|
1320
|
+
"create:force:component:visualforce",
|
|
1321
|
+
"create:component:force:visualforce",
|
|
1322
|
+
"create:component:visualforce:force"
|
|
1345
1323
|
],
|
|
1346
1324
|
"permutations": [
|
|
1347
|
-
"
|
|
1348
|
-
"generate:
|
|
1349
|
-
"generate:
|
|
1350
|
-
"
|
|
1351
|
-
"
|
|
1352
|
-
"
|
|
1325
|
+
"visualforce:generate:component",
|
|
1326
|
+
"generate:visualforce:component",
|
|
1327
|
+
"generate:component:visualforce",
|
|
1328
|
+
"visualforce:component:generate",
|
|
1329
|
+
"component:visualforce:generate",
|
|
1330
|
+
"component:generate:visualforce"
|
|
1353
1331
|
]
|
|
1354
1332
|
},
|
|
1355
|
-
"
|
|
1333
|
+
"visualforce:generate:page": {
|
|
1356
1334
|
"aliases": [
|
|
1357
|
-
"force:
|
|
1335
|
+
"force:visualforce:page:create"
|
|
1358
1336
|
],
|
|
1359
1337
|
"args": {},
|
|
1360
1338
|
"deprecateAliases": true,
|
|
1361
|
-
"description": "
|
|
1339
|
+
"description": "The command generates the .Page file and associated metadata file in the specified directory or the current working directory by default.",
|
|
1362
1340
|
"examples": [
|
|
1363
|
-
"Generate the metadata files for
|
|
1364
|
-
"Similar to
|
|
1341
|
+
"Generate the metadata files for a Visualforce page in the current directory:\n<%= config.bin %> <%= command.id %> --name mypage --label mylabel",
|
|
1342
|
+
"Similar to previous example, but generate the files in the directory \"force-app/main/default/pages\":\n<%= config.bin %> <%= command.id %> --name mypage --label mylabel --output-dir pages"
|
|
1365
1343
|
],
|
|
1366
1344
|
"flags": {
|
|
1367
1345
|
"json": {
|
|
@@ -1381,14 +1359,14 @@
|
|
|
1381
1359
|
},
|
|
1382
1360
|
"name": {
|
|
1383
1361
|
"aliases": [
|
|
1384
|
-
"
|
|
1362
|
+
"pagename"
|
|
1385
1363
|
],
|
|
1386
1364
|
"char": "n",
|
|
1387
1365
|
"deprecateAliases": true,
|
|
1388
|
-
"description": "
|
|
1366
|
+
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
1389
1367
|
"name": "name",
|
|
1390
1368
|
"required": true,
|
|
1391
|
-
"summary": "Name of the generated
|
|
1369
|
+
"summary": "Name of the generated Visualforce Page.",
|
|
1392
1370
|
"hasDynamicHelp": false,
|
|
1393
1371
|
"multiple": false,
|
|
1394
1372
|
"type": "option"
|
|
@@ -1396,13 +1374,14 @@
|
|
|
1396
1374
|
"template": {
|
|
1397
1375
|
"char": "t",
|
|
1398
1376
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
1377
|
+
"hidden": true,
|
|
1399
1378
|
"name": "template",
|
|
1400
1379
|
"summary": "Template to use for file creation.",
|
|
1401
|
-
"default": "
|
|
1380
|
+
"default": "DefaultVFPage",
|
|
1402
1381
|
"hasDynamicHelp": false,
|
|
1403
1382
|
"multiple": false,
|
|
1404
1383
|
"options": [
|
|
1405
|
-
"
|
|
1384
|
+
"DefaultVFPage"
|
|
1406
1385
|
],
|
|
1407
1386
|
"type": "option"
|
|
1408
1387
|
},
|
|
@@ -1420,14 +1399,6 @@
|
|
|
1420
1399
|
"multiple": false,
|
|
1421
1400
|
"type": "option"
|
|
1422
1401
|
},
|
|
1423
|
-
"internal": {
|
|
1424
|
-
"char": "i",
|
|
1425
|
-
"hidden": true,
|
|
1426
|
-
"name": "internal",
|
|
1427
|
-
"summary": "Generate lightning bundles without creating a -meta.xml file.",
|
|
1428
|
-
"allowNo": false,
|
|
1429
|
-
"type": "boolean"
|
|
1430
|
-
},
|
|
1431
1402
|
"api-version": {
|
|
1432
1403
|
"aliases": [
|
|
1433
1404
|
"apiversion"
|
|
@@ -1439,6 +1410,15 @@
|
|
|
1439
1410
|
"multiple": false,
|
|
1440
1411
|
"type": "option"
|
|
1441
1412
|
},
|
|
1413
|
+
"label": {
|
|
1414
|
+
"char": "l",
|
|
1415
|
+
"name": "label",
|
|
1416
|
+
"required": true,
|
|
1417
|
+
"summary": "Visualforce Page label.",
|
|
1418
|
+
"hasDynamicHelp": false,
|
|
1419
|
+
"multiple": false,
|
|
1420
|
+
"type": "option"
|
|
1421
|
+
},
|
|
1442
1422
|
"loglevel": {
|
|
1443
1423
|
"deprecated": {
|
|
1444
1424
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
@@ -1452,66 +1432,66 @@
|
|
|
1452
1432
|
},
|
|
1453
1433
|
"hasDynamicHelp": false,
|
|
1454
1434
|
"hiddenAliases": [],
|
|
1455
|
-
"id": "
|
|
1435
|
+
"id": "visualforce:generate:page",
|
|
1456
1436
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
1457
1437
|
"pluginName": "@salesforce/plugin-templates",
|
|
1458
1438
|
"pluginType": "core",
|
|
1459
1439
|
"strict": true,
|
|
1460
|
-
"summary": "Generate a
|
|
1440
|
+
"summary": "Generate a Visualforce Page.",
|
|
1461
1441
|
"enableJsonFlag": true,
|
|
1462
1442
|
"isESM": true,
|
|
1463
1443
|
"relativePath": [
|
|
1464
1444
|
"lib",
|
|
1465
1445
|
"commands",
|
|
1466
|
-
"
|
|
1446
|
+
"visualforce",
|
|
1467
1447
|
"generate",
|
|
1468
|
-
"
|
|
1448
|
+
"page.js"
|
|
1469
1449
|
],
|
|
1470
1450
|
"aliasPermutations": [
|
|
1471
|
-
"force:
|
|
1472
|
-
"
|
|
1473
|
-
"
|
|
1474
|
-
"
|
|
1475
|
-
"force:
|
|
1476
|
-
"
|
|
1477
|
-
"
|
|
1478
|
-
"
|
|
1479
|
-
"force:
|
|
1480
|
-
"
|
|
1481
|
-
"
|
|
1482
|
-
"
|
|
1483
|
-
"force:
|
|
1484
|
-
"
|
|
1485
|
-
"
|
|
1486
|
-
"
|
|
1487
|
-
"force:create:
|
|
1488
|
-
"create:force:
|
|
1489
|
-
"create:
|
|
1490
|
-
"create:
|
|
1491
|
-
"force:create:
|
|
1492
|
-
"create:force:
|
|
1493
|
-
"create:
|
|
1494
|
-
"create:
|
|
1451
|
+
"force:visualforce:page:create",
|
|
1452
|
+
"visualforce:force:page:create",
|
|
1453
|
+
"visualforce:page:force:create",
|
|
1454
|
+
"visualforce:page:create:force",
|
|
1455
|
+
"force:page:visualforce:create",
|
|
1456
|
+
"page:force:visualforce:create",
|
|
1457
|
+
"page:visualforce:force:create",
|
|
1458
|
+
"page:visualforce:create:force",
|
|
1459
|
+
"force:page:create:visualforce",
|
|
1460
|
+
"page:force:create:visualforce",
|
|
1461
|
+
"page:create:force:visualforce",
|
|
1462
|
+
"page:create:visualforce:force",
|
|
1463
|
+
"force:visualforce:create:page",
|
|
1464
|
+
"visualforce:force:create:page",
|
|
1465
|
+
"visualforce:create:force:page",
|
|
1466
|
+
"visualforce:create:page:force",
|
|
1467
|
+
"force:create:visualforce:page",
|
|
1468
|
+
"create:force:visualforce:page",
|
|
1469
|
+
"create:visualforce:force:page",
|
|
1470
|
+
"create:visualforce:page:force",
|
|
1471
|
+
"force:create:page:visualforce",
|
|
1472
|
+
"create:force:page:visualforce",
|
|
1473
|
+
"create:page:force:visualforce",
|
|
1474
|
+
"create:page:visualforce:force"
|
|
1495
1475
|
],
|
|
1496
1476
|
"permutations": [
|
|
1497
|
-
"
|
|
1498
|
-
"generate:
|
|
1499
|
-
"generate:
|
|
1500
|
-
"
|
|
1501
|
-
"
|
|
1502
|
-
"
|
|
1477
|
+
"visualforce:generate:page",
|
|
1478
|
+
"generate:visualforce:page",
|
|
1479
|
+
"generate:page:visualforce",
|
|
1480
|
+
"visualforce:page:generate",
|
|
1481
|
+
"page:visualforce:generate",
|
|
1482
|
+
"page:generate:visualforce"
|
|
1503
1483
|
]
|
|
1504
1484
|
},
|
|
1505
|
-
"
|
|
1485
|
+
"apex:generate:class": {
|
|
1506
1486
|
"aliases": [
|
|
1507
|
-
"force:
|
|
1487
|
+
"force:apex:class:create"
|
|
1508
1488
|
],
|
|
1509
1489
|
"args": {},
|
|
1510
1490
|
"deprecateAliases": true,
|
|
1511
|
-
"description": "
|
|
1491
|
+
"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.",
|
|
1512
1492
|
"examples": [
|
|
1513
|
-
"Generate
|
|
1514
|
-
"Similar to previous example, but
|
|
1493
|
+
"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",
|
|
1494
|
+
"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"
|
|
1515
1495
|
],
|
|
1516
1496
|
"flags": {
|
|
1517
1497
|
"json": {
|
|
@@ -1531,14 +1511,14 @@
|
|
|
1531
1511
|
},
|
|
1532
1512
|
"name": {
|
|
1533
1513
|
"aliases": [
|
|
1534
|
-
"
|
|
1514
|
+
"classname"
|
|
1535
1515
|
],
|
|
1536
1516
|
"char": "n",
|
|
1537
1517
|
"deprecateAliases": true,
|
|
1538
1518
|
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
1539
1519
|
"name": "name",
|
|
1540
1520
|
"required": true,
|
|
1541
|
-
"summary": "Name of the generated
|
|
1521
|
+
"summary": "Name of the generated Apex class.",
|
|
1542
1522
|
"hasDynamicHelp": false,
|
|
1543
1523
|
"multiple": false,
|
|
1544
1524
|
"type": "option"
|
|
@@ -1548,11 +1528,15 @@
|
|
|
1548
1528
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
1549
1529
|
"name": "template",
|
|
1550
1530
|
"summary": "Template to use for file creation.",
|
|
1551
|
-
"default": "
|
|
1531
|
+
"default": "DefaultApexClass",
|
|
1552
1532
|
"hasDynamicHelp": false,
|
|
1553
1533
|
"multiple": false,
|
|
1554
1534
|
"options": [
|
|
1555
|
-
"
|
|
1535
|
+
"ApexException",
|
|
1536
|
+
"ApexUnitTest",
|
|
1537
|
+
"BasicUnitTest",
|
|
1538
|
+
"DefaultApexClass",
|
|
1539
|
+
"InboundEmailService"
|
|
1556
1540
|
],
|
|
1557
1541
|
"type": "option"
|
|
1558
1542
|
},
|
|
@@ -1581,15 +1565,6 @@
|
|
|
1581
1565
|
"multiple": false,
|
|
1582
1566
|
"type": "option"
|
|
1583
1567
|
},
|
|
1584
|
-
"label": {
|
|
1585
|
-
"char": "l",
|
|
1586
|
-
"name": "label",
|
|
1587
|
-
"required": true,
|
|
1588
|
-
"summary": "Visualforce Component label.",
|
|
1589
|
-
"hasDynamicHelp": false,
|
|
1590
|
-
"multiple": false,
|
|
1591
|
-
"type": "option"
|
|
1592
|
-
},
|
|
1593
1568
|
"loglevel": {
|
|
1594
1569
|
"deprecated": {
|
|
1595
1570
|
"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."
|
|
@@ -1603,66 +1578,67 @@
|
|
|
1603
1578
|
},
|
|
1604
1579
|
"hasDynamicHelp": false,
|
|
1605
1580
|
"hiddenAliases": [],
|
|
1606
|
-
"id": "
|
|
1581
|
+
"id": "apex:generate:class",
|
|
1607
1582
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
1608
1583
|
"pluginName": "@salesforce/plugin-templates",
|
|
1609
1584
|
"pluginType": "core",
|
|
1610
1585
|
"strict": true,
|
|
1611
|
-
"summary": "Generate
|
|
1586
|
+
"summary": "Generate an Apex class.",
|
|
1612
1587
|
"enableJsonFlag": true,
|
|
1613
1588
|
"isESM": true,
|
|
1614
1589
|
"relativePath": [
|
|
1615
1590
|
"lib",
|
|
1616
1591
|
"commands",
|
|
1617
|
-
"
|
|
1592
|
+
"apex",
|
|
1618
1593
|
"generate",
|
|
1619
|
-
"
|
|
1594
|
+
"class.js"
|
|
1620
1595
|
],
|
|
1621
1596
|
"aliasPermutations": [
|
|
1622
|
-
"force:
|
|
1623
|
-
"
|
|
1624
|
-
"
|
|
1625
|
-
"
|
|
1626
|
-
"force:
|
|
1627
|
-
"
|
|
1628
|
-
"
|
|
1629
|
-
"
|
|
1630
|
-
"force:
|
|
1631
|
-
"
|
|
1632
|
-
"
|
|
1633
|
-
"
|
|
1634
|
-
"force:
|
|
1635
|
-
"
|
|
1636
|
-
"
|
|
1637
|
-
"
|
|
1638
|
-
"force:create:
|
|
1639
|
-
"create:force:
|
|
1640
|
-
"create:
|
|
1641
|
-
"create:
|
|
1642
|
-
"force:create:
|
|
1643
|
-
"create:force:
|
|
1644
|
-
"create:
|
|
1645
|
-
"create:
|
|
1597
|
+
"force:apex:class:create",
|
|
1598
|
+
"apex:force:class:create",
|
|
1599
|
+
"apex:class:force:create",
|
|
1600
|
+
"apex:class:create:force",
|
|
1601
|
+
"force:class:apex:create",
|
|
1602
|
+
"class:force:apex:create",
|
|
1603
|
+
"class:apex:force:create",
|
|
1604
|
+
"class:apex:create:force",
|
|
1605
|
+
"force:class:create:apex",
|
|
1606
|
+
"class:force:create:apex",
|
|
1607
|
+
"class:create:force:apex",
|
|
1608
|
+
"class:create:apex:force",
|
|
1609
|
+
"force:apex:create:class",
|
|
1610
|
+
"apex:force:create:class",
|
|
1611
|
+
"apex:create:force:class",
|
|
1612
|
+
"apex:create:class:force",
|
|
1613
|
+
"force:create:apex:class",
|
|
1614
|
+
"create:force:apex:class",
|
|
1615
|
+
"create:apex:force:class",
|
|
1616
|
+
"create:apex:class:force",
|
|
1617
|
+
"force:create:class:apex",
|
|
1618
|
+
"create:force:class:apex",
|
|
1619
|
+
"create:class:force:apex",
|
|
1620
|
+
"create:class:apex:force"
|
|
1646
1621
|
],
|
|
1647
1622
|
"permutations": [
|
|
1648
|
-
"
|
|
1649
|
-
"generate:
|
|
1650
|
-
"generate:
|
|
1651
|
-
"
|
|
1652
|
-
"
|
|
1653
|
-
"
|
|
1623
|
+
"apex:generate:class",
|
|
1624
|
+
"generate:apex:class",
|
|
1625
|
+
"generate:class:apex",
|
|
1626
|
+
"apex:class:generate",
|
|
1627
|
+
"class:apex:generate",
|
|
1628
|
+
"class:generate:apex"
|
|
1654
1629
|
]
|
|
1655
1630
|
},
|
|
1656
|
-
"
|
|
1631
|
+
"apex:generate:trigger": {
|
|
1657
1632
|
"aliases": [
|
|
1658
|
-
"force:
|
|
1633
|
+
"force:apex:trigger:create"
|
|
1659
1634
|
],
|
|
1660
1635
|
"args": {},
|
|
1661
1636
|
"deprecateAliases": true,
|
|
1662
|
-
"description": "
|
|
1637
|
+
"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.",
|
|
1663
1638
|
"examples": [
|
|
1664
|
-
"Generate the
|
|
1665
|
-
"Similar to previous example, but generate the files in the
|
|
1639
|
+
"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",
|
|
1640
|
+
"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",
|
|
1641
|
+
"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\""
|
|
1666
1642
|
],
|
|
1667
1643
|
"flags": {
|
|
1668
1644
|
"json": {
|
|
@@ -1682,14 +1658,14 @@
|
|
|
1682
1658
|
},
|
|
1683
1659
|
"name": {
|
|
1684
1660
|
"aliases": [
|
|
1685
|
-
"
|
|
1661
|
+
"triggername"
|
|
1686
1662
|
],
|
|
1687
1663
|
"char": "n",
|
|
1688
1664
|
"deprecateAliases": true,
|
|
1689
1665
|
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
1690
1666
|
"name": "name",
|
|
1691
1667
|
"required": true,
|
|
1692
|
-
"summary": "Name of the generated
|
|
1668
|
+
"summary": "Name of the generated Apex trigger",
|
|
1693
1669
|
"hasDynamicHelp": false,
|
|
1694
1670
|
"multiple": false,
|
|
1695
1671
|
"type": "option"
|
|
@@ -1697,14 +1673,13 @@
|
|
|
1697
1673
|
"template": {
|
|
1698
1674
|
"char": "t",
|
|
1699
1675
|
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
1700
|
-
"hidden": true,
|
|
1701
1676
|
"name": "template",
|
|
1702
1677
|
"summary": "Template to use for file creation.",
|
|
1703
|
-
"default": "
|
|
1678
|
+
"default": "ApexTrigger",
|
|
1704
1679
|
"hasDynamicHelp": false,
|
|
1705
1680
|
"multiple": false,
|
|
1706
1681
|
"options": [
|
|
1707
|
-
"
|
|
1682
|
+
"ApexTrigger"
|
|
1708
1683
|
],
|
|
1709
1684
|
"type": "option"
|
|
1710
1685
|
},
|
|
@@ -1733,15 +1708,40 @@
|
|
|
1733
1708
|
"multiple": false,
|
|
1734
1709
|
"type": "option"
|
|
1735
1710
|
},
|
|
1736
|
-
"
|
|
1737
|
-
"char": "
|
|
1738
|
-
"name": "
|
|
1739
|
-
"
|
|
1740
|
-
"
|
|
1711
|
+
"sobject": {
|
|
1712
|
+
"char": "s",
|
|
1713
|
+
"name": "sobject",
|
|
1714
|
+
"summary": "Salesforce object to generate a trigger on.",
|
|
1715
|
+
"default": "SOBJECT",
|
|
1741
1716
|
"hasDynamicHelp": false,
|
|
1742
1717
|
"multiple": false,
|
|
1743
1718
|
"type": "option"
|
|
1744
1719
|
},
|
|
1720
|
+
"event": {
|
|
1721
|
+
"aliases": [
|
|
1722
|
+
"triggerevents"
|
|
1723
|
+
],
|
|
1724
|
+
"char": "e",
|
|
1725
|
+
"deprecateAliases": true,
|
|
1726
|
+
"name": "event",
|
|
1727
|
+
"summary": "Events that fire the trigger.",
|
|
1728
|
+
"default": [
|
|
1729
|
+
"before insert"
|
|
1730
|
+
],
|
|
1731
|
+
"delimiter": ",",
|
|
1732
|
+
"hasDynamicHelp": false,
|
|
1733
|
+
"multiple": true,
|
|
1734
|
+
"options": [
|
|
1735
|
+
"before insert",
|
|
1736
|
+
"before update",
|
|
1737
|
+
"before delete",
|
|
1738
|
+
"after insert",
|
|
1739
|
+
"after update",
|
|
1740
|
+
"after delete",
|
|
1741
|
+
"after undelete"
|
|
1742
|
+
],
|
|
1743
|
+
"type": "option"
|
|
1744
|
+
},
|
|
1745
1745
|
"loglevel": {
|
|
1746
1746
|
"deprecated": {
|
|
1747
1747
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
@@ -1755,56 +1755,56 @@
|
|
|
1755
1755
|
},
|
|
1756
1756
|
"hasDynamicHelp": false,
|
|
1757
1757
|
"hiddenAliases": [],
|
|
1758
|
-
"id": "
|
|
1758
|
+
"id": "apex:generate:trigger",
|
|
1759
1759
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
1760
1760
|
"pluginName": "@salesforce/plugin-templates",
|
|
1761
1761
|
"pluginType": "core",
|
|
1762
1762
|
"strict": true,
|
|
1763
|
-
"summary": "Generate
|
|
1763
|
+
"summary": "Generate an Apex trigger.",
|
|
1764
1764
|
"enableJsonFlag": true,
|
|
1765
1765
|
"isESM": true,
|
|
1766
1766
|
"relativePath": [
|
|
1767
1767
|
"lib",
|
|
1768
1768
|
"commands",
|
|
1769
|
-
"
|
|
1769
|
+
"apex",
|
|
1770
1770
|
"generate",
|
|
1771
|
-
"
|
|
1771
|
+
"trigger.js"
|
|
1772
1772
|
],
|
|
1773
1773
|
"aliasPermutations": [
|
|
1774
|
-
"force:
|
|
1775
|
-
"
|
|
1776
|
-
"
|
|
1777
|
-
"
|
|
1778
|
-
"force:
|
|
1779
|
-
"
|
|
1780
|
-
"
|
|
1781
|
-
"
|
|
1782
|
-
"force:
|
|
1783
|
-
"
|
|
1784
|
-
"
|
|
1785
|
-
"
|
|
1786
|
-
"force:
|
|
1787
|
-
"
|
|
1788
|
-
"
|
|
1789
|
-
"
|
|
1790
|
-
"force:create:
|
|
1791
|
-
"create:force:
|
|
1792
|
-
"create:
|
|
1793
|
-
"create:
|
|
1794
|
-
"force:create:
|
|
1795
|
-
"create:force:
|
|
1796
|
-
"create:
|
|
1797
|
-
"create:
|
|
1774
|
+
"force:apex:trigger:create",
|
|
1775
|
+
"apex:force:trigger:create",
|
|
1776
|
+
"apex:trigger:force:create",
|
|
1777
|
+
"apex:trigger:create:force",
|
|
1778
|
+
"force:trigger:apex:create",
|
|
1779
|
+
"trigger:force:apex:create",
|
|
1780
|
+
"trigger:apex:force:create",
|
|
1781
|
+
"trigger:apex:create:force",
|
|
1782
|
+
"force:trigger:create:apex",
|
|
1783
|
+
"trigger:force:create:apex",
|
|
1784
|
+
"trigger:create:force:apex",
|
|
1785
|
+
"trigger:create:apex:force",
|
|
1786
|
+
"force:apex:create:trigger",
|
|
1787
|
+
"apex:force:create:trigger",
|
|
1788
|
+
"apex:create:force:trigger",
|
|
1789
|
+
"apex:create:trigger:force",
|
|
1790
|
+
"force:create:apex:trigger",
|
|
1791
|
+
"create:force:apex:trigger",
|
|
1792
|
+
"create:apex:force:trigger",
|
|
1793
|
+
"create:apex:trigger:force",
|
|
1794
|
+
"force:create:trigger:apex",
|
|
1795
|
+
"create:force:trigger:apex",
|
|
1796
|
+
"create:trigger:force:apex",
|
|
1797
|
+
"create:trigger:apex:force"
|
|
1798
1798
|
],
|
|
1799
1799
|
"permutations": [
|
|
1800
|
-
"
|
|
1801
|
-
"generate:
|
|
1802
|
-
"generate:
|
|
1803
|
-
"
|
|
1804
|
-
"
|
|
1805
|
-
"
|
|
1800
|
+
"apex:generate:trigger",
|
|
1801
|
+
"generate:apex:trigger",
|
|
1802
|
+
"generate:trigger:apex",
|
|
1803
|
+
"apex:trigger:generate",
|
|
1804
|
+
"trigger:apex:generate",
|
|
1805
|
+
"trigger:generate:apex"
|
|
1806
1806
|
]
|
|
1807
1807
|
}
|
|
1808
1808
|
},
|
|
1809
|
-
"version": "56.3.
|
|
1809
|
+
"version": "56.3.52"
|
|
1810
1810
|
}
|