@salesforce/plugin-templates 55.5.19 → 56.0.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.
Files changed (53) hide show
  1. package/bin/dev.cmd +1 -1
  2. package/bin/dev.js +8 -0
  3. package/bin/run.js +9 -0
  4. package/lib/commands/analytics/generate/template.d.ts +4 -4
  5. package/lib/commands/analytics/generate/template.js +31 -32
  6. package/lib/commands/analytics/generate/template.js.map +1 -1
  7. package/lib/commands/apex/generate/class.d.ts +5 -5
  8. package/lib/commands/apex/generate/class.js +41 -42
  9. package/lib/commands/apex/generate/class.js.map +1 -1
  10. package/lib/commands/apex/generate/trigger.d.ts +7 -7
  11. package/lib/commands/apex/generate/trigger.js +62 -63
  12. package/lib/commands/apex/generate/trigger.js.map +1 -1
  13. package/lib/commands/lightning/generate/app.d.ts +6 -6
  14. package/lib/commands/lightning/generate/app.js +42 -43
  15. package/lib/commands/lightning/generate/app.js.map +1 -1
  16. package/lib/commands/lightning/generate/component.d.ts +7 -7
  17. package/lib/commands/lightning/generate/component.js +48 -49
  18. package/lib/commands/lightning/generate/component.js.map +1 -1
  19. package/lib/commands/lightning/generate/event.d.ts +6 -6
  20. package/lib/commands/lightning/generate/event.js +42 -43
  21. package/lib/commands/lightning/generate/event.js.map +1 -1
  22. package/lib/commands/lightning/generate/interface.d.ts +6 -6
  23. package/lib/commands/lightning/generate/interface.js +42 -43
  24. package/lib/commands/lightning/generate/interface.js.map +1 -1
  25. package/lib/commands/lightning/generate/test.d.ts +6 -6
  26. package/lib/commands/lightning/generate/test.js +42 -43
  27. package/lib/commands/lightning/generate/test.js.map +1 -1
  28. package/lib/commands/project/generate.d.ts +9 -9
  29. package/lib/commands/project/generate.js +68 -69
  30. package/lib/commands/project/generate.js.map +1 -1
  31. package/lib/commands/static-resource/generate.d.ts +5 -5
  32. package/lib/commands/static-resource/generate.js +39 -40
  33. package/lib/commands/static-resource/generate.js.map +1 -1
  34. package/lib/commands/visualforce/generate/component.d.ts +6 -6
  35. package/lib/commands/visualforce/generate/component.js +46 -47
  36. package/lib/commands/visualforce/generate/component.js.map +1 -1
  37. package/lib/commands/visualforce/generate/page.d.ts +6 -6
  38. package/lib/commands/visualforce/generate/page.js +48 -49
  39. package/lib/commands/visualforce/generate/page.js.map +1 -1
  40. package/lib/index.js +1 -3
  41. package/lib/index.js.map +1 -1
  42. package/lib/utils/flags.d.ts +3 -3
  43. package/lib/utils/flags.js +10 -11
  44. package/lib/utils/flags.js.map +1 -1
  45. package/lib/utils/templateCommand.d.ts +25 -25
  46. package/lib/utils/templateCommand.js +18 -24
  47. package/lib/utils/templateCommand.js.map +1 -1
  48. package/oclif.lock +8217 -0
  49. package/oclif.manifest.json +1108 -581
  50. package/package.json +33 -33
  51. package/bin/dev +0 -21
  52. package/bin/run +0 -5
  53. package/lib/tsconfig.tsbuildinfo +0 -1
