@simplysf/simply-apex 1.8.16 → 2.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 +5 -5
- package/oclif.manifest.json +101 -101
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -59,7 +59,7 @@ FLAG DESCRIPTIONS
|
|
|
59
59
|
The path to the local .apex file containing the anonymous Apex code to execute.
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
-
_See code: [lib/commands/simply/apex/execute.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@
|
|
62
|
+
_See code: [lib/commands/simply/apex/execute.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@2.0.0/packages/simply-apex/lib/commands/simply/apex/execute.js)_
|
|
63
63
|
|
|
64
64
|
## `sf simply apex logs purge`
|
|
65
65
|
|
|
@@ -115,7 +115,7 @@ FLAG DESCRIPTIONS
|
|
|
115
115
|
elapses, then throws.
|
|
116
116
|
```
|
|
117
117
|
|
|
118
|
-
_See code: [lib/commands/simply/apex/logs/purge.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@
|
|
118
|
+
_See code: [lib/commands/simply/apex/logs/purge.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@2.0.0/packages/simply-apex/lib/commands/simply/apex/logs/purge.js)_
|
|
119
119
|
|
|
120
120
|
## `sf simply apex test-suite generate`
|
|
121
121
|
|
|
@@ -163,7 +163,7 @@ FLAG DESCRIPTIONS
|
|
|
163
163
|
pass that directory explicitly, e.g. force-app/main/default/testSuites.
|
|
164
164
|
```
|
|
165
165
|
|
|
166
|
-
_See code: [lib/commands/simply/apex/test-suite/generate.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@
|
|
166
|
+
_See code: [lib/commands/simply/apex/test-suite/generate.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@2.0.0/packages/simply-apex/lib/commands/simply/apex/test-suite/generate.js)_
|
|
167
167
|
|
|
168
168
|
## `sf simply apex trace setup`
|
|
169
169
|
|
|
@@ -223,7 +223,7 @@ FLAG DESCRIPTIONS
|
|
|
223
223
|
Defaults to the current date/time.
|
|
224
224
|
```
|
|
225
225
|
|
|
226
|
-
_See code: [lib/commands/simply/apex/trace/setup.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@
|
|
226
|
+
_See code: [lib/commands/simply/apex/trace/setup.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@2.0.0/packages/simply-apex/lib/commands/simply/apex/trace/setup.js)_
|
|
227
227
|
|
|
228
228
|
## `sf simply apex trace silence`
|
|
229
229
|
|
|
@@ -287,7 +287,7 @@ FLAG DESCRIPTIONS
|
|
|
287
287
|
Adds di_Binding, di_Module, di_PlatformCache, and di_Injector to the classes to silence.
|
|
288
288
|
```
|
|
289
289
|
|
|
290
|
-
_See code: [lib/commands/simply/apex/trace/silence.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@
|
|
290
|
+
_See code: [lib/commands/simply/apex/trace/silence.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@2.0.0/packages/simply-apex/lib/commands/simply/apex/trace/silence.js)_
|
|
291
291
|
<!-- commandsstop -->
|
|
292
292
|
|
|
293
293
|
## License
|
package/oclif.manifest.json
CHANGED
|
@@ -78,106 +78,6 @@
|
|
|
78
78
|
"execute:apex:simply"
|
|
79
79
|
]
|
|
80
80
|
},
|
|
81
|
-
"simply:apex:test-suite:generate": {
|
|
82
|
-
"aliases": [],
|
|
83
|
-
"args": {},
|
|
84
|
-
"description": "Scans one or more source directories for Apex classes, keeps only the ones whose first meaningful line (skipping leading blank lines and comments) is an @IsTest annotation, and writes an ApexTestSuite metadata file listing them. Every run regenerates the file from scratch based on the current state of --source-dir; an existing file with the same name is always overwritten.",
|
|
85
|
-
"examples": [
|
|
86
|
-
"<%= config.bin %> <%= command.id %> --source-dir force-app/main/default/classes --name My_Suite --output-dir force-app/main/default/testSuites",
|
|
87
|
-
"<%= config.bin %> <%= command.id %> --source-dir force-app/main/default/classes --source-dir force-app/extra/classes --name All_Tests --output-dir force-app/main/default/testSuites"
|
|
88
|
-
],
|
|
89
|
-
"flags": {
|
|
90
|
-
"json": {
|
|
91
|
-
"description": "Format output as json.",
|
|
92
|
-
"helpGroup": "GLOBAL",
|
|
93
|
-
"name": "json",
|
|
94
|
-
"allowNo": false,
|
|
95
|
-
"type": "boolean"
|
|
96
|
-
},
|
|
97
|
-
"flags-dir": {
|
|
98
|
-
"helpGroup": "GLOBAL",
|
|
99
|
-
"name": "flags-dir",
|
|
100
|
-
"summary": "Import flag values from a directory.",
|
|
101
|
-
"hasDynamicHelp": false,
|
|
102
|
-
"multiple": false,
|
|
103
|
-
"type": "option"
|
|
104
|
-
},
|
|
105
|
-
"source-dir": {
|
|
106
|
-
"char": "d",
|
|
107
|
-
"description": "One or more directories to scan, recursively, for Apex classes. Only classes whose first meaningful line is an @IsTest annotation are included in the generated suite.",
|
|
108
|
-
"name": "source-dir",
|
|
109
|
-
"required": true,
|
|
110
|
-
"summary": "Directories to scan for Apex classes",
|
|
111
|
-
"hasDynamicHelp": false,
|
|
112
|
-
"multiple": true,
|
|
113
|
-
"type": "option"
|
|
114
|
-
},
|
|
115
|
-
"name": {
|
|
116
|
-
"char": "n",
|
|
117
|
-
"description": "The API name for the generated test suite; also used to derive the output filename, <name>.testSuite-meta.xml.",
|
|
118
|
-
"name": "name",
|
|
119
|
-
"required": true,
|
|
120
|
-
"summary": "API name for the test suite",
|
|
121
|
-
"hasDynamicHelp": false,
|
|
122
|
-
"multiple": false,
|
|
123
|
-
"type": "option"
|
|
124
|
-
},
|
|
125
|
-
"output-dir": {
|
|
126
|
-
"description": "The directory to write the generated ApexTestSuite metadata file to. Not automatically suffixed with testSuites/ — pass that directory explicitly, e.g. force-app/main/default/testSuites.",
|
|
127
|
-
"name": "output-dir",
|
|
128
|
-
"required": true,
|
|
129
|
-
"summary": "Output directory",
|
|
130
|
-
"hasDynamicHelp": false,
|
|
131
|
-
"multiple": false,
|
|
132
|
-
"type": "option"
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
"hasDynamicHelp": false,
|
|
136
|
-
"hiddenAliases": [],
|
|
137
|
-
"id": "simply:apex:test-suite:generate",
|
|
138
|
-
"pluginAlias": "@simplysf/simply-apex",
|
|
139
|
-
"pluginName": "@simplysf/simply-apex",
|
|
140
|
-
"pluginType": "core",
|
|
141
|
-
"strict": true,
|
|
142
|
-
"summary": "Generate an Apex test suite from source.",
|
|
143
|
-
"enableJsonFlag": true,
|
|
144
|
-
"isESM": true,
|
|
145
|
-
"relativePath": [
|
|
146
|
-
"lib",
|
|
147
|
-
"commands",
|
|
148
|
-
"simply",
|
|
149
|
-
"apex",
|
|
150
|
-
"test-suite",
|
|
151
|
-
"generate.js"
|
|
152
|
-
],
|
|
153
|
-
"aliasPermutations": [],
|
|
154
|
-
"permutations": [
|
|
155
|
-
"simply:apex:test-suite:generate",
|
|
156
|
-
"apex:simply:test-suite:generate",
|
|
157
|
-
"apex:test-suite:simply:generate",
|
|
158
|
-
"apex:test-suite:generate:simply",
|
|
159
|
-
"simply:test-suite:apex:generate",
|
|
160
|
-
"test-suite:simply:apex:generate",
|
|
161
|
-
"test-suite:apex:simply:generate",
|
|
162
|
-
"test-suite:apex:generate:simply",
|
|
163
|
-
"simply:test-suite:generate:apex",
|
|
164
|
-
"test-suite:simply:generate:apex",
|
|
165
|
-
"test-suite:generate:simply:apex",
|
|
166
|
-
"test-suite:generate:apex:simply",
|
|
167
|
-
"simply:apex:generate:test-suite",
|
|
168
|
-
"apex:simply:generate:test-suite",
|
|
169
|
-
"apex:generate:simply:test-suite",
|
|
170
|
-
"apex:generate:test-suite:simply",
|
|
171
|
-
"simply:generate:apex:test-suite",
|
|
172
|
-
"generate:simply:apex:test-suite",
|
|
173
|
-
"generate:apex:simply:test-suite",
|
|
174
|
-
"generate:apex:test-suite:simply",
|
|
175
|
-
"simply:generate:test-suite:apex",
|
|
176
|
-
"generate:simply:test-suite:apex",
|
|
177
|
-
"generate:test-suite:simply:apex",
|
|
178
|
-
"generate:test-suite:apex:simply"
|
|
179
|
-
]
|
|
180
|
-
},
|
|
181
81
|
"simply:apex:logs:purge": {
|
|
182
82
|
"aliases": [],
|
|
183
83
|
"args": {},
|
|
@@ -293,6 +193,106 @@
|
|
|
293
193
|
"purge:logs:apex:simply"
|
|
294
194
|
]
|
|
295
195
|
},
|
|
196
|
+
"simply:apex:test-suite:generate": {
|
|
197
|
+
"aliases": [],
|
|
198
|
+
"args": {},
|
|
199
|
+
"description": "Scans one or more source directories for Apex classes, keeps only the ones whose first meaningful line (skipping leading blank lines and comments) is an @IsTest annotation, and writes an ApexTestSuite metadata file listing them. Every run regenerates the file from scratch based on the current state of --source-dir; an existing file with the same name is always overwritten.",
|
|
200
|
+
"examples": [
|
|
201
|
+
"<%= config.bin %> <%= command.id %> --source-dir force-app/main/default/classes --name My_Suite --output-dir force-app/main/default/testSuites",
|
|
202
|
+
"<%= config.bin %> <%= command.id %> --source-dir force-app/main/default/classes --source-dir force-app/extra/classes --name All_Tests --output-dir force-app/main/default/testSuites"
|
|
203
|
+
],
|
|
204
|
+
"flags": {
|
|
205
|
+
"json": {
|
|
206
|
+
"description": "Format output as json.",
|
|
207
|
+
"helpGroup": "GLOBAL",
|
|
208
|
+
"name": "json",
|
|
209
|
+
"allowNo": false,
|
|
210
|
+
"type": "boolean"
|
|
211
|
+
},
|
|
212
|
+
"flags-dir": {
|
|
213
|
+
"helpGroup": "GLOBAL",
|
|
214
|
+
"name": "flags-dir",
|
|
215
|
+
"summary": "Import flag values from a directory.",
|
|
216
|
+
"hasDynamicHelp": false,
|
|
217
|
+
"multiple": false,
|
|
218
|
+
"type": "option"
|
|
219
|
+
},
|
|
220
|
+
"source-dir": {
|
|
221
|
+
"char": "d",
|
|
222
|
+
"description": "One or more directories to scan, recursively, for Apex classes. Only classes whose first meaningful line is an @IsTest annotation are included in the generated suite.",
|
|
223
|
+
"name": "source-dir",
|
|
224
|
+
"required": true,
|
|
225
|
+
"summary": "Directories to scan for Apex classes",
|
|
226
|
+
"hasDynamicHelp": false,
|
|
227
|
+
"multiple": true,
|
|
228
|
+
"type": "option"
|
|
229
|
+
},
|
|
230
|
+
"name": {
|
|
231
|
+
"char": "n",
|
|
232
|
+
"description": "The API name for the generated test suite; also used to derive the output filename, <name>.testSuite-meta.xml.",
|
|
233
|
+
"name": "name",
|
|
234
|
+
"required": true,
|
|
235
|
+
"summary": "API name for the test suite",
|
|
236
|
+
"hasDynamicHelp": false,
|
|
237
|
+
"multiple": false,
|
|
238
|
+
"type": "option"
|
|
239
|
+
},
|
|
240
|
+
"output-dir": {
|
|
241
|
+
"description": "The directory to write the generated ApexTestSuite metadata file to. Not automatically suffixed with testSuites/ — pass that directory explicitly, e.g. force-app/main/default/testSuites.",
|
|
242
|
+
"name": "output-dir",
|
|
243
|
+
"required": true,
|
|
244
|
+
"summary": "Output directory",
|
|
245
|
+
"hasDynamicHelp": false,
|
|
246
|
+
"multiple": false,
|
|
247
|
+
"type": "option"
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
"hasDynamicHelp": false,
|
|
251
|
+
"hiddenAliases": [],
|
|
252
|
+
"id": "simply:apex:test-suite:generate",
|
|
253
|
+
"pluginAlias": "@simplysf/simply-apex",
|
|
254
|
+
"pluginName": "@simplysf/simply-apex",
|
|
255
|
+
"pluginType": "core",
|
|
256
|
+
"strict": true,
|
|
257
|
+
"summary": "Generate an Apex test suite from source.",
|
|
258
|
+
"enableJsonFlag": true,
|
|
259
|
+
"isESM": true,
|
|
260
|
+
"relativePath": [
|
|
261
|
+
"lib",
|
|
262
|
+
"commands",
|
|
263
|
+
"simply",
|
|
264
|
+
"apex",
|
|
265
|
+
"test-suite",
|
|
266
|
+
"generate.js"
|
|
267
|
+
],
|
|
268
|
+
"aliasPermutations": [],
|
|
269
|
+
"permutations": [
|
|
270
|
+
"simply:apex:test-suite:generate",
|
|
271
|
+
"apex:simply:test-suite:generate",
|
|
272
|
+
"apex:test-suite:simply:generate",
|
|
273
|
+
"apex:test-suite:generate:simply",
|
|
274
|
+
"simply:test-suite:apex:generate",
|
|
275
|
+
"test-suite:simply:apex:generate",
|
|
276
|
+
"test-suite:apex:simply:generate",
|
|
277
|
+
"test-suite:apex:generate:simply",
|
|
278
|
+
"simply:test-suite:generate:apex",
|
|
279
|
+
"test-suite:simply:generate:apex",
|
|
280
|
+
"test-suite:generate:simply:apex",
|
|
281
|
+
"test-suite:generate:apex:simply",
|
|
282
|
+
"simply:apex:generate:test-suite",
|
|
283
|
+
"apex:simply:generate:test-suite",
|
|
284
|
+
"apex:generate:simply:test-suite",
|
|
285
|
+
"apex:generate:test-suite:simply",
|
|
286
|
+
"simply:generate:apex:test-suite",
|
|
287
|
+
"generate:simply:apex:test-suite",
|
|
288
|
+
"generate:apex:simply:test-suite",
|
|
289
|
+
"generate:apex:test-suite:simply",
|
|
290
|
+
"simply:generate:test-suite:apex",
|
|
291
|
+
"generate:simply:test-suite:apex",
|
|
292
|
+
"generate:test-suite:simply:apex",
|
|
293
|
+
"generate:test-suite:apex:simply"
|
|
294
|
+
]
|
|
295
|
+
},
|
|
296
296
|
"simply:apex:trace:setup": {
|
|
297
297
|
"aliases": [],
|
|
298
298
|
"args": {},
|
|
@@ -550,5 +550,5 @@
|
|
|
550
550
|
]
|
|
551
551
|
}
|
|
552
552
|
},
|
|
553
|
-
"version": "
|
|
553
|
+
"version": "2.0.0"
|
|
554
554
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simplysf/simply-apex",
|
|
3
3
|
"description": "Utilities for working with Apex",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "2.0.0",
|
|
5
5
|
"author": "@ClayChipps",
|
|
6
6
|
"homepage": "https://github.com/SimplySF/simply-plugins",
|
|
7
7
|
"bugs": "https://github.com/SimplySF/simply-plugins/issues",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"@salesforce/kit": "^3.2.6",
|
|
73
73
|
"@salesforce/sf-plugins-core": "^12.2.16",
|
|
74
74
|
"@simplysf/simply-apex-core": "^0.3.16",
|
|
75
|
-
"@simplysf/simply-core": "^1.6.
|
|
75
|
+
"@simplysf/simply-core": "^1.6.11",
|
|
76
76
|
"@simplysf/simply-plugin-kit": "^1.0.9"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
@@ -212,5 +212,5 @@
|
|
|
212
212
|
"output": []
|
|
213
213
|
}
|
|
214
214
|
},
|
|
215
|
-
"gitHead": "
|
|
215
|
+
"gitHead": "b8c437281cdbf26710c7f7be2849de72910d6f7f"
|
|
216
216
|
}
|