@terafina/tffa-sfdx-plugin 17.0.0-rc.9 → 18.0.0-rc.1
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 +91 -151
- package/lib/commands/tffa/apexdoc.js +1 -1
- package/lib/commands/tffa/apexdoc.js.map +1 -1
- package/lib/commands/tffa/data/export.js +46 -16
- package/lib/commands/tffa/data/export.js.map +1 -1
- package/lib/commands/tffa/data/import.js +42 -22
- package/lib/commands/tffa/data/import.js.map +1 -1
- package/lib/commands/tffa/lint.js +1 -1
- package/lib/commands/tffa/lint.js.map +1 -1
- package/lib/commands/tffa/meta.js +13 -12
- package/lib/commands/tffa/meta.js.map +1 -1
- package/lib/commands/tffa/ping.js +5 -7
- package/lib/commands/tffa/ping.js.map +1 -1
- package/lib/commands/tffa/source/apiset.js +14 -14
- package/lib/commands/tffa/source/apiset.js.map +1 -1
- package/lib/commands/tffa/source/createfield.js +43 -31
- package/lib/commands/tffa/source/createfield.js.map +1 -1
- package/lib/services/lint/rules.js +1 -1
- package/lib/services/lint/rules.js.map +1 -1
- package/lib/utils/constants.js +2 -2
- package/lib/utils/constants.js.map +1 -1
- package/lib/utils/ignored-files.js +1 -1
- package/lib/utils/ignored-files.js.map +1 -1
- package/messages/dataExport.js +2 -2
- package/oclif.manifest.json +62 -479
- package/package.json +36 -32
- package/lib/commands/tffa/apexdoc.d.ts +0 -31
- package/lib/commands/tffa/data/export.d.ts +0 -71
- package/lib/commands/tffa/data/import.d.ts +0 -69
- package/lib/commands/tffa/lint.d.ts +0 -22
- package/lib/commands/tffa/meta.d.ts +0 -16
- package/lib/commands/tffa/ping.d.ts +0 -14
- package/lib/commands/tffa/source/apiset.d.ts +0 -11
- package/lib/commands/tffa/source/createfield.d.ts +0 -41
- package/lib/index.d.ts +0 -5
- package/lib/services/apexdoc/common/apex-docs-error.d.ts +0 -23
- package/lib/services/apexdoc/common/array-utils.d.ts +0 -9
- package/lib/services/apexdoc/common/line-reader.d.ts +0 -40
- package/lib/services/apexdoc/common/models/apex-model.d.ts +0 -51
- package/lib/services/apexdoc/common/models/class-group.d.ts +0 -10
- package/lib/services/apexdoc/common/models/class-model.d.ts +0 -41
- package/lib/services/apexdoc/common/models/engine-config.d.ts +0 -23
- package/lib/services/apexdoc/common/models/enum-model.d.ts +0 -15
- package/lib/services/apexdoc/common/models/index.d.ts +0 -10
- package/lib/services/apexdoc/common/models/method-model.d.ts +0 -26
- package/lib/services/apexdoc/common/models/property-model.d.ts +0 -12
- package/lib/services/apexdoc/common/models/top-level-model.d.ts +0 -19
- package/lib/services/apexdoc/common/settings.d.ts +0 -56
- package/lib/services/apexdoc/common/tags.d.ts +0 -22
- package/lib/services/apexdoc/common/utils.d.ts +0 -39
- package/lib/services/apexdoc/common/validator-engine.d.ts +0 -23
- package/lib/services/apexdoc/common/validator.d.ts +0 -16
- package/lib/services/apexdoc/engine/file-manager.d.ts +0 -52
- package/lib/services/apexdoc/engine/generators/generator-utils.d.ts +0 -12
- package/lib/services/apexdoc/engine/generators/menu-generator.d.ts +0 -9
- package/lib/services/apexdoc/engine/generators/models/child-enum-markup-generator.d.ts +0 -10
- package/lib/services/apexdoc/engine/generators/models/class-markup-generator.d.ts +0 -8
- package/lib/services/apexdoc/engine/generators/models/enum-markup-generator.d.ts +0 -9
- package/lib/services/apexdoc/engine/generators/models/markup-generator.d.ts +0 -27
- package/lib/services/apexdoc/engine/generators/models/method-markup-generator.d.ts +0 -22
- package/lib/services/apexdoc/engine/generators/models/property-markup-generator.d.ts +0 -11
- package/lib/services/apexdoc/engine/generators/models/source-markup-generator.d.ts +0 -10
- package/lib/services/apexdoc/engine/generators/models/top-level-markup-generator.d.ts +0 -10
- package/lib/services/apexdoc/engine/generators/see-link-generator.d.ts +0 -20
- package/lib/services/lint/apex-class-scan.d.ts +0 -31
- package/lib/services/lint/apex-pmd.d.ts +0 -10
- package/lib/services/lint/eslint-scan.d.ts +0 -13
- package/lib/services/lint/metadata-scan.d.ts +0 -30
- package/lib/services/lint/rules.d.ts +0 -10
- package/lib/services/lint/stylelint-scan.d.ts +0 -13
- package/lib/services/meta/field-scan.d.ts +0 -23
- package/lib/utils/constants.d.ts +0 -9
- package/lib/utils/ignored-files.d.ts +0 -18
- package/lib/utils/jreSetupManager.d.ts +0 -17
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "18.0.0-rc.1",
|
|
3
3
|
"commands": {
|
|
4
4
|
"tffa:apexdoc": {
|
|
5
5
|
"id": "tffa:apexdoc",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"char": "m",
|
|
72
72
|
"description": "minimum api version to use during quality checks",
|
|
73
73
|
"multiple": false,
|
|
74
|
-
"default":
|
|
74
|
+
"default": 57
|
|
75
75
|
},
|
|
76
76
|
"rulesetpath": {
|
|
77
77
|
"name": "rulesetpath",
|
|
@@ -101,7 +101,6 @@
|
|
|
101
101
|
"id": "tffa:meta",
|
|
102
102
|
"description": "Scan a sfdx project for generating metadata summary information",
|
|
103
103
|
"strict": true,
|
|
104
|
-
"usage": "<%= command.id %> [-s <directory>] [-d <directory>] [-c <directory>] [-o json|csv|human] [-f] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]",
|
|
105
104
|
"pluginName": "@terafina/tffa-sfdx-plugin",
|
|
106
105
|
"pluginAlias": "@terafina/tffa-sfdx-plugin",
|
|
107
106
|
"pluginType": "core",
|
|
@@ -113,32 +112,10 @@
|
|
|
113
112
|
"json": {
|
|
114
113
|
"name": "json",
|
|
115
114
|
"type": "boolean",
|
|
116
|
-
"description": "
|
|
115
|
+
"description": "Format output as json.",
|
|
116
|
+
"helpGroup": "GLOBAL",
|
|
117
117
|
"allowNo": false
|
|
118
118
|
},
|
|
119
|
-
"loglevel": {
|
|
120
|
-
"name": "loglevel",
|
|
121
|
-
"type": "option",
|
|
122
|
-
"description": "logging level for this command invocation",
|
|
123
|
-
"required": false,
|
|
124
|
-
"helpValue": "(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)",
|
|
125
|
-
"multiple": false,
|
|
126
|
-
"options": [
|
|
127
|
-
"trace",
|
|
128
|
-
"debug",
|
|
129
|
-
"info",
|
|
130
|
-
"warn",
|
|
131
|
-
"error",
|
|
132
|
-
"fatal",
|
|
133
|
-
"TRACE",
|
|
134
|
-
"DEBUG",
|
|
135
|
-
"INFO",
|
|
136
|
-
"WARN",
|
|
137
|
-
"ERROR",
|
|
138
|
-
"FATAL"
|
|
139
|
-
],
|
|
140
|
-
"default": "warn"
|
|
141
|
-
},
|
|
142
119
|
"sourcefolder": {
|
|
143
120
|
"name": "sourcefolder",
|
|
144
121
|
"type": "option",
|
|
@@ -168,7 +145,6 @@
|
|
|
168
145
|
"type": "option",
|
|
169
146
|
"char": "o",
|
|
170
147
|
"description": "output format json csv human",
|
|
171
|
-
"helpValue": "(json|csv|human)",
|
|
172
148
|
"multiple": false,
|
|
173
149
|
"options": [
|
|
174
150
|
"json",
|
|
@@ -184,63 +160,12 @@
|
|
|
184
160
|
"allowNo": false
|
|
185
161
|
}
|
|
186
162
|
},
|
|
187
|
-
"args": {}
|
|
188
|
-
"flagsConfig": {
|
|
189
|
-
"sourcefolder": {
|
|
190
|
-
"kind": "directory",
|
|
191
|
-
"char": "s",
|
|
192
|
-
"description": "directory containing sfdx project",
|
|
193
|
-
"default": ".",
|
|
194
|
-
"input": [],
|
|
195
|
-
"multiple": false,
|
|
196
|
-
"type": "option"
|
|
197
|
-
},
|
|
198
|
-
"destpath": {
|
|
199
|
-
"kind": "directory",
|
|
200
|
-
"char": "d",
|
|
201
|
-
"description": "full path output file",
|
|
202
|
-
"default": ".",
|
|
203
|
-
"input": [],
|
|
204
|
-
"multiple": false,
|
|
205
|
-
"type": "option"
|
|
206
|
-
},
|
|
207
|
-
"clientname": {
|
|
208
|
-
"kind": "directory",
|
|
209
|
-
"char": "c",
|
|
210
|
-
"description": "name of the client",
|
|
211
|
-
"default": ".",
|
|
212
|
-
"input": [],
|
|
213
|
-
"multiple": false,
|
|
214
|
-
"type": "option"
|
|
215
|
-
},
|
|
216
|
-
"output": {
|
|
217
|
-
"kind": "enum",
|
|
218
|
-
"helpValue": "(json|csv|human)",
|
|
219
|
-
"char": "o",
|
|
220
|
-
"options": [
|
|
221
|
-
"json",
|
|
222
|
-
"csv",
|
|
223
|
-
"human"
|
|
224
|
-
],
|
|
225
|
-
"description": "output format json csv human",
|
|
226
|
-
"input": [],
|
|
227
|
-
"multiple": false,
|
|
228
|
-
"type": "option"
|
|
229
|
-
},
|
|
230
|
-
"fields": {
|
|
231
|
-
"kind": "boolean",
|
|
232
|
-
"char": "f",
|
|
233
|
-
"description": "generate field output",
|
|
234
|
-
"allowNo": false,
|
|
235
|
-
"type": "boolean"
|
|
236
|
-
}
|
|
237
|
-
}
|
|
163
|
+
"args": {}
|
|
238
164
|
},
|
|
239
165
|
"tffa:ping": {
|
|
240
166
|
"id": "tffa:ping",
|
|
241
167
|
"description": "Ping and test the plugin",
|
|
242
168
|
"strict": true,
|
|
243
|
-
"usage": "<%= command.id %> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]",
|
|
244
169
|
"pluginName": "@terafina/tffa-sfdx-plugin",
|
|
245
170
|
"pluginAlias": "@terafina/tffa-sfdx-plugin",
|
|
246
171
|
"pluginType": "core",
|
|
@@ -252,103 +177,42 @@
|
|
|
252
177
|
"json": {
|
|
253
178
|
"name": "json",
|
|
254
179
|
"type": "boolean",
|
|
255
|
-
"description": "
|
|
180
|
+
"description": "Format output as json.",
|
|
181
|
+
"helpGroup": "GLOBAL",
|
|
256
182
|
"allowNo": false
|
|
257
|
-
},
|
|
258
|
-
"loglevel": {
|
|
259
|
-
"name": "loglevel",
|
|
260
|
-
"type": "option",
|
|
261
|
-
"description": "logging level for this command invocation",
|
|
262
|
-
"required": false,
|
|
263
|
-
"helpValue": "(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)",
|
|
264
|
-
"multiple": false,
|
|
265
|
-
"options": [
|
|
266
|
-
"trace",
|
|
267
|
-
"debug",
|
|
268
|
-
"info",
|
|
269
|
-
"warn",
|
|
270
|
-
"error",
|
|
271
|
-
"fatal",
|
|
272
|
-
"TRACE",
|
|
273
|
-
"DEBUG",
|
|
274
|
-
"INFO",
|
|
275
|
-
"WARN",
|
|
276
|
-
"ERROR",
|
|
277
|
-
"FATAL"
|
|
278
|
-
],
|
|
279
|
-
"default": "warn"
|
|
280
|
-
}
|
|
281
|
-
},
|
|
282
|
-
"args": {
|
|
283
|
-
"file": {
|
|
284
|
-
"name": "file"
|
|
285
183
|
}
|
|
286
184
|
},
|
|
185
|
+
"args": {},
|
|
287
186
|
"flagsConfig": {}
|
|
288
187
|
},
|
|
289
188
|
"tffa:data:export": {
|
|
290
189
|
"id": "tffa:data:export",
|
|
291
190
|
"description": "Exports records of specified sobject types from target org into JSON file(s). Primarily used for exporting business configurations.\nThe export command requires a target org for exporting records. Run this command from within a sfdx project containing a default username or specify targetusername explicitly.",
|
|
292
191
|
"strict": true,
|
|
293
|
-
"usage": "<%= command.id %> -s <array> [-d <string>] [-g <string>] [-o <array>] [-c <array>] [-s] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]",
|
|
294
192
|
"pluginName": "@terafina/tffa-sfdx-plugin",
|
|
295
193
|
"pluginAlias": "@terafina/tffa-sfdx-plugin",
|
|
296
194
|
"pluginType": "core",
|
|
297
195
|
"aliases": [],
|
|
298
196
|
"examples": [
|
|
299
|
-
"$ sfdx tffa:data:export --
|
|
300
|
-
"$ sfdx tffa:data:export --
|
|
197
|
+
"$ sfdx tffa:data:export --sobjecttypes tffa__Product__c\n Fetched 101 records of tffa__Product__c\n Writing 24 records to ./data/configuration/Product__c.json\n Writing 30 records to ./data/configuration/Product__c1.json\n Writing 20 records to ./data/configuration/Product__c2.json\n Writing 27 records to ./data/configuration/Product__c3.json\n ",
|
|
198
|
+
"$ sfdx tffa:data:export --sobjecttypes tffa__DisclosureTemplate__c,tffa__DisclosureChecklist__c,tffa__DisclosureMatrix__c\n Fetched 81 records of tffa__DisclosureTemplate__c\n Writing 81 records to ./data/configuration/DisclosureTemplate__c.json\n Fetched 57 records of tffa__DisclosureChecklist__c\n Writing 57 records to ./data/configuration/DisclosureChecklist__c.json\n Fetched 144 records of tffa__DisclosureMatrix__c\n Writing 144 records to ./data/configuration/DisclosureMatrix__c.json\n "
|
|
301
199
|
],
|
|
302
200
|
"flags": {
|
|
303
201
|
"json": {
|
|
304
202
|
"name": "json",
|
|
305
203
|
"type": "boolean",
|
|
306
|
-
"description": "
|
|
204
|
+
"description": "Format output as json.",
|
|
205
|
+
"helpGroup": "GLOBAL",
|
|
307
206
|
"allowNo": false
|
|
308
207
|
},
|
|
309
|
-
"loglevel": {
|
|
310
|
-
"name": "loglevel",
|
|
311
|
-
"type": "option",
|
|
312
|
-
"description": "logging level for this command invocation",
|
|
313
|
-
"required": false,
|
|
314
|
-
"helpValue": "(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)",
|
|
315
|
-
"multiple": false,
|
|
316
|
-
"options": [
|
|
317
|
-
"trace",
|
|
318
|
-
"debug",
|
|
319
|
-
"info",
|
|
320
|
-
"warn",
|
|
321
|
-
"error",
|
|
322
|
-
"fatal",
|
|
323
|
-
"TRACE",
|
|
324
|
-
"DEBUG",
|
|
325
|
-
"INFO",
|
|
326
|
-
"WARN",
|
|
327
|
-
"ERROR",
|
|
328
|
-
"FATAL"
|
|
329
|
-
],
|
|
330
|
-
"default": "warn"
|
|
331
|
-
},
|
|
332
|
-
"targetusername": {
|
|
333
|
-
"name": "targetusername",
|
|
334
|
-
"type": "option",
|
|
335
|
-
"char": "u",
|
|
336
|
-
"description": "username or alias for the target org; overrides default target org",
|
|
337
|
-
"multiple": false
|
|
338
|
-
},
|
|
339
|
-
"apiversion": {
|
|
340
|
-
"name": "apiversion",
|
|
341
|
-
"type": "option",
|
|
342
|
-
"description": "override the api version used for api requests made by this command",
|
|
343
|
-
"multiple": false
|
|
344
|
-
},
|
|
345
208
|
"sobjecttypes": {
|
|
346
209
|
"name": "sobjecttypes",
|
|
347
210
|
"type": "option",
|
|
348
211
|
"char": "s",
|
|
349
212
|
"description": "sobject types of records to be exported",
|
|
350
213
|
"required": true,
|
|
351
|
-
"multiple":
|
|
214
|
+
"multiple": true,
|
|
215
|
+
"delimiter": ","
|
|
352
216
|
},
|
|
353
217
|
"outputdir": {
|
|
354
218
|
"name": "outputdir",
|
|
@@ -372,7 +236,8 @@
|
|
|
372
236
|
"char": "o",
|
|
373
237
|
"description": "the fields to be used for sorting the exported records",
|
|
374
238
|
"required": false,
|
|
375
|
-
"multiple":
|
|
239
|
+
"multiple": true,
|
|
240
|
+
"delimiter": ","
|
|
376
241
|
},
|
|
377
242
|
"children": {
|
|
378
243
|
"name": "children",
|
|
@@ -380,80 +245,39 @@
|
|
|
380
245
|
"char": "c",
|
|
381
246
|
"description": "the child relationships to be included in the exported records; this is not required for tffa package objects. e.g. tffa__Features__r,tffa__Terms__r child relationships are auto included when running export command for tffa__Product__c",
|
|
382
247
|
"required": false,
|
|
383
|
-
"multiple":
|
|
248
|
+
"multiple": true,
|
|
249
|
+
"delimiter": ","
|
|
384
250
|
},
|
|
385
251
|
"skipconfigplan": {
|
|
386
252
|
"name": "skipconfigplan",
|
|
387
253
|
"type": "boolean",
|
|
388
|
-
"char": "
|
|
254
|
+
"char": "i",
|
|
389
255
|
"description": "skip import of exported record JSON files into configuration plan",
|
|
390
256
|
"required": false,
|
|
391
257
|
"allowNo": false
|
|
258
|
+
},
|
|
259
|
+
"target-org": {
|
|
260
|
+
"name": "target-org",
|
|
261
|
+
"type": "option",
|
|
262
|
+
"char": "u",
|
|
263
|
+
"multiple": false
|
|
264
|
+
},
|
|
265
|
+
"api-version": {
|
|
266
|
+
"name": "api-version",
|
|
267
|
+
"type": "option",
|
|
268
|
+
"char": "a",
|
|
269
|
+
"description": "Override the api version used for api requests made by this command",
|
|
270
|
+
"multiple": false
|
|
392
271
|
}
|
|
393
272
|
},
|
|
394
273
|
"args": {},
|
|
395
274
|
"requiresUsername": true,
|
|
396
|
-
"
|
|
397
|
-
"sobjecttypes": {
|
|
398
|
-
"kind": "array",
|
|
399
|
-
"char": "s",
|
|
400
|
-
"required": true,
|
|
401
|
-
"description": "sobject types of records to be exported",
|
|
402
|
-
"input": [],
|
|
403
|
-
"multiple": false,
|
|
404
|
-
"type": "option"
|
|
405
|
-
},
|
|
406
|
-
"outputdir": {
|
|
407
|
-
"kind": "string",
|
|
408
|
-
"char": "d",
|
|
409
|
-
"description": "output directory where the JSON files of exported records will be placed",
|
|
410
|
-
"default": "./data/configuration",
|
|
411
|
-
"input": [],
|
|
412
|
-
"multiple": false,
|
|
413
|
-
"type": "option"
|
|
414
|
-
},
|
|
415
|
-
"groupby": {
|
|
416
|
-
"kind": "string",
|
|
417
|
-
"char": "g",
|
|
418
|
-
"required": false,
|
|
419
|
-
"description": "the field to be used for grouping the exported records; records belonging to each group are placed in separate JSON files (filename suffixed by group name)",
|
|
420
|
-
"input": [],
|
|
421
|
-
"multiple": false,
|
|
422
|
-
"type": "option"
|
|
423
|
-
},
|
|
424
|
-
"orderby": {
|
|
425
|
-
"kind": "array",
|
|
426
|
-
"char": "o",
|
|
427
|
-
"required": false,
|
|
428
|
-
"description": "the fields to be used for sorting the exported records",
|
|
429
|
-
"input": [],
|
|
430
|
-
"multiple": false,
|
|
431
|
-
"type": "option"
|
|
432
|
-
},
|
|
433
|
-
"children": {
|
|
434
|
-
"kind": "array",
|
|
435
|
-
"char": "c",
|
|
436
|
-
"required": false,
|
|
437
|
-
"description": "the child relationships to be included in the exported records; this is not required for tffa package objects. e.g. tffa__Features__r,tffa__Terms__r child relationships are auto included when running export command for tffa__Product__c",
|
|
438
|
-
"input": [],
|
|
439
|
-
"multiple": false,
|
|
440
|
-
"type": "option"
|
|
441
|
-
},
|
|
442
|
-
"skipconfigplan": {
|
|
443
|
-
"kind": "boolean",
|
|
444
|
-
"char": "s",
|
|
445
|
-
"required": false,
|
|
446
|
-
"description": "skip import of exported record JSON files into configuration plan",
|
|
447
|
-
"allowNo": false,
|
|
448
|
-
"type": "boolean"
|
|
449
|
-
}
|
|
450
|
-
}
|
|
275
|
+
"hasDynamicHelp": true
|
|
451
276
|
},
|
|
452
277
|
"tffa:data:import": {
|
|
453
278
|
"id": "tffa:data:import",
|
|
454
279
|
"description": "Imports data into an org using the SObject Bulk Upsert API. This data can include master-detail relationships. Primarily used for importing business configurations.\n \n To generate JSON files for use with tffa:data:import, run \"sfdx tffa:data:export\"\n \n In scratch orgs, by default, sobject files are tracked for changes. When doing full plan imports (without the sobjecttypes parameter), individual sobject files are tracked for changes and excluded from import if the file content remained unchanged since the last time it was imported. This behaviour can be suppressed by including the forceimport flag when doing full plan imports.",
|
|
455
280
|
"strict": true,
|
|
456
|
-
"usage": "<%= command.id %> [-f <array>] [-p <string>] [-s <array>] [-i] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]",
|
|
457
281
|
"pluginName": "@terafina/tffa-sfdx-plugin",
|
|
458
282
|
"pluginAlias": "@terafina/tffa-sfdx-plugin",
|
|
459
283
|
"pluginType": "core",
|
|
@@ -468,52 +292,18 @@
|
|
|
468
292
|
"json": {
|
|
469
293
|
"name": "json",
|
|
470
294
|
"type": "boolean",
|
|
471
|
-
"description": "
|
|
295
|
+
"description": "Format output as json.",
|
|
296
|
+
"helpGroup": "GLOBAL",
|
|
472
297
|
"allowNo": false
|
|
473
298
|
},
|
|
474
|
-
"loglevel": {
|
|
475
|
-
"name": "loglevel",
|
|
476
|
-
"type": "option",
|
|
477
|
-
"description": "logging level for this command invocation",
|
|
478
|
-
"required": false,
|
|
479
|
-
"helpValue": "(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)",
|
|
480
|
-
"multiple": false,
|
|
481
|
-
"options": [
|
|
482
|
-
"trace",
|
|
483
|
-
"debug",
|
|
484
|
-
"info",
|
|
485
|
-
"warn",
|
|
486
|
-
"error",
|
|
487
|
-
"fatal",
|
|
488
|
-
"TRACE",
|
|
489
|
-
"DEBUG",
|
|
490
|
-
"INFO",
|
|
491
|
-
"WARN",
|
|
492
|
-
"ERROR",
|
|
493
|
-
"FATAL"
|
|
494
|
-
],
|
|
495
|
-
"default": "warn"
|
|
496
|
-
},
|
|
497
|
-
"targetusername": {
|
|
498
|
-
"name": "targetusername",
|
|
499
|
-
"type": "option",
|
|
500
|
-
"char": "u",
|
|
501
|
-
"description": "username or alias for the target org; overrides default target org",
|
|
502
|
-
"multiple": false
|
|
503
|
-
},
|
|
504
|
-
"apiversion": {
|
|
505
|
-
"name": "apiversion",
|
|
506
|
-
"type": "option",
|
|
507
|
-
"description": "override the api version used for api requests made by this command",
|
|
508
|
-
"multiple": false
|
|
509
|
-
},
|
|
510
299
|
"sobjectfiles": {
|
|
511
300
|
"name": "sobjectfiles",
|
|
512
301
|
"type": "option",
|
|
513
302
|
"char": "f",
|
|
514
303
|
"description": "comma-delimited, ordered paths of json files containing collection of record trees to upsert",
|
|
515
304
|
"required": false,
|
|
516
|
-
"multiple":
|
|
305
|
+
"multiple": true,
|
|
306
|
+
"delimiter": ","
|
|
517
307
|
},
|
|
518
308
|
"plan": {
|
|
519
309
|
"name": "plan",
|
|
@@ -529,7 +319,8 @@
|
|
|
529
319
|
"char": "s",
|
|
530
320
|
"description": "comma-delimited, list of sobject types to be imported when using a plan",
|
|
531
321
|
"required": false,
|
|
532
|
-
"multiple":
|
|
322
|
+
"multiple": true,
|
|
323
|
+
"delimiter": ","
|
|
533
324
|
},
|
|
534
325
|
"forceimport": {
|
|
535
326
|
"name": "forceimport",
|
|
@@ -538,54 +329,30 @@
|
|
|
538
329
|
"description": "force import all sobject files in a plan ignoring any internal file change tracking; applicable to scratch orgs only; forceimport is automatically set if sobjecttypes parameter is specified",
|
|
539
330
|
"required": false,
|
|
540
331
|
"allowNo": false
|
|
332
|
+
},
|
|
333
|
+
"target-org": {
|
|
334
|
+
"name": "target-org",
|
|
335
|
+
"type": "option",
|
|
336
|
+
"char": "u",
|
|
337
|
+
"multiple": false
|
|
338
|
+
},
|
|
339
|
+
"api-version": {
|
|
340
|
+
"name": "api-version",
|
|
341
|
+
"type": "option",
|
|
342
|
+
"char": "a",
|
|
343
|
+
"description": "Override the api version used for api requests made by this command",
|
|
344
|
+
"multiple": false
|
|
541
345
|
}
|
|
542
346
|
},
|
|
543
347
|
"args": {},
|
|
544
348
|
"requiresUsername": true,
|
|
545
349
|
"requiresProject": true,
|
|
546
|
-
"
|
|
547
|
-
"sobjectfiles": {
|
|
548
|
-
"kind": "array",
|
|
549
|
-
"char": "f",
|
|
550
|
-
"required": false,
|
|
551
|
-
"description": "comma-delimited, ordered paths of json files containing collection of record trees to upsert",
|
|
552
|
-
"input": [],
|
|
553
|
-
"multiple": false,
|
|
554
|
-
"type": "option"
|
|
555
|
-
},
|
|
556
|
-
"plan": {
|
|
557
|
-
"kind": "string",
|
|
558
|
-
"char": "p",
|
|
559
|
-
"description": "path to plan to upsert multiple data files that have master-detail relationships; to restrict the sobject types imported using the plan, specify sobjecttypes along with plan",
|
|
560
|
-
"default": "data/configuration/config-data-plan.json",
|
|
561
|
-
"input": [],
|
|
562
|
-
"multiple": false,
|
|
563
|
-
"type": "option"
|
|
564
|
-
},
|
|
565
|
-
"sobjecttypes": {
|
|
566
|
-
"kind": "array",
|
|
567
|
-
"char": "s",
|
|
568
|
-
"required": false,
|
|
569
|
-
"description": "comma-delimited, list of sobject types to be imported when using a plan",
|
|
570
|
-
"input": [],
|
|
571
|
-
"multiple": false,
|
|
572
|
-
"type": "option"
|
|
573
|
-
},
|
|
574
|
-
"forceimport": {
|
|
575
|
-
"kind": "boolean",
|
|
576
|
-
"char": "i",
|
|
577
|
-
"required": false,
|
|
578
|
-
"description": "force import all sobject files in a plan ignoring any internal file change tracking; applicable to scratch orgs only; forceimport is automatically set if sobjecttypes parameter is specified",
|
|
579
|
-
"allowNo": false,
|
|
580
|
-
"type": "boolean"
|
|
581
|
-
}
|
|
582
|
-
}
|
|
350
|
+
"hasDynamicHelp": true
|
|
583
351
|
},
|
|
584
352
|
"tffa:source:apiset": {
|
|
585
353
|
"id": "tffa:source:apiset",
|
|
586
354
|
"description": "Upgrades the current project and all metadata to the latest API version",
|
|
587
355
|
"strict": true,
|
|
588
|
-
"usage": "<%= command.id %> [-h <help>] [-s <directory>] [-a <integer>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]",
|
|
589
356
|
"pluginName": "@terafina/tffa-sfdx-plugin",
|
|
590
357
|
"pluginAlias": "@terafina/tffa-sfdx-plugin",
|
|
591
358
|
"pluginType": "core",
|
|
@@ -597,37 +364,8 @@
|
|
|
597
364
|
"json": {
|
|
598
365
|
"name": "json",
|
|
599
366
|
"type": "boolean",
|
|
600
|
-
"description": "
|
|
601
|
-
"
|
|
602
|
-
},
|
|
603
|
-
"loglevel": {
|
|
604
|
-
"name": "loglevel",
|
|
605
|
-
"type": "option",
|
|
606
|
-
"description": "logging level for this command invocation",
|
|
607
|
-
"required": false,
|
|
608
|
-
"helpValue": "(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)",
|
|
609
|
-
"multiple": false,
|
|
610
|
-
"options": [
|
|
611
|
-
"trace",
|
|
612
|
-
"debug",
|
|
613
|
-
"info",
|
|
614
|
-
"warn",
|
|
615
|
-
"error",
|
|
616
|
-
"fatal",
|
|
617
|
-
"TRACE",
|
|
618
|
-
"DEBUG",
|
|
619
|
-
"INFO",
|
|
620
|
-
"WARN",
|
|
621
|
-
"ERROR",
|
|
622
|
-
"FATAL"
|
|
623
|
-
],
|
|
624
|
-
"default": "warn"
|
|
625
|
-
},
|
|
626
|
-
"help": {
|
|
627
|
-
"name": "help",
|
|
628
|
-
"type": "boolean",
|
|
629
|
-
"char": "h",
|
|
630
|
-
"description": "Show CLI help.",
|
|
367
|
+
"description": "Format output as json.",
|
|
368
|
+
"helpGroup": "GLOBAL",
|
|
631
369
|
"allowNo": false
|
|
632
370
|
},
|
|
633
371
|
"sourcefolder": {
|
|
@@ -644,43 +382,15 @@
|
|
|
644
382
|
"char": "a",
|
|
645
383
|
"description": "specify the API version ",
|
|
646
384
|
"multiple": false,
|
|
647
|
-
"default":
|
|
385
|
+
"default": 57
|
|
648
386
|
}
|
|
649
387
|
},
|
|
650
|
-
"args": {}
|
|
651
|
-
"flagsConfig": {
|
|
652
|
-
"help": {
|
|
653
|
-
"kind": "help",
|
|
654
|
-
"description": "Show CLI help.",
|
|
655
|
-
"char": "h",
|
|
656
|
-
"allowNo": false,
|
|
657
|
-
"type": "boolean"
|
|
658
|
-
},
|
|
659
|
-
"sourcefolder": {
|
|
660
|
-
"kind": "directory",
|
|
661
|
-
"char": "s",
|
|
662
|
-
"description": "directory containing sfdx project",
|
|
663
|
-
"default": ".",
|
|
664
|
-
"input": [],
|
|
665
|
-
"multiple": false,
|
|
666
|
-
"type": "option"
|
|
667
|
-
},
|
|
668
|
-
"api": {
|
|
669
|
-
"kind": "integer",
|
|
670
|
-
"char": "a",
|
|
671
|
-
"description": "specify the API version ",
|
|
672
|
-
"default": 56,
|
|
673
|
-
"input": [],
|
|
674
|
-
"multiple": false,
|
|
675
|
-
"type": "option"
|
|
676
|
-
}
|
|
677
|
-
}
|
|
388
|
+
"args": {}
|
|
678
389
|
},
|
|
679
390
|
"tffa:source:createfield": {
|
|
680
391
|
"id": "tffa:source:createfield",
|
|
681
392
|
"description": "Creates an SObject field from the specified parameters.\n By default, created fields (except required) are added to all permission sets in the project. Use the permissionsets parameter to explicitly specify the permission sets.\n \n NOTE: this command does not create the field in the org, it only creates the field meta xml file in the project. source push is required for the field to be created in the org.\n ",
|
|
682
393
|
"strict": true,
|
|
683
|
-
"usage": "<%= command.id %> -s <string> -n <string> -t checkbox|currency|date|datetime|email|number|percent|phone|picklist|picklist-multi|text|textarea|textarea-long|textarea-rich [-r] [-l <number>] [-d <string>] [-p <array>] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]",
|
|
684
394
|
"pluginName": "@terafina/tffa-sfdx-plugin",
|
|
685
395
|
"pluginAlias": "@terafina/tffa-sfdx-plugin",
|
|
686
396
|
"pluginType": "core",
|
|
@@ -699,45 +409,10 @@
|
|
|
699
409
|
"json": {
|
|
700
410
|
"name": "json",
|
|
701
411
|
"type": "boolean",
|
|
702
|
-
"description": "
|
|
412
|
+
"description": "Format output as json.",
|
|
413
|
+
"helpGroup": "GLOBAL",
|
|
703
414
|
"allowNo": false
|
|
704
415
|
},
|
|
705
|
-
"loglevel": {
|
|
706
|
-
"name": "loglevel",
|
|
707
|
-
"type": "option",
|
|
708
|
-
"description": "logging level for this command invocation",
|
|
709
|
-
"required": false,
|
|
710
|
-
"helpValue": "(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)",
|
|
711
|
-
"multiple": false,
|
|
712
|
-
"options": [
|
|
713
|
-
"trace",
|
|
714
|
-
"debug",
|
|
715
|
-
"info",
|
|
716
|
-
"warn",
|
|
717
|
-
"error",
|
|
718
|
-
"fatal",
|
|
719
|
-
"TRACE",
|
|
720
|
-
"DEBUG",
|
|
721
|
-
"INFO",
|
|
722
|
-
"WARN",
|
|
723
|
-
"ERROR",
|
|
724
|
-
"FATAL"
|
|
725
|
-
],
|
|
726
|
-
"default": "warn"
|
|
727
|
-
},
|
|
728
|
-
"targetusername": {
|
|
729
|
-
"name": "targetusername",
|
|
730
|
-
"type": "option",
|
|
731
|
-
"char": "u",
|
|
732
|
-
"description": "username or alias for the target org; overrides default target org",
|
|
733
|
-
"multiple": false
|
|
734
|
-
},
|
|
735
|
-
"apiversion": {
|
|
736
|
-
"name": "apiversion",
|
|
737
|
-
"type": "option",
|
|
738
|
-
"description": "override the api version used for api requests made by this command",
|
|
739
|
-
"multiple": false
|
|
740
|
-
},
|
|
741
416
|
"sobjecttype": {
|
|
742
417
|
"name": "sobjecttype",
|
|
743
418
|
"type": "option",
|
|
@@ -760,7 +435,6 @@
|
|
|
760
435
|
"char": "t",
|
|
761
436
|
"description": "type of the field",
|
|
762
437
|
"required": true,
|
|
763
|
-
"helpValue": "(checkbox|currency|date|datetime|email|number|percent|phone|picklist|picklist-multi|text|textarea|textarea-long|textarea-rich)",
|
|
764
438
|
"multiple": false,
|
|
765
439
|
"options": [
|
|
766
440
|
"checkbox",
|
|
@@ -810,7 +484,8 @@
|
|
|
810
484
|
"char": "p",
|
|
811
485
|
"description": "comma-separated list of permission sets to which the field needs to be added; defaults to all permission sets in the project",
|
|
812
486
|
"required": false,
|
|
813
|
-
"multiple":
|
|
487
|
+
"multiple": true,
|
|
488
|
+
"delimiter": ","
|
|
814
489
|
},
|
|
815
490
|
"valuesetname": {
|
|
816
491
|
"name": "valuesetname",
|
|
@@ -823,99 +498,7 @@
|
|
|
823
498
|
},
|
|
824
499
|
"args": {},
|
|
825
500
|
"requiresUsername": true,
|
|
826
|
-
"requiresProject": true
|
|
827
|
-
"flagsConfig": {
|
|
828
|
-
"sobjecttype": {
|
|
829
|
-
"kind": "string",
|
|
830
|
-
"char": "s",
|
|
831
|
-
"required": true,
|
|
832
|
-
"description": "the API name of the object for which the field needs to be created",
|
|
833
|
-
"input": [],
|
|
834
|
-
"multiple": false,
|
|
835
|
-
"type": "option"
|
|
836
|
-
},
|
|
837
|
-
"name": {
|
|
838
|
-
"kind": "string",
|
|
839
|
-
"char": "n",
|
|
840
|
-
"required": true,
|
|
841
|
-
"description": "the API name of the field",
|
|
842
|
-
"input": [],
|
|
843
|
-
"multiple": false,
|
|
844
|
-
"type": "option"
|
|
845
|
-
},
|
|
846
|
-
"type": {
|
|
847
|
-
"kind": "enum",
|
|
848
|
-
"helpValue": "(checkbox|currency|date|datetime|email|number|percent|phone|picklist|picklist-multi|text|textarea|textarea-long|textarea-rich)",
|
|
849
|
-
"char": "t",
|
|
850
|
-
"required": true,
|
|
851
|
-
"description": "type of the field",
|
|
852
|
-
"default": "text",
|
|
853
|
-
"options": [
|
|
854
|
-
"checkbox",
|
|
855
|
-
"currency",
|
|
856
|
-
"date",
|
|
857
|
-
"datetime",
|
|
858
|
-
"email",
|
|
859
|
-
"number",
|
|
860
|
-
"percent",
|
|
861
|
-
"phone",
|
|
862
|
-
"picklist",
|
|
863
|
-
"picklist-multi",
|
|
864
|
-
"text",
|
|
865
|
-
"textarea",
|
|
866
|
-
"textarea-long",
|
|
867
|
-
"textarea-rich"
|
|
868
|
-
],
|
|
869
|
-
"input": [],
|
|
870
|
-
"multiple": false,
|
|
871
|
-
"type": "option"
|
|
872
|
-
},
|
|
873
|
-
"required": {
|
|
874
|
-
"kind": "boolean",
|
|
875
|
-
"char": "r",
|
|
876
|
-
"required": false,
|
|
877
|
-
"description": "whether field is required; skips addition to permission sets",
|
|
878
|
-
"default": false,
|
|
879
|
-
"allowNo": false,
|
|
880
|
-
"type": "boolean"
|
|
881
|
-
},
|
|
882
|
-
"length": {
|
|
883
|
-
"kind": "number",
|
|
884
|
-
"char": "l",
|
|
885
|
-
"required": false,
|
|
886
|
-
"description": "length of text field or textarea (long|rich) field; defaults to 255 for text field and 1024 for textarea field",
|
|
887
|
-
"input": [],
|
|
888
|
-
"multiple": false,
|
|
889
|
-
"type": "option"
|
|
890
|
-
},
|
|
891
|
-
"description": {
|
|
892
|
-
"kind": "string",
|
|
893
|
-
"char": "d",
|
|
894
|
-
"required": false,
|
|
895
|
-
"description": "description of the field",
|
|
896
|
-
"input": [],
|
|
897
|
-
"multiple": false,
|
|
898
|
-
"type": "option"
|
|
899
|
-
},
|
|
900
|
-
"permissionsets": {
|
|
901
|
-
"kind": "array",
|
|
902
|
-
"char": "p",
|
|
903
|
-
"required": false,
|
|
904
|
-
"description": "comma-separated list of permission sets to which the field needs to be added; defaults to all permission sets in the project",
|
|
905
|
-
"input": [],
|
|
906
|
-
"multiple": false,
|
|
907
|
-
"type": "option"
|
|
908
|
-
},
|
|
909
|
-
"valuesetname": {
|
|
910
|
-
"kind": "string",
|
|
911
|
-
"char": "v",
|
|
912
|
-
"required": false,
|
|
913
|
-
"description": "name of the global value set if the field is a picklist or multi-select picklist type",
|
|
914
|
-
"input": [],
|
|
915
|
-
"multiple": false,
|
|
916
|
-
"type": "option"
|
|
917
|
-
}
|
|
918
|
-
}
|
|
501
|
+
"requiresProject": true
|
|
919
502
|
}
|
|
920
503
|
}
|
|
921
504
|
}
|