@@ -1,343 +1,437 @@
1
1
  {
2
- "version": "55.5.19",
3
2
  "commands": {
4
3
  "project:generate": {
5
- "id": "project:generate",
6
- "summary": "Generate a Salesforce DX project.",
7
- "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\".",
8
- "strict": true,
9
- "pluginName": "@salesforce/plugin-templates",
10
- "pluginAlias": "@salesforce/plugin-templates",
11
- "pluginType": "core",
12
4
  "aliases": [
13
5
  "force:project:create"
14
6
  ],
7
+ "args": {},
8
+ "deprecateAliases": true,
9
+ "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\".",
15
10
  "examples": [
16
11
  "Generate a project called \"mywork\":\n<%= config.bin %> <%= command.id %> --name mywork",
17
12
  "Similar to previous example, but generate the files in a directory called \"myapp\":\n<%= config.bin %> <%= command.id %> --name mywork --default-package-dir myapp",
18
13
  "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",
19
14
  "Generate a project with the minimum files and directories:\n<%= config.bin %> <%= command.id %> --name mywork --template empty"
20
15
  ],
21
- "deprecateAliases": true,
22
16
  "flags": {
23
17
  "json": {
24
- "name": "json",
25
- "type": "boolean",
26
18
  "description": "Format output as json.",
27
19
  "helpGroup": "GLOBAL",
20
+ "name": "json",
28
21
  "allowNo": false,
29
- "deprecateAliases": true
22
+ "type": "boolean"
30
23
  },
31
24
  "name": {
32
- "name": "name",
33
- "type": "option",
25
+ "aliases": [
26
+ "projectname"
27
+ ],
34
28
  "char": "n",
35
- "summary": "Name of the generated project.",
29
+ "deprecateAliases": true,
36
30
  "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.",
31
+ "name": "name",
37
32
  "required": true,
33
+ "summary": "Name of the generated project.",
34
+ "hasDynamicHelp": false,
38
35
  "multiple": false,
39
- "deprecateAliases": true,
40
- "aliases": [
41
- "projectname"
42
- ]
36
+ "type": "option"
43
37
  },
44
38
  "template": {
45
- "name": "template",
46
- "type": "option",
47
39
  "char": "t",
48
- "summary": "Template to use for project creation.",
49
40
  "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.",
41
+ "name": "template",
42
+ "summary": "Template to use for project creation.",
43
+ "default": "standard",
44
+ "hasDynamicHelp": false,
50
45
  "multiple": false,
51
46
  "options": [
52
47
  "standard",
53
48
  "empty",
54
49
  "analytics"
55
50
  ],
56
- "default": "standard",
57
- "deprecateAliases": true
51
+ "type": "option"
58
52
  },
59
53
  "output-dir": {
60
- "name": "output-dir",
61
- "type": "option",
54
+ "aliases": [
55
+ "outputdir"
56
+ ],
62
57
  "char": "d",
63
- "summary": "Directory for saving the created files.",
58
+ "deprecateAliases": true,
64
59
  "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
65
- "multiple": false,
60
+ "name": "output-dir",
61
+ "summary": "Directory for saving the created files.",
66
62
  "default": ".",
67
- "deprecateAliases": true,
68
- "aliases": [
69
- "outputdir"
70
- ]
63
+ "hasDynamicHelp": false,
64
+ "multiple": false,
65
+ "type": "option"
71
66
  },
72
67
  "namespace": {
73
- "name": "namespace",
74
- "type": "option",
75
68
  "char": "s",
69
+ "name": "namespace",
76
70
  "summary": "Namespace associated with this project and any connected scratch orgs.",
77
- "multiple": false,
78
71
  "default": "",
79
- "deprecateAliases": true
72
+ "hasDynamicHelp": false,
73
+ "multiple": false,
74
+ "type": "option"
80
75
  },
81
76
  "default-package-dir": {
82
- "name": "default-package-dir",
83
- "type": "option",
77
+ "aliases": [
78
+ "defaultpackagedir"
79
+ ],
84
80
  "char": "p",
85
- "summary": "Default package directory name.",
81
+ "deprecateAliases": true,
86
82
  "description": "Metadata items such as classes and Lightning bundles are placed inside this folder.",
87
- "multiple": false,
83
+ "name": "default-package-dir",
84
+ "summary": "Default package directory name.",
88
85
  "default": "force-app",
89
- "deprecateAliases": true,
90
- "aliases": [
91
- "defaultpackagedir"
92
- ]
86
+ "hasDynamicHelp": false,
87
+ "multiple": false,
88
+ "type": "option"
93
89
  },
94
90
  "manifest": {
95
- "name": "manifest",
96
- "type": "boolean",
97
91
  "char": "x",
98
- "summary": "Generate a manifest (package.xml) for change-set based development.",
99
92
  "description": "Generates a default manifest (package.xml) for fetching Apex, Visualforce, Lightning components, and static resources.",
93
+ "name": "manifest",
94
+ "summary": "Generate a manifest (package.xml) for change-set based development.",
100
95
  "allowNo": false,
101
- "deprecateAliases": true
96
+ "type": "boolean"
102
97
  },
103
98
  "login-url": {
104
- "name": "login-url",
105
- "type": "option",
99
+ "aliases": [
100
+ "loginurl"
101
+ ],
106
102
  "char": "l",
107
- "summary": "Salesforce instance login URL.",
103
+ "deprecateAliases": true,
108
104
  "description": "Normally defaults to https://login.salesforce.com.",
109
105
  "hidden": true,
110
- "multiple": false,
106
+ "name": "login-url",
107
+ "summary": "Salesforce instance login URL.",
111
108
  "default": "https://login.salesforce.com",
112
- "deprecateAliases": true,
113
- "aliases": [
114
- "loginurl"
115
- ]
109
+ "hasDynamicHelp": false,
110
+ "multiple": false,
111
+ "type": "option"
116
112
  },
117
113
  "loglevel": {
118
- "name": "loglevel",
119
- "type": "option",
120
- "hidden": true,
121
- "multiple": false,
122
114
  "deprecated": {
123
115
  "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."
124
116
  },
125
- "deprecateAliases": true
117
+ "hidden": true,
118
+ "name": "loglevel",
119
+ "hasDynamicHelp": false,
120
+ "multiple": false,
121
+ "type": "option"
126
122
  },
127
123
  "api-version": {
124
+ "description": "Override the api version used for api requests made by this command",
128
125
  "name": "api-version",
129
- "type": "option",
130
126
  "summary": "Will set this version as sourceApiVersion in the sfdx-project.json file",
131
- "description": "Override the api version used for api requests made by this command",
127
+ "hasDynamicHelp": false,
132
128
  "multiple": false,
133
- "deprecateAliases": true
129
+ "type": "option"
134
130
  }
135
131
  },
136
- "args": {}
137
- },
138
- "static-resource:generate": {
139
- "id": "static-resource:generate",
140
- "summary": "Generate a static resource.",
141
- "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.",
142
- "strict": true,
143
- "pluginName": "@salesforce/plugin-templates",
132
+ "hasDynamicHelp": false,
133
+ "hiddenAliases": [],
134
+ "id": "project:generate",
144
135
  "pluginAlias": "@salesforce/plugin-templates",
136
+ "pluginName": "@salesforce/plugin-templates",
145
137
  "pluginType": "core",
138
+ "strict": true,
139
+ "summary": "Generate a Salesforce DX project.",
140
+ "enableJsonFlag": true,
141
+ "SF_ENV": "SF_ENV",
142
+ "isESM": true,
143
+ "relativePath": [
144
+ "lib",
145
+ "commands",
146
+ "project",
147
+ "generate.js"
148
+ ],
149
+ "aliasPermutations": [
150
+ "force:project:create",
151
+ "project:force:create",
152
+ "project:create:force",
153
+ "force:create:project",
154
+ "create:force:project",
155
+ "create:project:force"
156
+ ],
157
+ "permutations": [
158
+ "project:generate",
159
+ "generate:project"
160
+ ]
161
+ },
162
+ "static-resource:generate": {
146
163
  "aliases": [
147
164
  "force:staticresource:create"
148
165
  ],
166
+ "args": {},
167
+ "deprecateAliases": true,
168
+ "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.",
149
169
  "examples": [
150
170
  "Generate the metadata file for a static resource called MyResource in the current directory:\n<%= config.bin %> <%= command.id %> --name MyResource",
151
171
  "Similar to previous example, but specifies a MIME type of application/json:\n<%= config.bin %> <%= command.id %> --name MyResource --type application/json",
152
172
  "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"
153
173
  ],
154
- "deprecateAliases": true,
155
174
  "flags": {
156
175
  "json": {
157
- "name": "json",
158
- "type": "boolean",
159
176
  "description": "Format output as json.",
160
177
  "helpGroup": "GLOBAL",
178
+ "name": "json",
161
179
  "allowNo": false,
162
- "deprecateAliases": true
180
+ "type": "boolean"
163
181
  },
164
182
  "name": {
165
- "name": "name",
166
- "type": "option",
183
+ "aliases": [
184
+ "resourcename"
185
+ ],
167
186
  "char": "n",
168
- "summary": "Name of the generated static resource.",
187
+ "deprecateAliases": true,
169
188
  "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.",
189
+ "name": "name",
170
190
  "required": true,
191
+ "summary": "Name of the generated static resource.",
192
+ "hasDynamicHelp": false,
171
193
  "multiple": false,
172
- "deprecateAliases": true,
173
- "aliases": [
174
- "resourcename"
175
- ]
194
+ "type": "option"
176
195
  },
177
196
  "type": {
197
+ "aliases": [
198
+ "contenttype"
199
+ ],
200
+ "deprecateAliases": true,
201
+ "description": "Must be a valid MIME type such as application/json, application/javascript, application/zip, text/plain, text/css, etc.",
178
202
  "name": "type",
179
- "type": "option",
180
203
  "summary": "Content type (mime type) of the generated static resource.",
181
- "description": "Must be a valid MIME type such as application/json, application/javascript, application/zip, text/plain, text/css, etc.",
182
- "multiple": false,
183
204
  "default": "application/zip",
184
- "deprecateAliases": true,
185
- "aliases": [
186
- "contenttype"
187
- ]
205
+ "hasDynamicHelp": false,
206
+ "multiple": false,
207
+ "type": "option"
188
208
  },
189
209
  "output-dir": {
190
- "name": "output-dir",
191
- "type": "option",
210
+ "aliases": [
211
+ "outputdir"
212
+ ],
192
213
  "char": "d",
193
- "summary": "Directory for saving the created files.",
214
+ "deprecateAliases": true,
194
215
  "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
195
- "multiple": false,
216
+ "name": "output-dir",
217
+ "summary": "Directory for saving the created files.",
196
218
  "default": ".",
197
- "deprecateAliases": true,
198
- "aliases": [
199
- "outputdir"
200
- ]
219
+ "hasDynamicHelp": false,
220
+ "multiple": false,
221
+ "type": "option"
201
222
  },
202
223
  "api-version": {
203
- "name": "api-version",
204
- "type": "option",
205
- "description": "Override the api version used for api requests made by this command",
206
- "multiple": false,
207
- "deprecateAliases": true,
208
224
  "aliases": [
209
225
  "apiversion"
210
- ]
226
+ ],
227
+ "deprecateAliases": true,
228
+ "description": "Override the api version used for api requests made by this command",
229
+ "name": "api-version",
230
+ "hasDynamicHelp": false,
231
+ "multiple": false,
232
+ "type": "option"
211
233
  },
212
234
  "loglevel": {
213
- "name": "loglevel",
214
- "type": "option",
215
- "hidden": true,
216
- "multiple": false,
217
235
  "deprecated": {
218
236
  "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."
219
237
  },
220
- "deprecateAliases": true
238
+ "hidden": true,
239
+ "name": "loglevel",
240
+ "hasDynamicHelp": false,
241
+ "multiple": false,
242
+ "type": "option"
221
243
  }
222
244
  },
223
- "args": {}
224
- },
225
- "analytics:generate:template": {
226
- "id": "analytics:generate:template",
227
- "summary": "Generate a simple Analytics template.",
228
- "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.",
229
- "strict": true,
230
- "pluginName": "@salesforce/plugin-templates",
245
+ "hasDynamicHelp": false,
246
+ "hiddenAliases": [],
247
+ "id": "static-resource:generate",
231
248
  "pluginAlias": "@salesforce/plugin-templates",
249
+ "pluginName": "@salesforce/plugin-templates",
232
250
  "pluginType": "core",
251
+ "strict": true,
252
+ "summary": "Generate a static resource.",
253
+ "enableJsonFlag": true,
254
+ "SF_ENV": "SF_ENV",
255
+ "isESM": true,
256
+ "relativePath": [
257
+ "lib",
258
+ "commands",
259
+ "static-resource",
260
+ "generate.js"
261
+ ],
262
+ "aliasPermutations": [
263
+ "force:staticresource:create",
264
+ "staticresource:force:create",
265
+ "staticresource:create:force",
266
+ "force:create:staticresource",
267
+ "create:force:staticresource",
268
+ "create:staticresource:force"
269
+ ],
270
+ "permutations": [
271
+ "static-resource:generate",
272
+ "generate:static-resource"
273
+ ]
274
+ },
275
+ "analytics:generate:template": {
233
276
  "aliases": [
234
277
  "force:analytics:template:create"
235
278
  ],
279
+ "args": {},
280
+ "deprecateAliases": true,
281
+ "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.",
236
282
  "examples": [
237
283
  "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"
238
284
  ],
239
- "deprecateAliases": true,
240
285
  "flags": {
241
286
  "json": {
242
- "name": "json",
243
- "type": "boolean",
244
287
  "description": "Format output as json.",
245
288
  "helpGroup": "GLOBAL",
289
+ "name": "json",
246
290
  "allowNo": false,
247
- "deprecateAliases": true
291
+ "type": "boolean"
248
292
  },
249
293
  "output-dir": {
250
- "name": "output-dir",
251
- "type": "option",
294
+ "aliases": [
295
+ "outputdir"
296
+ ],
252
297
  "char": "d",
253
- "summary": "Directory for saving the created files.",
298
+ "deprecateAliases": true,
254
299
  "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
255
- "multiple": false,
300
+ "name": "output-dir",
301
+ "summary": "Directory for saving the created files.",
256
302
  "default": ".",
257
- "deprecateAliases": true,
258
- "aliases": [
259
- "outputdir"
260
- ]
303
+ "hasDynamicHelp": false,
304
+ "multiple": false,
305
+ "type": "option"
261
306
  },
262
307
  "api-version": {
263
- "name": "api-version",
264
- "type": "option",
265
- "description": "Override the api version used for api requests made by this command",
266
- "multiple": false,
267
- "deprecateAliases": true,
268
308
  "aliases": [
269
309
  "apiversion"
270
- ]
310
+ ],
311
+ "deprecateAliases": true,
312
+ "description": "Override the api version used for api requests made by this command",
313
+ "name": "api-version",
314
+ "hasDynamicHelp": false,
315
+ "multiple": false,
316
+ "type": "option"
271
317
  },
272
318
  "name": {
273
- "name": "name",
274
- "type": "option",
319
+ "aliases": [
320
+ "templatename"
321
+ ],
275
322
  "char": "n",
276
- "summary": "Name of the Analytics template.",
323
+ "deprecateAliases": true,
324
+ "name": "name",
277
325
  "required": true,
326
+ "summary": "Name of the Analytics template.",
327
+ "hasDynamicHelp": false,
278
328
  "multiple": false,
279
- "deprecateAliases": true,
280
- "aliases": [
281
- "templatename"
282
- ]
329
+ "type": "option"
283
330
  },
284
331
  "loglevel": {
285
- "name": "loglevel",
286
- "type": "option",
287
- "hidden": true,
288
- "multiple": false,
289
332
  "deprecated": {
290
333
  "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."
291
334
  },
292
- "deprecateAliases": true
335
+ "hidden": true,
336
+ "name": "loglevel",
337
+ "hasDynamicHelp": false,
338
+ "multiple": false,
339
+ "type": "option"
293
340
  }
294
341
  },
295
- "args": {}
296
- },
297
- "apex:generate:class": {
298
- "id": "apex:generate:class",
299
- "summary": "Generate an Apex class.",
300
- "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.",
301
- "strict": true,
302
- "pluginName": "@salesforce/plugin-templates",
342
+ "hasDynamicHelp": false,
343
+ "hiddenAliases": [],
344
+ "id": "analytics:generate:template",
303
345
  "pluginAlias": "@salesforce/plugin-templates",
346
+ "pluginName": "@salesforce/plugin-templates",
304
347
  "pluginType": "core",
348
+ "strict": true,
349
+ "summary": "Generate a simple Analytics template.",
350
+ "enableJsonFlag": true,
351
+ "SF_ENV": "SF_ENV",
352
+ "isESM": true,
353
+ "relativePath": [
354
+ "lib",
355
+ "commands",
356
+ "analytics",
357
+ "generate",
358
+ "template.js"
359
+ ],
360
+ "aliasPermutations": [
361
+ "force:analytics:template:create",
362
+ "analytics:force:template:create",
363
+ "analytics:template:force:create",
364
+ "analytics:template:create:force",
365
+ "force:template:analytics:create",
366
+ "template:force:analytics:create",
367
+ "template:analytics:force:create",
368
+ "template:analytics:create:force",
369
+ "force:template:create:analytics",
370
+ "template:force:create:analytics",
371
+ "template:create:force:analytics",
372
+ "template:create:analytics:force",
373
+ "force:analytics:create:template",
374
+ "analytics:force:create:template",
375
+ "analytics:create:force:template",
376
+ "analytics:create:template:force",
377
+ "force:create:analytics:template",
378
+ "create:force:analytics:template",
379
+ "create:analytics:force:template",
380
+ "create:analytics:template:force",
381
+ "force:create:template:analytics",
382
+ "create:force:template:analytics",
383
+ "create:template:force:analytics",
384
+ "create:template:analytics:force"
385
+ ],
386
+ "permutations": [
387
+ "analytics:generate:template",
388
+ "generate:analytics:template",
389
+ "generate:template:analytics",
390
+ "analytics:template:generate",
391
+ "template:analytics:generate",
392
+ "template:generate:analytics"
393
+ ]
394
+ },
395
+ "apex:generate:class": {
305
396
  "aliases": [
306
397
  "force:apex:class:create"
307
398
  ],
399
+ "args": {},
400
+ "deprecateAliases": true,
401
+ "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.",
308
402
  "examples": [
309
403
  "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",
310
404
  "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"
311
405
  ],
312
- "deprecateAliases": true,
313
406
  "flags": {
314
407
  "json": {
315
- "name": "json",
316
- "type": "boolean",
317
408
  "description": "Format output as json.",
318
409
  "helpGroup": "GLOBAL",
410
+ "name": "json",
319
411
  "allowNo": false,
320
- "deprecateAliases": true
412
+ "type": "boolean"
321
413
  },
322
414
  "name": {
323
- "name": "name",
324
- "type": "option",
415
+ "aliases": [
416
+ "classname"
417
+ ],
325
418
  "char": "n",
326
- "summary": "Name of the generated Apex class.",
419
+ "deprecateAliases": true,
327
420
  "description": "The name can be up to 40 characters and must start with a letter.",
421
+ "name": "name",
328
422
  "required": true,
423
+ "summary": "Name of the generated Apex class.",
424
+ "hasDynamicHelp": false,
329
425
  "multiple": false,
330
- "deprecateAliases": true,
331
- "aliases": [
332
- "classname"
333
- ]
426
+ "type": "option"
334
427
  },
335
428
  "template": {
336
- "name": "template",
337
- "type": "option",
338
429
  "char": "t",
339
- "summary": "Template to use for file creation.",
340
430
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
431
+ "name": "template",
432
+ "summary": "Template to use for file creation.",
433
+ "default": "DefaultApexClass",
434
+ "hasDynamicHelp": false,
341
435
  "multiple": false,
342
436
  "options": [
343
437
  "ApexException",
@@ -345,134 +439,191 @@
345
439
  "DefaultApexClass",
346
440
  "InboundEmailService"
347
441
  ],
348
- "default": "DefaultApexClass",
349
- "deprecateAliases": true
442
+ "type": "option"
350
443
  },
351
444
  "output-dir": {
352
- "name": "output-dir",
353
- "type": "option",
445
+ "aliases": [
446
+ "outputdir"
447
+ ],
354
448
  "char": "d",
355
- "summary": "Directory for saving the created files.",
449
+ "deprecateAliases": true,
356
450
  "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
357
- "multiple": false,
451
+ "name": "output-dir",
452
+ "summary": "Directory for saving the created files.",
358
453
  "default": ".",
359
- "deprecateAliases": true,
360
- "aliases": [
361
- "outputdir"
362
- ]
454
+ "hasDynamicHelp": false,
455
+ "multiple": false,
456
+ "type": "option"
363
457
  },
364
458
  "api-version": {
365
- "name": "api-version",
366
- "type": "option",
367
- "description": "Override the api version used for api requests made by this command",
368
- "multiple": false,
369
- "deprecateAliases": true,
370
459
  "aliases": [
371
460
  "apiversion"
372
- ]
461
+ ],
462
+ "deprecateAliases": true,
463
+ "description": "Override the api version used for api requests made by this command",
464
+ "name": "api-version",
465
+ "hasDynamicHelp": false,
466
+ "multiple": false,
467
+ "type": "option"
373
468
  },
374
469
  "loglevel": {
375
- "name": "loglevel",
376
- "type": "option",
377
- "hidden": true,
378
- "multiple": false,
379
470
  "deprecated": {
380
471
  "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."
381
472
  },
382
- "deprecateAliases": true
473
+ "hidden": true,
474
+ "name": "loglevel",
475
+ "hasDynamicHelp": false,
476
+ "multiple": false,
477
+ "type": "option"
383
478
  }
384
479
  },
