@terafina/tffa-sfdx-plugin 17.0.0-rc.8 → 17.0.0
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 +107 -174
- package/lib/commands/tffa/apexdoc.js +11 -10
- 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 +22 -20
- 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 +504 -1
- package/package.json +37 -32
- package/lib/commands/tffa/apexdoc.d.ts +0 -30
- 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 -21
- 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/README.md
CHANGED
|
@@ -41,7 +41,7 @@ $ npm install -g @terafina/tffa-sfdx-plugin
|
|
|
41
41
|
$ sfdx COMMAND
|
|
42
42
|
running command...
|
|
43
43
|
$ sfdx (--version|-v)
|
|
44
|
-
@terafina/tffa-sfdx-plugin/17.0.0
|
|
44
|
+
@terafina/tffa-sfdx-plugin/17.0.0 linux-x64 node-v18.15.0
|
|
45
45
|
$ sfdx --help [COMMAND]
|
|
46
46
|
USAGE
|
|
47
47
|
$ sfdx COMMAND
|
|
@@ -53,14 +53,14 @@ USAGE
|
|
|
53
53
|
|
|
54
54
|
<!-- commands -->
|
|
55
55
|
* [`sfdx help [COMMANDS]`](#sfdx-help-commands)
|
|
56
|
-
* [`sfdx tffa:apexdoc
|
|
57
|
-
* [`sfdx tffa:data:export
|
|
58
|
-
* [`sfdx tffa:data:import
|
|
59
|
-
* [`sfdx tffa:lint
|
|
60
|
-
* [`sfdx tffa:meta
|
|
61
|
-
* [`sfdx tffa:ping
|
|
62
|
-
* [`sfdx tffa:source:apiset
|
|
63
|
-
* [`sfdx tffa:source:createfield
|
|
56
|
+
* [`sfdx tffa:apexdoc`](#sfdx-tffaapexdoc)
|
|
57
|
+
* [`sfdx tffa:data:export`](#sfdx-tffadataexport)
|
|
58
|
+
* [`sfdx tffa:data:import`](#sfdx-tffadataimport)
|
|
59
|
+
* [`sfdx tffa:lint`](#sfdx-tffalint)
|
|
60
|
+
* [`sfdx tffa:meta`](#sfdx-tffameta)
|
|
61
|
+
* [`sfdx tffa:ping`](#sfdx-tffaping)
|
|
62
|
+
* [`sfdx tffa:source:apiset`](#sfdx-tffasourceapiset)
|
|
63
|
+
* [`sfdx tffa:source:createfield`](#sfdx-tffasourcecreatefield)
|
|
64
64
|
* [`sfdx version`](#sfdx-version)
|
|
65
65
|
|
|
66
66
|
## `sfdx help [COMMANDS]`
|
|
@@ -81,24 +81,22 @@ DESCRIPTION
|
|
|
81
81
|
Display help for sfdx.
|
|
82
82
|
```
|
|
83
83
|
|
|
84
|
-
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.2.
|
|
84
|
+
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.2.9/src/commands/help.ts)_
|
|
85
85
|
|
|
86
|
-
## `sfdx tffa:apexdoc
|
|
86
|
+
## `sfdx tffa:apexdoc`
|
|
87
87
|
|
|
88
88
|
Command to generate apex documentation similar to javadoc based on the comments in apex classes.
|
|
89
89
|
|
|
90
90
|
```
|
|
91
91
|
USAGE
|
|
92
|
-
$ sfdx tffa:apexdoc [-s <
|
|
93
|
-
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
92
|
+
$ sfdx tffa:apexdoc [--json] [-s <value>] [-d <value>]
|
|
94
93
|
|
|
95
94
|
FLAGS
|
|
96
|
-
-d, --destfolder=<value>
|
|
97
|
-
-s, --sourcefolder=<value>
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
--
|
|
101
|
-
this command invocation
|
|
95
|
+
-d, --destfolder=<value> directory to generate the api docs
|
|
96
|
+
-s, --sourcefolder=<value> [default: .] directory containing sfdx project
|
|
97
|
+
|
|
98
|
+
GLOBAL FLAGS
|
|
99
|
+
--json Format output as json.
|
|
102
100
|
|
|
103
101
|
DESCRIPTION
|
|
104
102
|
Command to generate apex documentation similar to javadoc based on the comments in apex classes.
|
|
@@ -111,50 +109,33 @@ EXAMPLES
|
|
|
111
109
|
$ sfdx tffa:apexdoc
|
|
112
110
|
```
|
|
113
111
|
|
|
114
|
-
_See code: [src/commands/tffa/apexdoc.ts](https://github.com/terafina/tffa-sfdx-plugin/blob/v17.0.0
|
|
112
|
+
_See code: [src/commands/tffa/apexdoc.ts](https://github.com/terafina/tffa-sfdx-plugin/blob/v17.0.0/src/commands/tffa/apexdoc.ts)_
|
|
115
113
|
|
|
116
|
-
## `sfdx tffa:data:export
|
|
114
|
+
## `sfdx tffa:data:export`
|
|
117
115
|
|
|
118
116
|
Exports records of specified sobject types from target org into JSON file(s). Primarily used for exporting business configurations.
|
|
119
117
|
|
|
120
118
|
```
|
|
121
119
|
USAGE
|
|
122
|
-
$ sfdx tffa:data:export -s <
|
|
123
|
-
[
|
|
120
|
+
$ sfdx tffa:data:export -s <value> [--json] [-d <value>] [-g <value>] [-o <value>] [-c <value>] [-i] [-u <value>]
|
|
121
|
+
[-a <value>]
|
|
124
122
|
|
|
125
123
|
FLAGS
|
|
126
|
-
-
|
|
127
|
-
the child relationships to be included in the exported records; this is not required
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
-o, --orderby=<value>
|
|
139
|
-
the fields to be used for sorting the exported records
|
|
140
|
-
|
|
141
|
-
-s, --skipconfigplan
|
|
142
|
-
skip import of exported record JSON files into configuration plan
|
|
143
|
-
|
|
144
|
-
-s, --sobjecttypes=<value>
|
|
145
|
-
(required) sobject types of records to be exported
|
|
146
|
-
|
|
147
|
-
-u, --targetusername=<value>
|
|
148
|
-
username or alias for the target org; overrides default target org
|
|
149
|
-
|
|
150
|
-
--apiversion=<value>
|
|
151
|
-
override the api version used for api requests made by this command
|
|
152
|
-
|
|
153
|
-
--json
|
|
154
|
-
format output as json
|
|
124
|
+
-a, --api-version=<value> Override the api version used for api requests made by this command
|
|
125
|
+
-c, --children=<value>... the child relationships to be included in the exported records; this is not required
|
|
126
|
+
for tffa package objects. e.g. tffa__Features__r,tffa__Terms__r child relationships are
|
|
127
|
+
auto included when running export command for tffa__Product__c
|
|
128
|
+
-d, --outputdir=<value> [default: ./data/configuration] output directory where the JSON files of exported
|
|
129
|
+
records will be placed
|
|
130
|
+
-g, --groupby=<value> the field to be used for grouping the exported records; records belonging to each group
|
|
131
|
+
are placed in separate JSON files (filename suffixed by group name)
|
|
132
|
+
-i, --skipconfigplan skip import of exported record JSON files into configuration plan
|
|
133
|
+
-o, --orderby=<value>... the fields to be used for sorting the exported records
|
|
134
|
+
-s, --sobjecttypes=<value>... (required) sobject types of records to be exported
|
|
135
|
+
-u, --target-org=<value>
|
|
155
136
|
|
|
156
|
-
|
|
157
|
-
|
|
137
|
+
GLOBAL FLAGS
|
|
138
|
+
--json Format output as json.
|
|
158
139
|
|
|
159
140
|
DESCRIPTION
|
|
160
141
|
Exports records of specified sobject types from target org into JSON file(s). Primarily used for exporting business
|
|
@@ -163,7 +144,7 @@ DESCRIPTION
|
|
|
163
144
|
a default username or specify targetusername explicitly.
|
|
164
145
|
|
|
165
146
|
EXAMPLES
|
|
166
|
-
$ sfdx tffa:data:export --
|
|
147
|
+
$ sfdx tffa:data:export --sobjecttypes tffa__Product__c
|
|
167
148
|
Fetched 101 records of tffa__Product__c
|
|
168
149
|
Writing 24 records to ./data/configuration/Product__c.json
|
|
169
150
|
Writing 30 records to ./data/configuration/Product__c1.json
|
|
@@ -171,7 +152,7 @@ EXAMPLES
|
|
|
171
152
|
Writing 27 records to ./data/configuration/Product__c3.json
|
|
172
153
|
|
|
173
154
|
|
|
174
|
-
$ sfdx tffa:data:export --
|
|
155
|
+
$ sfdx tffa:data:export --sobjecttypes tffa__DisclosureTemplate__c,tffa__DisclosureChecklist__c,tffa__DisclosureMatrix__c
|
|
175
156
|
Fetched 81 records of tffa__DisclosureTemplate__c
|
|
176
157
|
Writing 81 records to ./data/configuration/DisclosureTemplate__c.json
|
|
177
158
|
Fetched 57 records of tffa__DisclosureChecklist__c
|
|
@@ -180,44 +161,31 @@ EXAMPLES
|
|
|
180
161
|
Writing 144 records to ./data/configuration/DisclosureMatrix__c.json
|
|
181
162
|
```
|
|
182
163
|
|
|
183
|
-
_See code: [src/commands/tffa/data/export.ts](https://github.com/terafina/tffa-sfdx-plugin/blob/v17.0.0
|
|
164
|
+
_See code: [src/commands/tffa/data/export.ts](https://github.com/terafina/tffa-sfdx-plugin/blob/v17.0.0/src/commands/tffa/data/export.ts)_
|
|
184
165
|
|
|
185
|
-
## `sfdx tffa:data:import
|
|
166
|
+
## `sfdx tffa:data:import`
|
|
186
167
|
|
|
187
168
|
Imports data into an org using the SObject Bulk Upsert API. This data can include master-detail relationships. Primarily used for importing business configurations.
|
|
188
169
|
|
|
189
170
|
```
|
|
190
171
|
USAGE
|
|
191
|
-
$ sfdx tffa:data:import [-f <
|
|
192
|
-
[--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
172
|
+
$ sfdx tffa:data:import [--json] [-f <value>] [-p <value>] [-s <value>] [-i] [-u <value>] [-a <value>]
|
|
193
173
|
|
|
194
174
|
FLAGS
|
|
195
|
-
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
-i, --forceimport
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
-s, --sobjecttypes=<value>
|
|
208
|
-
comma-delimited, list of sobject types to be imported when using a plan
|
|
175
|
+
-a, --api-version=<value> Override the api version used for api requests made by this command
|
|
176
|
+
-f, --sobjectfiles=<value>... comma-delimited, ordered paths of json files containing collection of record trees to
|
|
177
|
+
upsert
|
|
178
|
+
-i, --forceimport force import all sobject files in a plan ignoring any internal file change tracking;
|
|
179
|
+
applicable to scratch orgs only; forceimport is automatically set if sobjecttypes
|
|
180
|
+
parameter is specified
|
|
181
|
+
-p, --plan=<value> [default: data/configuration/config-data-plan.json] path to plan to upsert multiple
|
|
182
|
+
data files that have master-detail relationships; to restrict the sobject types
|
|
183
|
+
imported using the plan, specify sobjecttypes along with plan
|
|
184
|
+
-s, --sobjecttypes=<value>... comma-delimited, list of sobject types to be imported when using a plan
|
|
185
|
+
-u, --target-org=<value>
|
|
209
186
|
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
--apiversion=<value>
|
|
214
|
-
override the api version used for api requests made by this command
|
|
215
|
-
|
|
216
|
-
--json
|
|
217
|
-
format output as json
|
|
218
|
-
|
|
219
|
-
--loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)
|
|
220
|
-
[default: warn] logging level for this command invocation
|
|
187
|
+
GLOBAL FLAGS
|
|
188
|
+
--json Format output as json.
|
|
221
189
|
|
|
222
190
|
DESCRIPTION
|
|
223
191
|
Imports data into an org using the SObject Bulk Upsert API. This data can include master-detail relationships.
|
|
@@ -268,28 +236,23 @@ EXAMPLES
|
|
|
268
236
|
Importing record(s) and relationships of tffa__AddOnService__c... done
|
|
269
237
|
```
|
|
270
238
|
|
|
271
|
-
_See code: [src/commands/tffa/data/import.ts](https://github.com/terafina/tffa-sfdx-plugin/blob/v17.0.0
|
|
239
|
+
_See code: [src/commands/tffa/data/import.ts](https://github.com/terafina/tffa-sfdx-plugin/blob/v17.0.0/src/commands/tffa/data/import.ts)_
|
|
272
240
|
|
|
273
|
-
## `sfdx tffa:lint
|
|
241
|
+
## `sfdx tffa:lint`
|
|
274
242
|
|
|
275
243
|
Scans a sfdx project and provide a violations report based on defined standards.
|
|
276
244
|
|
|
277
245
|
```
|
|
278
246
|
USAGE
|
|
279
|
-
$ sfdx tffa:lint [-s <
|
|
280
|
-
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
247
|
+
$ sfdx tffa:lint [-j] [-s <value>] [-m <value>] [-r <value>] [-e] [-f]
|
|
281
248
|
|
|
282
249
|
FLAGS
|
|
283
|
-
-e, --eject
|
|
284
|
-
-f, --level
|
|
285
|
-
-j, --json
|
|
286
|
-
-m, --minapi=<value>
|
|
287
|
-
|
|
288
|
-
-
|
|
289
|
-
-s, --sourcefolder=<value> [default: .] directory containing
|
|
290
|
-
sfdx project
|
|
291
|
-
--loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
|
|
292
|
-
this command invocation
|
|
250
|
+
-e, --eject update local pmd ruleset
|
|
251
|
+
-f, --level emit fatal violations only
|
|
252
|
+
-j, --json generate json output
|
|
253
|
+
-m, --minapi=<value> [default: 57] minimum api version to use during quality checks
|
|
254
|
+
-r, --rulesetpath=<value> path to pmd ruleset
|
|
255
|
+
-s, --sourcefolder=<value> [default: .] directory containing sfdx project
|
|
293
256
|
|
|
294
257
|
DESCRIPTION
|
|
295
258
|
Scans a sfdx project and provide a violations report based on defined standards.
|
|
@@ -327,27 +290,26 @@ EXAMPLES
|
|
|
327
290
|
$sfdx tffa:lint
|
|
328
291
|
```
|
|
329
292
|
|
|
330
|
-
_See code: [src/commands/tffa/lint.ts](https://github.com/terafina/tffa-sfdx-plugin/blob/v17.0.0
|
|
293
|
+
_See code: [src/commands/tffa/lint.ts](https://github.com/terafina/tffa-sfdx-plugin/blob/v17.0.0/src/commands/tffa/lint.ts)_
|
|
331
294
|
|
|
332
|
-
## `sfdx tffa:meta
|
|
295
|
+
## `sfdx tffa:meta`
|
|
333
296
|
|
|
334
297
|
Scan a sfdx project for generating metadata summary information
|
|
335
298
|
|
|
336
299
|
```
|
|
337
300
|
USAGE
|
|
338
|
-
$ sfdx tffa:meta [-s <
|
|
339
|
-
[--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
301
|
+
$ sfdx tffa:meta [--json] [-s <value>] [-d <value>] [-c <value>] [-o json|csv|human] [-f]
|
|
340
302
|
|
|
341
303
|
FLAGS
|
|
342
|
-
-c, --clientname=<value>
|
|
343
|
-
-d, --destpath=<value>
|
|
344
|
-
-f, --fields
|
|
345
|
-
-o, --output
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
304
|
+
-c, --clientname=<value> [default: .] name of the client
|
|
305
|
+
-d, --destpath=<value> [default: .] full path output file
|
|
306
|
+
-f, --fields generate field output
|
|
307
|
+
-o, --output=<option> output format json csv human
|
|
308
|
+
<options: json|csv|human>
|
|
309
|
+
-s, --sourcefolder=<value> [default: .] directory containing sfdx project
|
|
310
|
+
|
|
311
|
+
GLOBAL FLAGS
|
|
312
|
+
--json Format output as json.
|
|
351
313
|
|
|
352
314
|
DESCRIPTION
|
|
353
315
|
Scan a sfdx project for generating metadata summary information
|
|
@@ -356,20 +318,18 @@ EXAMPLES
|
|
|
356
318
|
$ sfdx tffa:meta
|
|
357
319
|
```
|
|
358
320
|
|
|
359
|
-
_See code: [src/commands/tffa/meta.ts](https://github.com/terafina/tffa-sfdx-plugin/blob/v17.0.0
|
|
321
|
+
_See code: [src/commands/tffa/meta.ts](https://github.com/terafina/tffa-sfdx-plugin/blob/v17.0.0/src/commands/tffa/meta.ts)_
|
|
360
322
|
|
|
361
|
-
## `sfdx tffa:ping
|
|
323
|
+
## `sfdx tffa:ping`
|
|
362
324
|
|
|
363
325
|
Ping and test the plugin
|
|
364
326
|
|
|
365
327
|
```
|
|
366
328
|
USAGE
|
|
367
|
-
$ sfdx tffa:ping [--json]
|
|
329
|
+
$ sfdx tffa:ping [--json]
|
|
368
330
|
|
|
369
|
-
FLAGS
|
|
370
|
-
--json
|
|
371
|
-
--loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
|
|
372
|
-
this command invocation
|
|
331
|
+
GLOBAL FLAGS
|
|
332
|
+
--json Format output as json.
|
|
373
333
|
|
|
374
334
|
DESCRIPTION
|
|
375
335
|
Ping and test the plugin
|
|
@@ -378,26 +338,22 @@ EXAMPLES
|
|
|
378
338
|
$ sfdx tffa:ping
|
|
379
339
|
```
|
|
380
340
|
|
|
381
|
-
_See code: [src/commands/tffa/ping.ts](https://github.com/terafina/tffa-sfdx-plugin/blob/v17.0.0
|
|
341
|
+
_See code: [src/commands/tffa/ping.ts](https://github.com/terafina/tffa-sfdx-plugin/blob/v17.0.0/src/commands/tffa/ping.ts)_
|
|
382
342
|
|
|
383
|
-
## `sfdx tffa:source:apiset
|
|
343
|
+
## `sfdx tffa:source:apiset`
|
|
384
344
|
|
|
385
345
|
Upgrades the current project and all metadata to the latest API version
|
|
386
346
|
|
|
387
347
|
```
|
|
388
348
|
USAGE
|
|
389
|
-
$ sfdx tffa:source:apiset [
|
|
390
|
-
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
349
|
+
$ sfdx tffa:source:apiset [--json] [-s <value>] [-a <value>]
|
|
391
350
|
|
|
392
351
|
FLAGS
|
|
393
|
-
-a, --api=<value>
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
--json format output as json
|
|
399
|
-
--loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
|
|
400
|
-
this command invocation
|
|
352
|
+
-a, --api=<value> [default: 57] specify the API version
|
|
353
|
+
-s, --sourcefolder=<value> [default: .] directory containing sfdx project
|
|
354
|
+
|
|
355
|
+
GLOBAL FLAGS
|
|
356
|
+
--json Format output as json.
|
|
401
357
|
|
|
402
358
|
DESCRIPTION
|
|
403
359
|
Upgrades the current project and all metadata to the latest API version
|
|
@@ -406,57 +362,34 @@ EXAMPLES
|
|
|
406
362
|
$ sfdx tffa:source:apiset
|
|
407
363
|
```
|
|
408
364
|
|
|
409
|
-
_See code: [src/commands/tffa/source/apiset.ts](https://github.com/terafina/tffa-sfdx-plugin/blob/v17.0.0
|
|
365
|
+
_See code: [src/commands/tffa/source/apiset.ts](https://github.com/terafina/tffa-sfdx-plugin/blob/v17.0.0/src/commands/tffa/source/apiset.ts)_
|
|
410
366
|
|
|
411
|
-
## `sfdx tffa:source:createfield
|
|
367
|
+
## `sfdx tffa:source:createfield`
|
|
412
368
|
|
|
413
369
|
Creates an SObject field from the specified parameters.
|
|
414
370
|
|
|
415
371
|
```
|
|
416
372
|
USAGE
|
|
417
|
-
$ sfdx tffa:source:createfield -s <
|
|
373
|
+
$ sfdx tffa:source:createfield -s <value> -n <value> -t
|
|
418
374
|
checkbox|currency|date|datetime|email|number|percent|phone|picklist|picklist-multi|text|textarea|textarea-long|texta
|
|
419
|
-
rea-rich [-r] [-l <
|
|
420
|
-
[--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
375
|
+
rea-rich [--json] [-r] [-l <value>] [-d <value>] [-p <value>] [-v <value>]
|
|
421
376
|
|
|
422
377
|
FLAGS
|
|
423
|
-
-d, --description=<value>
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
-
|
|
430
|
-
|
|
378
|
+
-d, --description=<value> description of the field
|
|
379
|
+
-l, --length=<value> length of text field or textarea (long|rich) field; defaults to 255 for text field
|
|
380
|
+
and 1024 for textarea field
|
|
381
|
+
-n, --name=<value> (required) the API name of the field
|
|
382
|
+
-p, --permissionsets=<value>... comma-separated list of permission sets to which the field needs to be added;
|
|
383
|
+
defaults to all permission sets in the project
|
|
384
|
+
-r, --required whether field is required; skips addition to permission sets
|
|
385
|
+
-s, --sobjecttype=<value> (required) the API name of the object for which the field needs to be created
|
|
386
|
+
-t, --type=<option> (required) [default: text] type of the field
|
|
387
|
+
<options: checkbox|currency|date|datetime|email|number|percent|phone|picklist|picklis
|
|
388
|
+
t-multi|text|textarea|textarea-long|textarea-rich>
|
|
389
|
+
-v, --valuesetname=<value> name of the global value set if the field is a picklist or multi-select picklist type
|
|
431
390
|
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
project
|
|
435
|
-
|
|
436
|
-
-r, --required
|
|
437
|
-
whether field is required; skips addition to permission sets
|
|
438
|
-
|
|
439
|
-
-s, --sobjecttype=<value>
|
|
440
|
-
(required) the API name of the object for which the field needs to be created
|
|
441
|
-
|
|
442
|
-
-t, --type=(checkbox|currency|date|datetime|email|number|percent|phone|picklist|picklist-multi|text|textarea|textarea-
|
|
443
|
-
long|textarea-rich)
|
|
444
|
-
(required) [default: text] type of the field
|
|
445
|
-
|
|
446
|
-
-u, --targetusername=<value>
|
|
447
|
-
username or alias for the target org; overrides default target org
|
|
448
|
-
|
|
449
|
-
-v, --valuesetname=<value>
|
|
450
|
-
name of the global value set if the field is a picklist or multi-select picklist type
|
|
451
|
-
|
|
452
|
-
--apiversion=<value>
|
|
453
|
-
override the api version used for api requests made by this command
|
|
454
|
-
|
|
455
|
-
--json
|
|
456
|
-
format output as json
|
|
457
|
-
|
|
458
|
-
--loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)
|
|
459
|
-
[default: warn] logging level for this command invocation
|
|
391
|
+
GLOBAL FLAGS
|
|
392
|
+
--json Format output as json.
|
|
460
393
|
|
|
461
394
|
DESCRIPTION
|
|
462
395
|
Creates an SObject field from the specified parameters.
|
|
@@ -493,7 +426,7 @@ EXAMPLES
|
|
|
493
426
|
Creates a long textarea field
|
|
494
427
|
```
|
|
495
428
|
|
|
496
|
-
_See code: [src/commands/tffa/source/createfield.ts](https://github.com/terafina/tffa-sfdx-plugin/blob/v17.0.0
|
|
429
|
+
_See code: [src/commands/tffa/source/createfield.ts](https://github.com/terafina/tffa-sfdx-plugin/blob/v17.0.0/src/commands/tffa/source/createfield.ts)_
|
|
497
430
|
|
|
498
431
|
## `sfdx version`
|
|
499
432
|
|
|
@@ -513,5 +446,5 @@ FLAG DESCRIPTIONS
|
|
|
513
446
|
Additionally shows the architecture, node version, operating system, and versions of plugins that the CLI is using.
|
|
514
447
|
```
|
|
515
448
|
|
|
516
|
-
_See code: [@oclif/plugin-version](https://github.com/oclif/plugin-version/blob/v1.2
|
|
449
|
+
_See code: [@oclif/plugin-version](https://github.com/oclif/plugin-version/blob/v1.3.2/src/commands/version.ts)_
|
|
517
450
|
<!-- commandsstop -->
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
**/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const tslib_1 = require("tslib");
|
|
7
|
-
const command_1 = require("@salesforce/command");
|
|
8
7
|
const Models = tslib_1.__importStar(require("../../services/apexdoc/common/models"));
|
|
9
8
|
const core_1 = require("@salesforce/core");
|
|
10
9
|
const settings_1 = tslib_1.__importStar(require("../../services/apexdoc/common/settings"));
|
|
@@ -14,20 +13,22 @@ const perf_hooks_1 = require("perf_hooks");
|
|
|
14
13
|
const line_reader_1 = tslib_1.__importDefault(require("../../services/apexdoc/common/line-reader"));
|
|
15
14
|
const utils_1 = tslib_1.__importDefault(require("../../services/apexdoc/common/utils"));
|
|
16
15
|
const array_utils_1 = require("../../services/apexdoc/common/array-utils");
|
|
16
|
+
const sf_plugins_core_1 = require("@salesforce/sf-plugins-core");
|
|
17
17
|
core_1.Messages.importMessagesDirectory(__dirname);
|
|
18
18
|
const messages = core_1.Messages.loadMessages('@terafina/tffa-sfdx-plugin', 'apexdoc');
|
|
19
|
-
class ApexDoc extends
|
|
19
|
+
class ApexDoc extends sf_plugins_core_1.SfCommand {
|
|
20
20
|
async run() {
|
|
21
|
-
|
|
21
|
+
this.logger = core_1.Logger.childFromRoot(this.constructor.name);
|
|
22
|
+
const { flags } = await this.parse(ApexDoc);
|
|
23
|
+
await core_1.SfProject.resolve(flags.sourcefolder);
|
|
22
24
|
try {
|
|
23
|
-
settings_1.default.config = settings_1.default.getConfig(settings_1.Feature.ENGINE,
|
|
25
|
+
settings_1.default.config = settings_1.default.getConfig(settings_1.Feature.ENGINE, flags.sourcefolder, flags.destfolder);
|
|
24
26
|
this.generateDocs(settings_1.default.config);
|
|
25
27
|
}
|
|
26
28
|
catch (e) {
|
|
27
29
|
this.logger.error(e);
|
|
28
|
-
throw new core_1.
|
|
30
|
+
throw new core_1.SfError(e.message, 'XMLNotFoundError');
|
|
29
31
|
}
|
|
30
|
-
return '';
|
|
31
32
|
}
|
|
32
33
|
/**
|
|
33
34
|
* Entry point for the program. Called by SFDX on extension activation.
|
|
@@ -264,18 +265,18 @@ class ApexDoc extends command_1.SfdxCommand {
|
|
|
264
265
|
return cModelParent;
|
|
265
266
|
}
|
|
266
267
|
}
|
|
267
|
-
exports.default = ApexDoc;
|
|
268
268
|
ApexDoc.description = messages.getMessage('commandDescription');
|
|
269
269
|
ApexDoc.examples = [`$ sfdx tffa:apexdoc`];
|
|
270
|
-
ApexDoc.
|
|
271
|
-
sourcefolder:
|
|
270
|
+
ApexDoc.flags = {
|
|
271
|
+
sourcefolder: sf_plugins_core_1.Flags.directory({
|
|
272
272
|
char: 's',
|
|
273
273
|
description: messages.getMessage('sourceFolderDescription'),
|
|
274
274
|
default: '.'
|
|
275
275
|
}),
|
|
276
|
-
destfolder:
|
|
276
|
+
destfolder: sf_plugins_core_1.Flags.directory({
|
|
277
277
|
char: 'd',
|
|
278
278
|
description: messages.getMessage('destFolderDescription')
|
|
279
279
|
})
|
|
280
280
|
};
|
|
281
|
+
exports.default = ApexDoc;
|
|
281
282
|
//# sourceMappingURL=apexdoc.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apexdoc.js","sourceRoot":"","sources":["../../../src/commands/tffa/apexdoc.ts"],"names":[],"mappings":";AAAA;;IAEI;;;AAEJ,
|
|
1
|
+
{"version":3,"file":"apexdoc.js","sourceRoot":"","sources":["../../../src/commands/tffa/apexdoc.ts"],"names":[],"mappings":";AAAA;;IAEI;;;AAEJ,qFAA+D;AAC/D,2CAAwE;AAExE,2FAA2E;AAC3E,sGAAqE;AACrE,+BAAgC;AAChC,2CAAyC;AACzC,oGAAmE;AACnE,wFAAwD;AACxD,2EAAiE;AACjE,iEAA+D;AAE/D,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,4BAA4B,EAA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