385
- "args": {}
386
- },
387
- "apex:generate:trigger": {
388
- "id": "apex:generate:trigger",
389
- "summary": "Generate an Apex trigger.",
390
- "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.",
391
- "strict": true,
392
- "pluginName": "@salesforce/plugin-templates",
480
+ "hasDynamicHelp": false,
481
+ "hiddenAliases": [],
482
+ "id": "apex:generate:class",
393
483
  "pluginAlias": "@salesforce/plugin-templates",
484
+ "pluginName": "@salesforce/plugin-templates",
394
485
  "pluginType": "core",
486
+ "strict": true,
487
+ "summary": "Generate an Apex class.",
488
+ "enableJsonFlag": true,
489
+ "SF_ENV": "SF_ENV",
490
+ "isESM": true,
491
+ "relativePath": [
492
+ "lib",
493
+ "commands",
494
+ "apex",
495
+ "generate",
496
+ "class.js"
497
+ ],
498
+ "aliasPermutations": [
499
+ "force:apex:class:create",
500
+ "apex:force:class:create",
501
+ "apex:class:force:create",
502
+ "apex:class:create:force",
503
+ "force:class:apex:create",
504
+ "class:force:apex:create",
505
+ "class:apex:force:create",
506
+ "class:apex:create:force",
507
+ "force:class:create:apex",
508
+ "class:force:create:apex",
509
+ "class:create:force:apex",
510
+ "class:create:apex:force",
511
+ "force:apex:create:class",
512
+ "apex:force:create:class",
513
+ "apex:create:force:class",
514
+ "apex:create:class:force",
515
+ "force:create:apex:class",
516
+ "create:force:apex:class",
517
+ "create:apex:force:class",
518
+ "create:apex:class:force",
519
+ "force:create:class:apex",
520
+ "create:force:class:apex",
521
+ "create:class:force:apex",
522
+ "create:class:apex:force"
523
+ ],
524
+ "permutations": [
525
+ "apex:generate:class",
526
+ "generate:apex:class",
527
+ "generate:class:apex",
528
+ "apex:class:generate",
529
+ "class:apex:generate",
530
+ "class:generate:apex"
531
+ ]
532
+ },
533
+ "apex:generate:trigger": {
395
534
  "aliases": [
396
535
  "force:apex:trigger:create"
397
536
  ],
537
+ "args": {},
538
+ "deprecateAliases": true,
539
+ "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.",
398
540
  "examples": [
399
541
  "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",
400
542
  "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",
401
543
  "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\""
402
544
  ],
403
- "deprecateAliases": true,
404
545
  "flags": {
405
546
  "json": {
406
- "name": "json",
407
- "type": "boolean",
408
547
  "description": "Format output as json.",
409
548
  "helpGroup": "GLOBAL",
549
+ "name": "json",
410
550
  "allowNo": false,
411
- "deprecateAliases": true
551
+ "type": "boolean"
412
552
  },
413
553
  "name": {
414
- "name": "name",
415
- "type": "option",
554
+ "aliases": [
555
+ "triggername"
556
+ ],
416
557
  "char": "n",
417
- "summary": "Name of the generated Apex trigger",
558
+ "deprecateAliases": true,
418
559
  "description": "The name can be up to 40 characters and must start with a letter.",
560
+ "name": "name",
419
561
  "required": true,
562
+ "summary": "Name of the generated Apex trigger",
563
+ "hasDynamicHelp": false,
420
564
  "multiple": false,
421
- "deprecateAliases": true,
422
- "aliases": [
423
- "triggername"
424
- ]
565
+ "type": "option"
425
566
  },
426
567
  "template": {
427
- "name": "template",
428
- "type": "option",
429
568
  "char": "t",
430
- "summary": "Template to use for file creation.",
431
569
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
570
+ "name": "template",
571
+ "summary": "Template to use for file creation.",
572
+ "default": "ApexTrigger",
573
+ "hasDynamicHelp": false,
432
574
  "multiple": false,
433
575
  "options": [
434
576
  "ApexTrigger"
435
577
  ],
436
- "default": "ApexTrigger",
437
- "deprecateAliases": true
578
+ "type": "option"
438
579
  },
439
580
  "output-dir": {
440
- "name": "output-dir",
441
- "type": "option",
581
+ "aliases": [
582
+ "outputdir"
583
+ ],
442
584
  "char": "d",
443
- "summary": "Directory for saving the created files.",
585
+ "deprecateAliases": true,
444
586
  "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
445
- "multiple": false,
587
+ "name": "output-dir",
588
+ "summary": "Directory for saving the created files.",
446
589
  "default": ".",
447
- "deprecateAliases": true,
448
- "aliases": [
449
- "outputdir"
450
- ]
590
+ "hasDynamicHelp": false,
591
+ "multiple": false,
592
+ "type": "option"
451
593
  },
452
594
  "api-version": {
453
- "name": "api-version",
454
- "type": "option",
455
- "description": "Override the api version used for api requests made by this command",
456
- "multiple": false,
457
- "deprecateAliases": true,
458
595
  "aliases": [
459
596
  "apiversion"
460
- ]
597
+ ],
598
+ "deprecateAliases": true,
599
+ "description": "Override the api version used for api requests made by this command",
600
+ "name": "api-version",
601
+ "hasDynamicHelp": false,
602
+ "multiple": false,
603
+ "type": "option"
461
604
  },
462
605
  "sobject": {
463
- "name": "sobject",
464
- "type": "option",
465
606
  "char": "s",
607
+ "name": "sobject",
466
608
  "summary": "Salesforce object to generate a trigger on.",
467
- "multiple": false,
468
609
  "default": "SOBJECT",
469
- "deprecateAliases": true
610
+ "hasDynamicHelp": false,
611
+ "multiple": false,
612
+ "type": "option"
470
613
  },
471
614
  "event": {
472
- "name": "event",
473
- "type": "option",
615
+ "aliases": [
616
+ "triggerevents"
617
+ ],
474
618
  "char": "e",
619
+ "deprecateAliases": true,
620
+ "name": "event",
475
621
  "summary": "Events that fire the trigger.",
622
+ "default": [
623
+ "before insert"
624
+ ],
625
+ "delimiter": ",",
626
+ "hasDynamicHelp": false,
476
627
  "multiple": true,
477
628
  "options": [
478
629
  "before insert",
@@ -483,716 +634,1092 @@
483
634
  "after delete",
484
635
  "after undelete"
485
636
  ],
486
- "default": [
487
- "before insert"
488
- ],
489
- "deprecateAliases": true,
490
- "aliases": [
491
- "triggerevents"
492
- ],
493
- "delimiter": ","
637
+ "type": "option"
494
638
  },
495
639
  "loglevel": {
496
- "name": "loglevel",
497
- "type": "option",
498
- "hidden": true,
499
- "multiple": false,
500
640
  "deprecated": {
501
641
  "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."
502
642
  },
503
- "deprecateAliases": true
643
+ "hidden": true,
644
+ "name": "loglevel",
645
+ "hasDynamicHelp": false,
646
+ "multiple": false,
647
+ "type": "option"
504
648
  }
505
649
  },
506
- "args": {}
507
- },
508
- "lightning:generate:app": {
509
- "id": "lightning:generate:app",
510
- "summary": "Generate a Lightning App.",
511
- "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.",
512
- "strict": true,
513
- "pluginName": "@salesforce/plugin-templates",
650
+ "hasDynamicHelp": false,
651
+ "hiddenAliases": [],
652
+ "id": "apex:generate:trigger",
514
653
  "pluginAlias": "@salesforce/plugin-templates",
654
+ "pluginName": "@salesforce/plugin-templates",
515
655
  "pluginType": "core",
656
+ "strict": true,
657
+ "summary": "Generate an Apex trigger.",
658
+ "enableJsonFlag": true,
659
+ "SF_ENV": "SF_ENV",
660
+ "isESM": true,
661
+ "relativePath": [
662
+ "lib",
663
+ "commands",
664
+ "apex",
665
+ "generate",
666
+ "trigger.js"
667
+ ],
668
+ "aliasPermutations": [
669
+ "force:apex:trigger:create",
670
+ "apex:force:trigger:create",
671
+ "apex:trigger:force:create",
672
+ "apex:trigger:create:force",
673
+ "force:trigger:apex:create",
674
+ "trigger:force:apex:create",
675
+ "trigger:apex:force:create",
676
+ "trigger:apex:create:force",
677
+ "force:trigger:create:apex",
678
+ "trigger:force:create:apex",
679
+ "trigger:create:force:apex",
680
+ "trigger:create:apex:force",
681
+ "force:apex:create:trigger",
682
+ "apex:force:create:trigger",
683
+ "apex:create:force:trigger",
684
+ "apex:create:trigger:force",
685
+ "force:create:apex:trigger",
686
+ "create:force:apex:trigger",
687
+ "create:apex:force:trigger",
688
+ "create:apex:trigger:force",
689
+ "force:create:trigger:apex",
690
+ "create:force:trigger:apex",
691
+ "create:trigger:force:apex",
692
+ "create:trigger:apex:force"
693
+ ],
694
+ "permutations": [
695
+ "apex:generate:trigger",
696
+ "generate:apex:trigger",
697
+ "generate:trigger:apex",
698
+ "apex:trigger:generate",
699
+ "trigger:apex:generate",
700
+ "trigger:generate:apex"
701
+ ]
702
+ },
703
+ "lightning:generate:app": {
516
704
  "aliases": [
517
705
  "force:lightning:app:create"
518
706
  ],
707
+ "args": {},
708
+ "deprecateAliases": true,
709
+ "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.",
519
710
  "examples": [
520
711
  "Generate the metadata files for a Lightning app bundle called \"myapp\" in the current directory:\n<%= config.bin %> <%= command.id %> --name myapp",
521
712
  "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"
522
713
  ],
523
- "deprecateAliases": true,
524
714
  "flags": {
525
715
  "json": {
526
- "name": "json",
527
- "type": "boolean",
528
716
  "description": "Format output as json.",
529
717
  "helpGroup": "GLOBAL",
718
+ "name": "json",
530
719
  "allowNo": false,
531
- "deprecateAliases": true
720
+ "type": "boolean"
532
721
  },
533
722
  "name": {
534
- "name": "name",
535
- "type": "option",
723
+ "aliases": [
724
+ "appname"
725
+ ],
536
726
  "char": "n",
537
- "summary": "Name of the generated Lightning App.",
727
+ "deprecateAliases": true,
538
728
  "description": "The name can be up to 40 characters and must start with a letter.",
729
+ "name": "name",
539
730
  "required": true,
731
+ "summary": "Name of the generated Lightning App.",
732
+ "hasDynamicHelp": false,
540
733
  "multiple": false,
541
- "deprecateAliases": true,
542
- "aliases": [
543
- "appname"
544
- ]
734
+ "type": "option"
545
735
  },
546
736
  "template": {
547
- "name": "template",
548
- "type": "option",
549
737
  "char": "t",
550
- "summary": "Template to use for file creation.",
551
738
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
739
+ "name": "template",
740
+ "summary": "Template to use for file creation.",
741
+ "default": "DefaultLightningApp",
742
+ "hasDynamicHelp": false,
552
743
  "multiple": false,
553
744
  "options": [
554
745
  "DefaultLightningApp"
555
746
  ],
556
- "default": "DefaultLightningApp",
557
- "deprecateAliases": true
747
+ "type": "option"
558
748
  },
559
749
  "output-dir": {
560
- "name": "output-dir",
561
- "type": "option",
750
+ "aliases": [
751
+ "outputdir"
752
+ ],
562
753
  "char": "d",
563
- "summary": "Directory for saving the created files.",
754
+ "deprecateAliases": true,
564
755
  "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
565
- "multiple": false,
756
+ "name": "output-dir",
757
+ "summary": "Directory for saving the created files.",
566
758
  "default": ".",
567
- "deprecateAliases": true,
568
- "aliases": [
569
- "outputdir"
570
- ]
759
+ "hasDynamicHelp": false,
760
+ "multiple": false,
761
+ "type": "option"
571
762
  },
572
763
  "api-version": {
573
- "name": "api-version",
574
- "type": "option",
575
- "description": "Override the api version used for api requests made by this command",
576
- "multiple": false,
577
- "deprecateAliases": true,
578
764
  "aliases": [
579
765
  "apiversion"
580
- ]
766
+ ],
767
+ "deprecateAliases": true,
768
+ "description": "Override the api version used for api requests made by this command",
769
+ "name": "api-version",
770
+ "hasDynamicHelp": false,
771
+ "multiple": false,
772
+ "type": "option"
581
773
  },
582
774
  "internal": {
583
- "name": "internal",
584
- "type": "boolean",
585
775
  "char": "i",
586
- "summary": "Generate lightning bundles without creating a -meta.xml file.",
587
776
  "hidden": true,
777
+ "name": "internal",
778
+ "summary": "Generate lightning bundles without creating a -meta.xml file.",
588
779
  "allowNo": false,
589
- "deprecateAliases": true
780
+ "type": "boolean"
590
781
  },
591
782
  "loglevel": {
592
- "name": "loglevel",
593
- "type": "option",
594
- "hidden": true,
595
- "multiple": false,
596
783
  "deprecated": {
597
784
  "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."
598
785
  },
599
- "deprecateAliases": true
786
+ "hidden": true,
787
+ "name": "loglevel",
788
+ "hasDynamicHelp": false,
789
+ "multiple": false,
790
+ "type": "option"
600
791
  }
601
792
  },
602
- "args": {}
603
- },
604
- "lightning:generate:component": {
605
- "id": "lightning:generate:component",
606
- "summary": "Generate a bundle for an Aura component or a Lightning web component.",
607
- "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.",
608
- "strict": true,
609
- "pluginName": "@salesforce/plugin-templates",
793
+ "hasDynamicHelp": false,
794
+ "hiddenAliases": [],
795
+ "id": "lightning:generate:app",
610
796
  "pluginAlias": "@salesforce/plugin-templates",
797
+ "pluginName": "@salesforce/plugin-templates",
611
798
  "pluginType": "core",
799
+ "strict": true,
800
+ "summary": "Generate a Lightning App.",
801
+ "enableJsonFlag": true,
802
+ "SF_ENV": "SF_ENV",
803
+ "isESM": true,
804
+ "relativePath": [
805
+ "lib",
806
+ "commands",
807
+ "lightning",
808
+ "generate",
809
+ "app.js"
810
+ ],
811
+ "aliasPermutations": [
812
+ "force:lightning:app:create",
813
+ "lightning:force:app:create",
814
+ "lightning:app:force:create",
815
+ "lightning:app:create:force",
816
+ "force:app:lightning:create",
817
+ "app:force:lightning:create",
818
+ "app:lightning:force:create",
819
+ "app:lightning:create:force",
820
+ "force:app:create:lightning",
821
+ "app:force:create:lightning",
822
+ "app:create:force:lightning",
823
+ "app:create:lightning:force",
824
+ "force:lightning:create:app",
825
+ "lightning:force:create:app",
826
+ "lightning:create:force:app",
827
+ "lightning:create:app:force",
828
+ "force:create:lightning:app",
829
+ "create:force:lightning:app",
830
+ "create:lightning:force:app",
831
+ "create:lightning:app:force",
832
+ "force:create:app:lightning",
833
+ "create:force:app:lightning",
834
+ "create:app:force:lightning",
835
+ "create:app:lightning:force"
836
+ ],
837
+ "permutations": [
838
+ "lightning:generate:app",
839
+ "generate:lightning:app",
840
+ "generate:app:lightning",
841
+ "lightning:app:generate",
842
+ "app:lightning:generate",
843
+ "app:generate:lightning"
844
+ ]
845
+ },
846
+ "lightning:generate:component": {
612
847
  "aliases": [
613
848
  "force:lightning:component:create"
614
849
  ],
850
+ "args": {},
851
+ "deprecateAliases": true,
852
+ "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.",
615
853
  "examples": [
616
854
  "Generate the metadata files for an Aura component bundle in the current directory:\n<%= config.bin %> <%= command.id %> --name mycomponent",
617
855
  "Generate a Lightning web component bundle in the current directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --type lwc",
618
856
  "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",
619
857
  "Generate a Lightning web component bundle in the \"force-app/main/default/lwc\" directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --type lwc --output-dir force-app/main/default/lwc"
620
858
  ],
621
- "deprecateAliases": true,
622
859
  "flags": {
623
860
  "json": {
624
- "name": "json",
625
- "type": "boolean",
626
861
  "description": "Format output as json.",
627
862
  "helpGroup": "GLOBAL",
863
+ "name": "json",
628
864
  "allowNo": false,
629
- "deprecateAliases": true
865
+ "type": "boolean"
630
866
  },
631
867
  "name": {
632
- "name": "name",
633
- "type": "option",
868
+ "aliases": [
869
+ "componentname"
870
+ ],
634
871
  "char": "n",
635
- "summary": "Name of the generated Lightning Component.",
872
+ "deprecateAliases": true,
636
873
  "description": "The name can be up to 40 characters and must start with a letter.",
874
+ "name": "name",
637
875
  "required": true,
876
+ "summary": "Name of the generated Lightning Component.",
877
+ "hasDynamicHelp": false,
638
878
  "multiple": false,
639
- "deprecateAliases": true,
640
- "aliases": [
641
- "componentname"
642
- ]
879
+ "type": "option"
643
880
  },
644
881
  "template": {
645
- "name": "template",
646
- "type": "option",
647
882
  "char": "t",
648
- "summary": "Template to use for file creation.",
649
883
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
884
+ "name": "template",
885
+ "summary": "Template to use for file creation.",
886
+ "default": "default",
887
+ "hasDynamicHelp": false,
650
888
  "multiple": false,
651
889
  "options": [
652
890
  "default",
653
891
  "analyticsDashboard",
654
892
  "analyticsDashboardWithStep"
655
893
  ],
656
- "default": "default",
657
- "deprecateAliases": true
894
+ "type": "option"
658
895
  },
659
896
  "output-dir": {
660
- "name": "output-dir",
661
- "type": "option",
897
+ "aliases": [
898
+ "outputdir"
899
+ ],
662
900
  "char": "d",
663
- "summary": "Directory for saving the created files.",
901
+ "deprecateAliases": true,
664
902
  "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
665
- "multiple": false,
903
+ "name": "output-dir",
904
+ "summary": "Directory for saving the created files.",
666
905
  "default": ".",
667
- "deprecateAliases": true,
668
- "aliases": [
669
- "outputdir"
670
- ]
906
+ "hasDynamicHelp": false,
907
+ "multiple": false,
908
+ "type": "option"
671
909
  },
672
910
  "api-version": {
673
- "name": "api-version",
674
- "type": "option",
675
- "description": "Override the api version used for api requests made by this command",
676
- "multiple": false,
677
- "deprecateAliases": true,
678
911
  "aliases": [
679
912
  "apiversion"
680
- ]
913
+ ],
914
+ "deprecateAliases": true,
915
+ "description": "Override the api version used for api requests made by this command",
916
+ "name": "api-version",
917
+ "hasDynamicHelp": false,
918
+ "multiple": false,
919
+ "type": "option"
681
920
  },
682
921
  "type": {
683
922
  "name": "type",
684
- "type": "option",
685
923
  "summary": "Type of the component bundle.",
924
+ "default": "aura",
925
+ "hasDynamicHelp": false,
686
926
  "multiple": false,
687
927
  "options": [
688
928
  "aura",
689
929
  "lwc"
690
930
  ],
691
- "default": "aura",
692
- "deprecateAliases": true
931
+ "type": "option"
693
932
  },
694
933
  "internal": {
695
- "name": "internal",
696
- "type": "boolean",
697
934
  "char": "i",
698
- "summary": "Generate lightning bundles without creating a -meta.xml file.",
699
935
  "hidden": true,
936
+ "name": "internal",
937
+ "summary": "Generate lightning bundles without creating a -meta.xml file.",
700
938
  "allowNo": false,
701
- "deprecateAliases": true
939
+ "type": "boolean"
702
940
  },
703
941
  "loglevel": {
704
- "name": "loglevel",
705
- "type": "option",
706
- "hidden": true,
707
- "multiple": false,
708
942
  "deprecated": {
709
943
  "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."
710
944
  },
711
- "deprecateAliases": true
945
+ "hidden": true,
946
+ "name": "loglevel",
947
+ "hasDynamicHelp": false,
948
+ "multiple": false,
949
+ "type": "option"
712
950
  }
713
951
  },
714
- "args": {}
715
- },
716
- "lightning:generate:event": {
717
- "id": "lightning:generate:event",
718
- "summary": "Generate a Lightning Event.",
719
- "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.",
720
- "strict": true,
721
- "pluginName": "@salesforce/plugin-templates",
952
+ "hasDynamicHelp": false,
953
+ "hiddenAliases": [],
954
+ "id": "lightning:generate:component",
722
955
  "pluginAlias": "@salesforce/plugin-templates",
956
+ "pluginName": "@salesforce/plugin-templates",
723
957
  "pluginType": "core",
958
+ "strict": true,
959
+ "summary": "Generate a bundle for an Aura component or a Lightning web component.",
960
+ "enableJsonFlag": true,
961
+ "SF_ENV": "SF_ENV",
962
+ "isESM": true,
963
+ "relativePath": [
964
+ "lib",
965
+ "commands",
966
+ "lightning",
967
+ "generate",
968
+ "component.js"
969
+ ],
970
+ "aliasPermutations": [
971
+ "force:lightning:component:create",
972
+ "lightning:force:component:create",
973
+ "lightning:component:force:create",
974
+ "lightning:component:create:force",
975
+ "force:component:lightning:create",
976
+ "component:force:lightning:create",
977
+ "component:lightning:force:create",
978
+ "component:lightning:create:force",
979
+ "force:component:create:lightning",
980
+ "component:force:create:lightning",
981
+ "component:create:force:lightning",
982
+ "component:create:lightning:force",
983
+ "force:lightning:create:component",
984
+ "lightning:force:create:component",
985
+ "lightning:create:force:component",
986
+ "lightning:create:component:force",
987
+ "force:create:lightning:component",
988
+ "create:force:lightning:component",
989
+ "create:lightning:force:component",
990
+ "create:lightning:component:force",
991
+ "force:create:component:lightning",
992
+ "create:force:component:lightning",
993
+ "create:component:force:lightning",
994
+ "create:component:lightning:force"
995
+ ],
996
+ "permutations": [
997
+ "lightning:generate:component",
998
+ "generate:lightning:component",
999
+ "generate:component:lightning",
1000
+ "lightning:component:generate",
1001
+ "component:lightning:generate",
1002
+ "component:generate:lightning"
1003
+ ]
1004
+ },
1005
+ "lightning:generate:event": {
724
1006
  "aliases": [
725
1007
  "force:lightning:event:create"
726
1008
  ],
1009
+ "args": {},
1010
+ "deprecateAliases": true,
1011
+ "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.",
727
1012
  "examples": [
728
1013
  "Generate the metadata files for a Lightning event bundle called \"myevent\" in the current directory:\n<%= config.bin %> <%= command.id %> --name myevent",
729
1014
  "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"
730
1015
  ],
731
- "deprecateAliases": true,
732
1016
  "flags": {
733
1017
  "json": {
734
- "name": "json",
735
- "type": "boolean",
736
1018
  "description": "Format output as json.",
737
1019
  "helpGroup": "GLOBAL",
1020
+ "name": "json",
738
1021
  "allowNo": false,
739
- "deprecateAliases": true
1022
+ "type": "boolean"
740
1023
  },
741
1024
  "name": {
742
- "name": "name",
743
- "type": "option",
1025
+ "aliases": [
1026
+ "eventname"
1027
+ ],
744
1028
  "char": "n",
745
- "summary": "Name of the generated Lightning Event.",
1029
+ "deprecateAliases": true,
746
1030
  "description": "The name can be up to 40 characters and must start with a letter.",
1031
+ "name": "name",
747
1032
  "required": true,
1033
+ "summary": "Name of the generated Lightning Event.",
1034
+ "hasDynamicHelp": false,
748
1035
  "multiple": false,
749
- "deprecateAliases": true,
750
- "aliases": [
751
- "eventname"
752
- ]
1036
+ "type": "option"
753
1037
  },
754
1038
  "template": {
755
- "name": "template",
756
- "type": "option",
757
1039
  "char": "t",
758
- "summary": "Template to use for file creation.",
759
1040
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
1041
+ "name": "template",
1042
+ "summary": "Template to use for file creation.",
1043
+ "default": "DefaultLightningEvt",
1044
+ "hasDynamicHelp": false,
760
1045
  "multiple": false,
761
1046
  "options": [
762
1047
  "DefaultLightningEvt"
763
1048
  ],
764
- "default": "DefaultLightningEvt",
765
- "deprecateAliases": true
1049
+ "type": "option"
766
1050
  },
767
1051
  "output-dir": {
768
- "name": "output-dir",
769
- "type": "option",
1052
+ "aliases": [
1053
+ "outputdir"
1054
+ ],
770
1055
  "char": "d",
771
- "summary": "Directory for saving the created files.",
1056
+ "deprecateAliases": true,
772
1057
  "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
773
- "multiple": false,
1058
+ "name": "output-dir",
1059
+ "summary": "Directory for saving the created files.",
774
1060
  "default": ".",
775
- "deprecateAliases": true,
776
- "aliases": [
777
- "outputdir"
778
- ]
1061
+ "hasDynamicHelp": false,
1062
+ "multiple": false,
1063
+ "type": "option"
779
1064
  },
780
1065
  "api-version": {
781
- "name": "api-version",
782
- "type": "option",
783
- "description": "Override the api version used for api requests made by this command",
784
- "multiple": false,
785
- "deprecateAliases": true,
786
1066
  "aliases": [
787
1067
  "apiversion"
788
- ]
1068
+ ],
1069
+ "deprecateAliases": true,
1070
+ "description": "Override the api version used for api requests made by this command",
1071
+ "name": "api-version",
1072
+ "hasDynamicHelp": false,
1073
+ "multiple": false,
1074
+ "type": "option"
789
1075
  },
790
1076
  "internal": {
791
- "name": "internal",
792
- "type": "boolean",
793
1077
  "char": "i",
794
- "summary": "Generate lightning bundles without creating a -meta.xml file.",
795
1078
  "hidden": true,
1079
+ "name": "internal",
1080
+ "summary": "Generate lightning bundles without creating a -meta.xml file.",
796
1081
  "allowNo": false,
797
- "deprecateAliases": true
1082
+ "type": "boolean"
798
1083
  },
799
1084
  "loglevel": {
800
- "name": "loglevel",
801
- "type": "option",
802
- "hidden": true,
803
- "multiple": false,
804
1085
  "deprecated": {
805
1086
  "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."
806
1087
  },
807
- "deprecateAliases": true
1088
+ "hidden": true,
1089
+ "name": "loglevel",
1090
+ "hasDynamicHelp": false,
1091
+ "multiple": false,
1092
+ "type": "option"
808
1093
  }
809
1094
  },
810
- "args": {}
811
- },
812
- "lightning:generate:interface": {
813
- "id": "lightning:generate:interface",
814
- "summary": "Generate a Lightning Interface.",
815
- "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.",
816
- "strict": true,
817
- "pluginName": "@salesforce/plugin-templates",
1095
+ "hasDynamicHelp": false,
1096
+ "hiddenAliases": [],
1097
+ "id": "lightning:generate:event",
818
1098
  "pluginAlias": "@salesforce/plugin-templates",
1099
+ "pluginName": "@salesforce/plugin-templates",
819
1100
  "pluginType": "core",
1101
+ "strict": true,
1102
+ "summary": "Generate a Lightning Event.",
1103
+ "enableJsonFlag": true,
1104
+ "SF_ENV": "SF_ENV",
1105
+ "isESM": true,
1106
+ "relativePath": [
1107
+ "lib",
1108
+ "commands",
1109
+ "lightning",
1110
+ "generate",
1111
+ "event.js"
1112
+ ],
1113
+ "aliasPermutations": [
1114
+ "force:lightning:event:create",
1115
+ "lightning:force:event:create",
1116
+ "lightning:event:force:create",
1117
+ "lightning:event:create:force",
1118
+ "force:event:lightning:create",
1119
+ "event:force:lightning:create",
1120
+ "event:lightning:force:create",
1121
+ "event:lightning:create:force",
1122
+ "force:event:create:lightning",
1123
+ "event:force:create:lightning",
1124
+ "event:create:force:lightning",
1125
+ "event:create:lightning:force",
1126
+ "force:lightning:create:event",
1127
+ "lightning:force:create:event",
1128
+ "lightning:create:force:event",
1129
+ "lightning:create:event:force",
1130
+ "force:create:lightning:event",
1131
+ "create:force:lightning:event",
1132
+ "create:lightning:force:event",
1133
+ "create:lightning:event:force",
1134
+ "force:create:event:lightning",
1135
+ "create:force:event:lightning",
1136
+ "create:event:force:lightning",
1137
+ "create:event:lightning:force"
1138
+ ],
1139
+ "permutations": [
1140
+ "lightning:generate:event",
1141
+ "generate:lightning:event",
1142
+ "generate:event:lightning",
1143
+ "lightning:event:generate",
1144
+ "event:lightning:generate",
1145
+ "event:generate:lightning"
1146
+ ]
1147
+ },
1148
+ "lightning:generate:interface": {
820
1149
  "aliases": [
821
1150
  "force:lightning:interface:create"
822
1151
  ],
1152
+ "args": {},
1153
+ "deprecateAliases": true,
1154
+ "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.",
823
1155
  "examples": [
824
1156
  "Generate the metadata files for a Lightning interface bundle called \"myinterface\" in the current directory:\n<%= config.bin %> <%= command.id %> --name myinterface",
825
1157
  "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"
826
1158
  ],
827
- "deprecateAliases": true,
828
1159
  "flags": {
829
1160
  "json": {
830
- "name": "json",
831
- "type": "boolean",
832
1161
  "description": "Format output as json.",
833
1162
  "helpGroup": "GLOBAL",
1163
+ "name": "json",
834
1164
  "allowNo": false,
835
- "deprecateAliases": true
1165
+ "type": "boolean"
836
1166
  },
837
1167
  "name": {
838
- "name": "name",
839
- "type": "option",
1168
+ "aliases": [
1169
+ "interfacename"
1170
+ ],
840
1171
  "char": "n",
841
- "summary": "Name of the generated Lightning Interface.",
1172
+ "deprecateAliases": true,
842
1173
  "description": "The name can be up to 40 characters and must start with a letter.",
1174
+ "name": "name",
843
1175
  "required": true,
1176
+ "summary": "Name of the generated Lightning Interface.",
1177
+ "hasDynamicHelp": false,
844
1178
  "multiple": false,
845
- "deprecateAliases": true,
846
- "aliases": [
847
- "interfacename"
848
- ]
1179
+ "type": "option"
849
1180
  },
850
1181
  "template": {
851
- "name": "template",
852
- "type": "option",
853
1182
  "char": "t",
854
- "summary": "Template to use for file creation.",
855
1183
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
1184
+ "name": "template",
1185
+ "summary": "Template to use for file creation.",
1186
+ "default": "DefaultLightningIntf",
1187
+ "hasDynamicHelp": false,
856
1188
  "multiple": false,
857
1189
  "options": [
858
1190
  "DefaultLightningIntf"
859
1191
  ],
860
- "default": "DefaultLightningIntf",
861
- "deprecateAliases": true
1192
+ "type": "option"
862
1193
  },
863
1194
  "output-dir": {
864
- "name": "output-dir",
865
- "type": "option",
1195
+ "aliases": [
1196
+ "outputdir"
1197
+ ],
866
1198
  "char": "d",
867
- "summary": "Directory for saving the created files.",
1199
+ "deprecateAliases": true,
868
1200
  "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
869
- "multiple": false,
1201
+ "name": "output-dir",
1202
+ "summary": "Directory for saving the created files.",
870
1203
  "default": ".",
871
- "deprecateAliases": true,
872
- "aliases": [
873
- "outputdir"
874
- ]
1204
+ "hasDynamicHelp": false,
1205
+ "multiple": false,
1206
+ "type": "option"
875
1207
  },
876
1208
  "api-version": {
877
- "name": "api-version",
878
- "type": "option",
879
- "description": "Override the api version used for api requests made by this command",
880
- "multiple": false,
881
- "deprecateAliases": true,
882
1209
  "aliases": [
883
1210
  "apiversion"
884
- ]
1211
+ ],
1212
+ "deprecateAliases": true,
1213
+ "description": "Override the api version used for api requests made by this command",
1214
+ "name": "api-version",
1215
+ "hasDynamicHelp": false,
1216
+ "multiple": false,
1217
+ "type": "option"
885
1218
  },
886
1219
  "internal": {
887
- "name": "internal",
888
- "type": "boolean",
889
1220
  "char": "i",
890
- "summary": "Generate lightning bundles without creating a -meta.xml file.",
891
1221
  "hidden": true,
1222
+ "name": "internal",
1223
+ "summary": "Generate lightning bundles without creating a -meta.xml file.",
892
1224
  "allowNo": false,
893
- "deprecateAliases": true
1225
+ "type": "boolean"
894
1226
  },
895
1227
  "loglevel": {
896
- "name": "loglevel",
897
- "type": "option",
898
- "hidden": true,
899
- "multiple": false,
900
1228
  "deprecated": {
901
1229
  "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."
902
1230
  },
903
- "deprecateAliases": true
1231
+ "hidden": true,
1232
+ "name": "loglevel",
1233
+ "hasDynamicHelp": false,
1234
+ "multiple": false,
1235
+ "type": "option"
904
1236
  }
905
1237
  },
906
- "args": {}
907
- },
908
- "lightning:generate:test": {
909
- "id": "lightning:generate:test",
910
- "summary": "Generate a Lightning test.",
911
- "description": "Generates the test in the specified directory or the current working directory. The .resource file and associated metadata file are generated.",
912
- "strict": true,
913
- "pluginName": "@salesforce/plugin-templates",
1238
+ "hasDynamicHelp": false,
1239
+ "hiddenAliases": [],
1240
+ "id": "lightning:generate:interface",
914
1241
  "pluginAlias": "@salesforce/plugin-templates",
1242
+ "pluginName": "@salesforce/plugin-templates",
915
1243
  "pluginType": "core",
1244
+ "strict": true,
1245
+ "summary": "Generate a Lightning Interface.",
1246
+ "enableJsonFlag": true,
1247
+ "SF_ENV": "SF_ENV",
1248
+ "isESM": true,
1249
+ "relativePath": [
1250
+ "lib",
1251
+ "commands",
1252
+ "lightning",
1253
+ "generate",
1254
+ "interface.js"
1255
+ ],
1256
+ "aliasPermutations": [
1257
+ "force:lightning:interface:create",
1258
+ "lightning:force:interface:create",
1259
+ "lightning:interface:force:create",
1260
+ "lightning:interface:create:force",
1261
+ "force:interface:lightning:create",
1262
+ "interface:force:lightning:create",
1263
+ "interface:lightning:force:create",
1264
+ "interface:lightning:create:force",
1265
+ "force:interface:create:lightning",
1266
+ "interface:force:create:lightning",
1267
+ "interface:create:force:lightning",
1268
+ "interface:create:lightning:force",
1269
+ "force:lightning:create:interface",
1270
+ "lightning:force:create:interface",
1271
+ "lightning:create:force:interface",
1272
+ "lightning:create:interface:force",
1273
+ "force:create:lightning:interface",
1274
+ "create:force:lightning:interface",
1275
+ "create:lightning:force:interface",
1276
+ "create:lightning:interface:force",
1277
+ "force:create:interface:lightning",
1278
+ "create:force:interface:lightning",
1279
+ "create:interface:force:lightning",
1280
+ "create:interface:lightning:force"
1281
+ ],
1282
+ "permutations": [
1283
+ "lightning:generate:interface",
1284
+ "generate:lightning:interface",
1285
+ "generate:interface:lightning",
1286
+ "lightning:interface:generate",
1287
+ "interface:lightning:generate",
1288
+ "interface:generate:lightning"
1289
+ ]
1290
+ },
1291
+ "lightning:generate:test": {
916
1292
  "aliases": [
917
1293
  "force:lightning:test:create"
918
1294
  ],
1295
+ "args": {},
1296
+ "deprecateAliases": true,
1297
+ "description": "Generates the test in the specified directory or the current working directory. The .resource file and associated metadata file are generated.",
919
1298
  "examples": [
920
1299
  "Generate the metadata files for the Lightning test called MyLightningTest in the current directory:\n<%= config.bin %> <%= command.id %> --name MyLightningTest",
921
1300
  "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"
922
1301
  ],
923
- "deprecateAliases": true,
924
1302
  "flags": {
925
1303
  "json": {
926
- "name": "json",
927
- "type": "boolean",
928
1304
  "description": "Format output as json.",
929
1305
  "helpGroup": "GLOBAL",
1306
+ "name": "json",
930
1307
  "allowNo": false,
931
- "deprecateAliases": true
1308
+ "type": "boolean"
932
1309
  },
933
1310
  "name": {
934
- "name": "name",
935
- "type": "option",
1311
+ "aliases": [
1312
+ "testname"
1313
+ ],
936
1314
  "char": "n",
937
- "summary": "Name of the generated Lightning Test.",
1315
+ "deprecateAliases": true,
938
1316
  "description": "Name of the new Lightning test; can be up to 40 characters and must start with a letter.",
1317
+ "name": "name",
939
1318
  "required": true,
1319
+ "summary": "Name of the generated Lightning Test.",
1320
+ "hasDynamicHelp": false,
940
1321
  "multiple": false,
941
- "deprecateAliases": true,
942
- "aliases": [
943
- "testname"
944
- ]
1322
+ "type": "option"
945
1323
  },
946
1324
  "template": {
947
- "name": "template",
948
- "type": "option",
949
1325
  "char": "t",
950
- "summary": "Template to use for file creation.",
951
1326
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
1327
+ "name": "template",
1328
+ "summary": "Template to use for file creation.",
1329
+ "default": "DefaultLightningTest",
1330
+ "hasDynamicHelp": false,
952
1331
  "multiple": false,
953
1332
  "options": [
954
1333
  "DefaultLightningTest"
955
1334
  ],
956
- "default": "DefaultLightningTest",
957
- "deprecateAliases": true
1335
+ "type": "option"
958
1336
  },
959
1337
  "output-dir": {
960
- "name": "output-dir",
961
- "type": "option",
1338
+ "aliases": [
1339
+ "outputdir"
1340
+ ],
962
1341
  "char": "d",
963
- "summary": "Directory for saving the created files.",
1342
+ "deprecateAliases": true,
964
1343
  "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
965
- "multiple": false,
1344
+ "name": "output-dir",
1345
+ "summary": "Directory for saving the created files.",
966
1346
  "default": ".",
967
- "deprecateAliases": true,
968
- "aliases": [
969
- "outputdir"
970
- ]
1347
+ "hasDynamicHelp": false,
1348
+ "multiple": false,
1349
+ "type": "option"
971
1350
  },
972
1351
  "internal": {
973
- "name": "internal",
974
- "type": "boolean",
975
1352
  "char": "i",
976
- "summary": "Generate lightning bundles without creating a -meta.xml file.",
977
1353
  "hidden": true,
1354
+ "name": "internal",
1355
+ "summary": "Generate lightning bundles without creating a -meta.xml file.",
978
1356
  "allowNo": false,
979
- "deprecateAliases": true
1357
+ "type": "boolean"
980
1358
  },
981
1359
  "api-version": {
982
- "name": "api-version",
983
- "type": "option",
984
- "description": "Override the api version used for api requests made by this command",
985
- "multiple": false,
986
- "deprecateAliases": true,
987
1360
  "aliases": [
988
1361
  "apiversion"
989
- ]
1362
+ ],
1363
+ "deprecateAliases": true,
1364
+ "description": "Override the api version used for api requests made by this command",
1365
+ "name": "api-version",
1366
+ "hasDynamicHelp": false,
1367
+ "multiple": false,
1368
+ "type": "option"
990
1369
  },
991
1370
  "loglevel": {
992
- "name": "loglevel",
993
- "type": "option",
994
- "hidden": true,
995
- "multiple": false,
996
1371
  "deprecated": {
997
1372
  "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."
998
1373
  },
999
- "deprecateAliases": true
1374
+ "hidden": true,
1375
+ "name": "loglevel",
1376
+ "hasDynamicHelp": false,
1377
+ "multiple": false,
1378
+ "type": "option"
1000
1379
  }
1001
1380
  },
1002
- "args": {}
1003
- },
1004
- "visualforce:generate:component": {
1005
- "id": "visualforce:generate:component",
1006
- "summary": "Generate a Visualforce Component.",
1007
- "description": "The command generates the .Component file and associated metadata file in the specified directory or the current working directory by default.",
1008
- "strict": true,
1009
- "pluginName": "@salesforce/plugin-templates",
1381
+ "hasDynamicHelp": false,
1382
+ "hiddenAliases": [],
1383
+ "id": "lightning:generate:test",
1010
1384
  "pluginAlias": "@salesforce/plugin-templates",
1385
+ "pluginName": "@salesforce/plugin-templates",
1011
1386
  "pluginType": "core",
1387
+ "strict": true,
1388
+ "summary": "Generate a Lightning test.",
1389
+ "enableJsonFlag": true,
1390
+ "SF_ENV": "SF_ENV",
1391
+ "isESM": true,
1392
+ "relativePath": [
1393
+ "lib",
1394
+ "commands",
1395
+ "lightning",
1396
+ "generate",
1397
+ "test.js"
1398
+ ],
1399
+ "aliasPermutations": [
1400
+ "force:lightning:test:create",
1401
+ "lightning:force:test:create",
1402
+ "lightning:test:force:create",
1403
+ "lightning:test:create:force",
1404
+ "force:test:lightning:create",
1405
+ "test:force:lightning:create",
1406
+ "test:lightning:force:create",
1407
+ "test:lightning:create:force",
1408
+ "force:test:create:lightning",
1409
+ "test:force:create:lightning",
1410
+ "test:create:force:lightning",
1411
+ "test:create:lightning:force",
1412
+ "force:lightning:create:test",
1413
+ "lightning:force:create:test",
1414
+ "lightning:create:force:test",
1415
+ "lightning:create:test:force",
1416
+ "force:create:lightning:test",
1417
+ "create:force:lightning:test",
1418
+ "create:lightning:force:test",
1419
+ "create:lightning:test:force",
1420
+ "force:create:test:lightning",
1421
+ "create:force:test:lightning",
1422
+ "create:test:force:lightning",
1423
+ "create:test:lightning:force"
1424
+ ],
1425
+ "permutations": [
1426
+ "lightning:generate:test",
1427
+ "generate:lightning:test",
1428
+ "generate:test:lightning",
1429
+ "lightning:test:generate",
1430
+ "test:lightning:generate",
1431
+ "test:generate:lightning"
1432
+ ]
1433
+ },
1434
+ "visualforce:generate:component": {
1012
1435
  "aliases": [
1013
1436
  "force:visualforce:component:create"
1014
1437
  ],
1438
+ "args": {},
1439
+ "deprecateAliases": true,
1440
+ "description": "The command generates the .Component file and associated metadata file in the specified directory or the current working directory by default.",
1015
1441
  "examples": [
1016
1442
  "Generate the metadata files for a Visualforce component in the current directory:\n<%= config.bin %> <%= command.id %> --name mycomponent --label mylabel",
1017
1443
  "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"
1018
1444
  ],
1019
- "deprecateAliases": true,
1020
1445
  "flags": {
1021
1446
  "json": {
1022
- "name": "json",
1023
- "type": "boolean",
1024
1447
  "description": "Format output as json.",
1025
1448
  "helpGroup": "GLOBAL",
1449
+ "name": "json",
1026
1450
  "allowNo": false,
1027
- "deprecateAliases": true
1451
+ "type": "boolean"
1028
1452
  },
1029
1453
  "name": {
1030
- "name": "name",
1031
- "type": "option",
1454
+ "aliases": [
1455
+ "componentname"
1456
+ ],
1032
1457
  "char": "n",
1033
- "summary": "Name of the generated Visualforce Component.",
1458
+ "deprecateAliases": true,
1034
1459
  "description": "The name can be up to 40 characters and must start with a letter.",
1460
+ "name": "name",
1035
1461
  "required": true,
1462
+ "summary": "Name of the generated Visualforce Component.",
1463
+ "hasDynamicHelp": false,
1036
1464
  "multiple": false,
1037
- "deprecateAliases": true,
1038
- "aliases": [
1039
- "componentname"
1040
- ]
1465
+ "type": "option"
1041
1466
  },
1042
1467
  "template": {
1043
- "name": "template",
1044
- "type": "option",
1045
1468
  "char": "t",
1046
- "summary": "Template to use for file creation.",
1047
1469
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
1470
+ "name": "template",
1471
+ "summary": "Template to use for file creation.",
1472
+ "default": "DefaultVFComponent",
1473
+ "hasDynamicHelp": false,
1048
1474
  "multiple": false,
1049
1475
  "options": [
1050
1476
  "DefaultVFComponent"
1051
1477
  ],
1052
- "default": "DefaultVFComponent",
1053
- "deprecateAliases": true
1478
+ "type": "option"
1054
1479
  },
1055
1480
  "output-dir": {
1056
- "name": "output-dir",
1057
- "type": "option",
1481
+ "aliases": [
1482
+ "outputdir"
1483
+ ],
1058
1484
  "char": "d",
1059
- "summary": "Directory for saving the created files.",
1485
+ "deprecateAliases": true,
1060
1486
  "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
1061
- "multiple": false,
1487
+ "name": "output-dir",
1488
+ "summary": "Directory for saving the created files.",
1062
1489
  "default": ".",
1063
- "deprecateAliases": true,
1064
- "aliases": [
1065
- "outputdir"
1066
- ]
1490
+ "hasDynamicHelp": false,
1491
+ "multiple": false,
1492
+ "type": "option"
1067
1493
  },
1068
1494
  "api-version": {
1069
- "name": "api-version",
1070
- "type": "option",
1071
- "description": "Override the api version used for api requests made by this command",
1072
- "multiple": false,
1073
- "deprecateAliases": true,
1074
1495
  "aliases": [
1075
1496
  "apiversion"
1076
- ]
1497
+ ],
1498
+ "deprecateAliases": true,
1499
+ "description": "Override the api version used for api requests made by this command",
1500
+ "name": "api-version",
1501
+ "hasDynamicHelp": false,
1502
+ "multiple": false,
1503
+ "type": "option"
1077
1504
  },
1078
1505
  "label": {
1079
- "name": "label",
1080
- "type": "option",
1081
1506
  "char": "l",
1082
- "summary": "Visualforce Component label.",
1507
+ "name": "label",
1083
1508
  "required": true,
1509
+ "summary": "Visualforce Component label.",
1510
+ "hasDynamicHelp": false,
1084
1511
  "multiple": false,
1085
- "deprecateAliases": true
1512
+ "type": "option"
1086
1513
  },
1087
1514
  "loglevel": {
1088
- "name": "loglevel",
1089
- "type": "option",
1090
- "hidden": true,
1091
- "multiple": false,
1092
1515
  "deprecated": {
1093
1516
  "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."
1094
1517
  },
1095
- "deprecateAliases": true
1518
+ "hidden": true,
1519
+ "name": "loglevel",
1520
+ "hasDynamicHelp": false,
1521
+ "multiple": false,
1522
+ "type": "option"
1096
1523
  }
1097
1524
  },
1098
- "args": {}
1099
- },
1100
- "visualforce:generate:page": {
1101
- "id": "visualforce:generate:page",
1102
- "summary": "Generate a Visualforce Page.",
1103
- "description": "The command generates the .Page file and associated metadata file in the specified directory or the current working directory by default.",
1104
- "strict": true,
1105
- "pluginName": "@salesforce/plugin-templates",
1525
+ "hasDynamicHelp": false,
1526
+ "hiddenAliases": [],
1527
+ "id": "visualforce:generate:component",
1106
1528
  "pluginAlias": "@salesforce/plugin-templates",
1529
+ "pluginName": "@salesforce/plugin-templates",
1107
1530
  "pluginType": "core",
1531
+ "strict": true,
1532
+ "summary": "Generate a Visualforce Component.",
1533
+ "enableJsonFlag": true,
1534
+ "SF_ENV": "SF_ENV",
1535
+ "isESM": true,
1536
+ "relativePath": [
1537
+ "lib",
1538
+ "commands",
1539
+ "visualforce",
1540
+ "generate",
1541
+ "component.js"
1542
+ ],
1543
+ "aliasPermutations": [
1544
+ "force:visualforce:component:create",
1545
+ "visualforce:force:component:create",
1546
+ "visualforce:component:force:create",
1547
+ "visualforce:component:create:force",
1548
+ "force:component:visualforce:create",
1549
+ "component:force:visualforce:create",
1550
+ "component:visualforce:force:create",
1551
+ "component:visualforce:create:force",
1552
+ "force:component:create:visualforce",
1553
+ "component:force:create:visualforce",
1554
+ "component:create:force:visualforce",
1555
+ "component:create:visualforce:force",
1556
+ "force:visualforce:create:component",
1557
+ "visualforce:force:create:component",
1558
+ "visualforce:create:force:component",
1559
+ "visualforce:create:component:force",
1560
+ "force:create:visualforce:component",
1561
+ "create:force:visualforce:component",
1562
+ "create:visualforce:force:component",
1563
+ "create:visualforce:component:force",
1564
+ "force:create:component:visualforce",
1565
+ "create:force:component:visualforce",
1566
+ "create:component:force:visualforce",
1567
+ "create:component:visualforce:force"
1568
+ ],
1569
+ "permutations": [
1570
+ "visualforce:generate:component",
1571
+ "generate:visualforce:component",
1572
+ "generate:component:visualforce",
1573
+ "visualforce:component:generate",
1574
+ "component:visualforce:generate",
1575
+ "component:generate:visualforce"
1576
+ ]
1577
+ },
1578
+ "visualforce:generate:page": {
1108
1579
  "aliases": [
1109
1580
  "force:visualforce:page:create"
1110
1581
  ],
1582
+ "args": {},
1583
+ "deprecateAliases": true,
1584
+ "description": "The command generates the .Page file and associated metadata file in the specified directory or the current working directory by default.",
1111
1585
  "examples": [
1112
1586
  "Generate the metadata files for a Visualforce page in the current directory:\n<%= config.bin %> <%= command.id %> --name mypage --label mylabel",
1113
1587
  "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"
1114
1588
  ],
1115
- "deprecateAliases": true,
1116
1589
  "flags": {
1117
1590
  "json": {
1118
- "name": "json",
1119
- "type": "boolean",
1120
1591
  "description": "Format output as json.",
1121
1592
  "helpGroup": "GLOBAL",
1593
+ "name": "json",
1122
1594
  "allowNo": false,
1123
- "deprecateAliases": true
1595
+ "type": "boolean"
1124
1596
  },
1125
1597
  "name": {
1126
- "name": "name",
1127
- "type": "option",
1598
+ "aliases": [
1599
+ "pagename"
1600
+ ],
1128
1601
  "char": "n",
1129
- "summary": "Name of the generated Visualforce Page.",
1602
+ "deprecateAliases": true,
1130
1603
  "description": "The name can be up to 40 characters and must start with a letter.",
1604
+ "name": "name",
1131
1605
  "required": true,
1606
+ "summary": "Name of the generated Visualforce Page.",
1607
+ "hasDynamicHelp": false,
1132
1608
  "multiple": false,
1133
- "deprecateAliases": true,
1134
- "aliases": [
1135
- "pagename"
1136
- ]
1609
+ "type": "option"
1137
1610
  },
1138
1611
  "template": {
1139
- "name": "template",
1140
- "type": "option",
1141
1612
  "char": "t",
1142
- "summary": "Template to use for file creation.",
1143
1613
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
1144
1614
  "hidden": true,
1615
+ "name": "template",
1616
+ "summary": "Template to use for file creation.",
1617
+ "default": "DefaultVFPage",
1618
+ "hasDynamicHelp": false,
1145
1619
  "multiple": false,
1146
1620
  "options": [
1147
1621
  "DefaultVFPage"
1148
1622
  ],
1149
- "default": "DefaultVFPage",
1150
- "deprecateAliases": true
1623
+ "type": "option"
1151
1624
  },
1152
1625
  "output-dir": {
1153
- "name": "output-dir",
1154
- "type": "option",
1626
+ "aliases": [
1627
+ "outputdir"
1628
+ ],
1155
1629
  "char": "d",
1156
- "summary": "Directory for saving the created files.",
1630
+ "deprecateAliases": true,
1157
1631
  "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
1158
- "multiple": false,
1632
+ "name": "output-dir",
1633
+ "summary": "Directory for saving the created files.",
1159
1634
  "default": ".",
1160
- "deprecateAliases": true,
1161
- "aliases": [
1162
- "outputdir"
1163
- ]
1635
+ "hasDynamicHelp": false,
1636
+ "multiple": false,
1637
+ "type": "option"
1164
1638
  },
1165
1639
  "api-version": {
1166
- "name": "api-version",
1167
- "type": "option",
1168
- "description": "Override the api version used for api requests made by this command",
1169
- "multiple": false,
1170
- "deprecateAliases": true,
1171
1640
  "aliases": [
1172
1641
  "apiversion"
1173
- ]
1642
+ ],
1643
+ "deprecateAliases": true,
1644
+ "description": "Override the api version used for api requests made by this command",
1645
+ "name": "api-version",
1646
+ "hasDynamicHelp": false,
1647
+ "multiple": false,
1648
+ "type": "option"
1174
1649
  },
1175
1650
  "label": {
1176
- "name": "label",
1177
- "type": "option",
1178
1651
  "char": "l",
1179
- "summary": "Visualforce Page label.",
1652
+ "name": "label",
1180
1653
  "required": true,
1654
+ "summary": "Visualforce Page label.",
1655
+ "hasDynamicHelp": false,
1181
1656
  "multiple": false,
1182
- "deprecateAliases": true
1657
+ "type": "option"
1183
1658
  },
1184
1659
  "loglevel": {
1185
- "name": "loglevel",
1186
- "type": "option",
1187
- "hidden": true,
1188
- "multiple": false,
1189
1660
  "deprecated": {
1190
1661
  "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."
1191
1662
  },
1192
- "deprecateAliases": true
1663
+ "hidden": true,
1664
+ "name": "loglevel",
1665
+ "hasDynamicHelp": false,
1666
+ "multiple": false,
1667
+ "type": "option"
1193
1668
  }
1194
1669
  },
1195
- "args": {}
1670
+ "hasDynamicHelp": false,
1671
+ "hiddenAliases": [],
1672
+ "id": "visualforce:generate:page",
1673
+ "pluginAlias": "@salesforce/plugin-templates",
1674
+ "pluginName": "@salesforce/plugin-templates",
1675
+ "pluginType": "core",
1676
+ "strict": true,
1677
+ "summary": "Generate a Visualforce Page.",
1678
+ "enableJsonFlag": true,
1679
+ "SF_ENV": "SF_ENV",
1680
+ "isESM": true,
1681
+ "relativePath": [
1682
+ "lib",
1683
+ "commands",
1684
+ "visualforce",
1685
+ "generate",
1686
+ "page.js"
1687
+ ],
1688
+ "aliasPermutations": [
1689
+ "force:visualforce:page:create",
1690
+ "visualforce:force:page:create",
1691
+ "visualforce:page:force:create",
1692
+ "visualforce:page:create:force",
1693
+ "force:page:visualforce:create",
1694
+ "page:force:visualforce:create",
1695
+ "page:visualforce:force:create",
1696
+ "page:visualforce:create:force",
1697
+ "force:page:create:visualforce",
1698
+ "page:force:create:visualforce",
1699
+ "page:create:force:visualforce",
1700
+ "page:create:visualforce:force",
1701
+ "force:visualforce:create:page",
1702
+ "visualforce:force:create:page",
1703
+ "visualforce:create:force:page",
1704
+ "visualforce:create:page:force",
1705
+ "force:create:visualforce:page",
1706
+ "create:force:visualforce:page",
1707
+ "create:visualforce:force:page",
1708
+ "create:visualforce:page:force",
1709
+ "force:create:page:visualforce",
1710
+ "create:force:page:visualforce",
1711
+ "create:page:force:visualforce",
1712
+ "create:page:visualforce:force"
1713
+ ],
1714
+ "permutations": [
1715
+ "visualforce:generate:page",
1716
+ "generate:visualforce:page",
1717
+ "generate:page:visualforce",
1718
+ "visualforce:page:generate",
1719
+ "page:visualforce:generate",
1720
+ "page:generate:visualforce"
1721
+ ]
1196
1722
  }
1197
- }
1723
+ },
1724
+ "version": "56.0.2"
1198
1725
  }