@simplysf/simply-apex 1.8.14 → 1.8.15
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 +116 -116
- 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@1.8.
|
|
62
|
+
_See code: [lib/commands/simply/apex/execute.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@1.8.15/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@1.8.
|
|
118
|
+
_See code: [lib/commands/simply/apex/logs/purge.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@1.8.15/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@1.8.
|
|
166
|
+
_See code: [lib/commands/simply/apex/test-suite/generate.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@1.8.15/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@1.8.
|
|
226
|
+
_See code: [lib/commands/simply/apex/trace/setup.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@1.8.15/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@1.8.
|
|
290
|
+
_See code: [lib/commands/simply/apex/trace/silence.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@1.8.15/packages/simply-apex/lib/commands/simply/apex/trace/silence.js)_
|
|
291
291
|
<!-- commandsstop -->
|
|
292
292
|
|
|
293
293
|
## License
|
package/oclif.manifest.json
CHANGED
|
@@ -78,6 +78,121 @@
|
|
|
78
78
|
"execute:apex:simply"
|
|
79
79
|
]
|
|
80
80
|
},
|
|
81
|
+
"simply:apex:logs:purge": {
|
|
82
|
+
"aliases": [],
|
|
83
|
+
"args": {},
|
|
84
|
+
"description": "Deletes ApexLog records from the target org. By default all logs are purged; use --where to scope the deletion to a subset of logs.",
|
|
85
|
+
"examples": [
|
|
86
|
+
"<%= config.bin %> <%= command.id %> --target-org myOrg",
|
|
87
|
+
"<%= config.bin %> <%= command.id %> --target-org myOrg --where \"Status = 'Success'\"",
|
|
88
|
+
"<%= config.bin %> <%= command.id %> --target-org myOrg --use-bulk-api",
|
|
89
|
+
"<%= config.bin %> <%= command.id %> --target-org myOrg --use-bulk-api --wait 60"
|
|
90
|
+
],
|
|
91
|
+
"flags": {
|
|
92
|
+
"json": {
|
|
93
|
+
"description": "Format output as json.",
|
|
94
|
+
"helpGroup": "GLOBAL",
|
|
95
|
+
"name": "json",
|
|
96
|
+
"allowNo": false,
|
|
97
|
+
"type": "boolean"
|
|
98
|
+
},
|
|
99
|
+
"flags-dir": {
|
|
100
|
+
"helpGroup": "GLOBAL",
|
|
101
|
+
"name": "flags-dir",
|
|
102
|
+
"summary": "Import flag values from a directory.",
|
|
103
|
+
"hasDynamicHelp": false,
|
|
104
|
+
"multiple": false,
|
|
105
|
+
"type": "option"
|
|
106
|
+
},
|
|
107
|
+
"api-version": {
|
|
108
|
+
"description": "Override the api version used for api requests made by this command",
|
|
109
|
+
"name": "api-version",
|
|
110
|
+
"hasDynamicHelp": false,
|
|
111
|
+
"multiple": false,
|
|
112
|
+
"type": "option"
|
|
113
|
+
},
|
|
114
|
+
"target-org": {
|
|
115
|
+
"char": "o",
|
|
116
|
+
"name": "target-org",
|
|
117
|
+
"noCacheDefault": true,
|
|
118
|
+
"required": true,
|
|
119
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
120
|
+
"hasDynamicHelp": true,
|
|
121
|
+
"multiple": false,
|
|
122
|
+
"type": "option"
|
|
123
|
+
},
|
|
124
|
+
"where": {
|
|
125
|
+
"char": "w",
|
|
126
|
+
"description": "A WHERE clause used to filter which ApexLog records are purged (e.g. \"Status = 'Success'\").",
|
|
127
|
+
"name": "where",
|
|
128
|
+
"summary": "SOQL WHERE clause",
|
|
129
|
+
"hasDynamicHelp": false,
|
|
130
|
+
"multiple": false,
|
|
131
|
+
"type": "option"
|
|
132
|
+
},
|
|
133
|
+
"use-bulk-api": {
|
|
134
|
+
"char": "b",
|
|
135
|
+
"description": "Runs the whole purge as two Bulk API v2 jobs instead of a Tooling API query followed by chunked REST deletes. Bulk API processes the deletion asynchronously and does not consume the org's REST API request limit, which suits purges of tens of thousands of logs. For small purges the default REST path is faster, since it avoids the overhead of creating, uploading, and polling a job.",
|
|
136
|
+
"name": "use-bulk-api",
|
|
137
|
+
"summary": "Use Bulk API v2 to query and delete the logs.",
|
|
138
|
+
"allowNo": false,
|
|
139
|
+
"type": "boolean"
|
|
140
|
+
},
|
|
141
|
+
"wait": {
|
|
142
|
+
"description": "Only applies with --use-bulk-api. The command polls the query and delete jobs until they complete or this timeout elapses, then throws.",
|
|
143
|
+
"name": "wait",
|
|
144
|
+
"summary": "Number of minutes to wait for the Bulk API jobs to finish.",
|
|
145
|
+
"hasDynamicHelp": true,
|
|
146
|
+
"multiple": false,
|
|
147
|
+
"type": "option"
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"hasDynamicHelp": true,
|
|
151
|
+
"hiddenAliases": [],
|
|
152
|
+
"id": "simply:apex:logs:purge",
|
|
153
|
+
"pluginAlias": "@simplysf/simply-apex",
|
|
154
|
+
"pluginName": "@simplysf/simply-apex",
|
|
155
|
+
"pluginType": "core",
|
|
156
|
+
"strict": true,
|
|
157
|
+
"summary": "Purge Apex debug logs.",
|
|
158
|
+
"enableJsonFlag": true,
|
|
159
|
+
"isESM": true,
|
|
160
|
+
"relativePath": [
|
|
161
|
+
"lib",
|
|
162
|
+
"commands",
|
|
163
|
+
"simply",
|
|
164
|
+
"apex",
|
|
165
|
+
"logs",
|
|
166
|
+
"purge.js"
|
|
167
|
+
],
|
|
168
|
+
"aliasPermutations": [],
|
|
169
|
+
"permutations": [
|
|
170
|
+
"simply:apex:logs:purge",
|
|
171
|
+
"apex:simply:logs:purge",
|
|
172
|
+
"apex:logs:simply:purge",
|
|
173
|
+
"apex:logs:purge:simply",
|
|
174
|
+
"simply:logs:apex:purge",
|
|
175
|
+
"logs:simply:apex:purge",
|
|
176
|
+
"logs:apex:simply:purge",
|
|
177
|
+
"logs:apex:purge:simply",
|
|
178
|
+
"simply:logs:purge:apex",
|
|
179
|
+
"logs:simply:purge:apex",
|
|
180
|
+
"logs:purge:simply:apex",
|
|
181
|
+
"logs:purge:apex:simply",
|
|
182
|
+
"simply:apex:purge:logs",
|
|
183
|
+
"apex:simply:purge:logs",
|
|
184
|
+
"apex:purge:simply:logs",
|
|
185
|
+
"apex:purge:logs:simply",
|
|
186
|
+
"simply:purge:apex:logs",
|
|
187
|
+
"purge:simply:apex:logs",
|
|
188
|
+
"purge:apex:simply:logs",
|
|
189
|
+
"purge:apex:logs:simply",
|
|
190
|
+
"simply:purge:logs:apex",
|
|
191
|
+
"purge:simply:logs:apex",
|
|
192
|
+
"purge:logs:simply:apex",
|
|
193
|
+
"purge:logs:apex:simply"
|
|
194
|
+
]
|
|
195
|
+
},
|
|
81
196
|
"simply:apex:trace:setup": {
|
|
82
197
|
"aliases": [],
|
|
83
198
|
"args": {},
|
|
@@ -433,122 +548,7 @@
|
|
|
433
548
|
"generate:test-suite:simply:apex",
|
|
434
549
|
"generate:test-suite:apex:simply"
|
|
435
550
|
]
|
|
436
|
-
},
|
|
437
|
-
"simply:apex:logs:purge": {
|
|
438
|
-
"aliases": [],
|
|
439
|
-
"args": {},
|
|
440
|
-
"description": "Deletes ApexLog records from the target org. By default all logs are purged; use --where to scope the deletion to a subset of logs.",
|
|
441
|
-
"examples": [
|
|
442
|
-
"<%= config.bin %> <%= command.id %> --target-org myOrg",
|
|
443
|
-
"<%= config.bin %> <%= command.id %> --target-org myOrg --where \"Status = 'Success'\"",
|
|
444
|
-
"<%= config.bin %> <%= command.id %> --target-org myOrg --use-bulk-api",
|
|
445
|
-
"<%= config.bin %> <%= command.id %> --target-org myOrg --use-bulk-api --wait 60"
|
|
446
|
-
],
|
|
447
|
-
"flags": {
|
|
448
|
-
"json": {
|
|
449
|
-
"description": "Format output as json.",
|
|
450
|
-
"helpGroup": "GLOBAL",
|
|
451
|
-
"name": "json",
|
|
452
|
-
"allowNo": false,
|
|
453
|
-
"type": "boolean"
|
|
454
|
-
},
|
|
455
|
-
"flags-dir": {
|
|
456
|
-
"helpGroup": "GLOBAL",
|
|
457
|
-
"name": "flags-dir",
|
|
458
|
-
"summary": "Import flag values from a directory.",
|
|
459
|
-
"hasDynamicHelp": false,
|
|
460
|
-
"multiple": false,
|
|
461
|
-
"type": "option"
|
|
462
|
-
},
|
|
463
|
-
"api-version": {
|
|
464
|
-
"description": "Override the api version used for api requests made by this command",
|
|
465
|
-
"name": "api-version",
|
|
466
|
-
"hasDynamicHelp": false,
|
|
467
|
-
"multiple": false,
|
|
468
|
-
"type": "option"
|
|
469
|
-
},
|
|
470
|
-
"target-org": {
|
|
471
|
-
"char": "o",
|
|
472
|
-
"name": "target-org",
|
|
473
|
-
"noCacheDefault": true,
|
|
474
|
-
"required": true,
|
|
475
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
476
|
-
"hasDynamicHelp": true,
|
|
477
|
-
"multiple": false,
|
|
478
|
-
"type": "option"
|
|
479
|
-
},
|
|
480
|
-
"where": {
|
|
481
|
-
"char": "w",
|
|
482
|
-
"description": "A WHERE clause used to filter which ApexLog records are purged (e.g. \"Status = 'Success'\").",
|
|
483
|
-
"name": "where",
|
|
484
|
-
"summary": "SOQL WHERE clause",
|
|
485
|
-
"hasDynamicHelp": false,
|
|
486
|
-
"multiple": false,
|
|
487
|
-
"type": "option"
|
|
488
|
-
},
|
|
489
|
-
"use-bulk-api": {
|
|
490
|
-
"char": "b",
|
|
491
|
-
"description": "Runs the whole purge as two Bulk API v2 jobs instead of a Tooling API query followed by chunked REST deletes. Bulk API processes the deletion asynchronously and does not consume the org's REST API request limit, which suits purges of tens of thousands of logs. For small purges the default REST path is faster, since it avoids the overhead of creating, uploading, and polling a job.",
|
|
492
|
-
"name": "use-bulk-api",
|
|
493
|
-
"summary": "Use Bulk API v2 to query and delete the logs.",
|
|
494
|
-
"allowNo": false,
|
|
495
|
-
"type": "boolean"
|
|
496
|
-
},
|
|
497
|
-
"wait": {
|
|
498
|
-
"description": "Only applies with --use-bulk-api. The command polls the query and delete jobs until they complete or this timeout elapses, then throws.",
|
|
499
|
-
"name": "wait",
|
|
500
|
-
"summary": "Number of minutes to wait for the Bulk API jobs to finish.",
|
|
501
|
-
"hasDynamicHelp": true,
|
|
502
|
-
"multiple": false,
|
|
503
|
-
"type": "option"
|
|
504
|
-
}
|
|
505
|
-
},
|
|
506
|
-
"hasDynamicHelp": true,
|
|
507
|
-
"hiddenAliases": [],
|
|
508
|
-
"id": "simply:apex:logs:purge",
|
|
509
|
-
"pluginAlias": "@simplysf/simply-apex",
|
|
510
|
-
"pluginName": "@simplysf/simply-apex",
|
|
511
|
-
"pluginType": "core",
|
|
512
|
-
"strict": true,
|
|
513
|
-
"summary": "Purge Apex debug logs.",
|
|
514
|
-
"enableJsonFlag": true,
|
|
515
|
-
"isESM": true,
|
|
516
|
-
"relativePath": [
|
|
517
|
-
"lib",
|
|
518
|
-
"commands",
|
|
519
|
-
"simply",
|
|
520
|
-
"apex",
|
|
521
|
-
"logs",
|
|
522
|
-
"purge.js"
|
|
523
|
-
],
|
|
524
|
-
"aliasPermutations": [],
|
|
525
|
-
"permutations": [
|
|
526
|
-
"simply:apex:logs:purge",
|
|
527
|
-
"apex:simply:logs:purge",
|
|
528
|
-
"apex:logs:simply:purge",
|
|
529
|
-
"apex:logs:purge:simply",
|
|
530
|
-
"simply:logs:apex:purge",
|
|
531
|
-
"logs:simply:apex:purge",
|
|
532
|
-
"logs:apex:simply:purge",
|
|
533
|
-
"logs:apex:purge:simply",
|
|
534
|
-
"simply:logs:purge:apex",
|
|
535
|
-
"logs:simply:purge:apex",
|
|
536
|
-
"logs:purge:simply:apex",
|
|
537
|
-
"logs:purge:apex:simply",
|
|
538
|
-
"simply:apex:purge:logs",
|
|
539
|
-
"apex:simply:purge:logs",
|
|
540
|
-
"apex:purge:simply:logs",
|
|
541
|
-
"apex:purge:logs:simply",
|
|
542
|
-
"simply:purge:apex:logs",
|
|
543
|
-
"purge:simply:apex:logs",
|
|
544
|
-
"purge:apex:simply:logs",
|
|
545
|
-
"purge:apex:logs:simply",
|
|
546
|
-
"simply:purge:logs:apex",
|
|
547
|
-
"purge:simply:logs:apex",
|
|
548
|
-
"purge:logs:simply:apex",
|
|
549
|
-
"purge:logs:apex:simply"
|
|
550
|
-
]
|
|
551
551
|
}
|
|
552
552
|
},
|
|
553
|
-
"version": "1.8.
|
|
553
|
+
"version": "1.8.15"
|
|
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": "1.8.
|
|
4
|
+
"version": "1.8.15",
|
|
5
5
|
"author": "@ClayChipps",
|
|
6
6
|
"homepage": "https://github.com/SimplySF/simply-plugins",
|
|
7
7
|
"bugs": "https://github.com/SimplySF/simply-plugins/issues",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"@salesforce/core": "^8.30.0",
|
|
72
72
|
"@salesforce/kit": "^3.2.6",
|
|
73
73
|
"@salesforce/sf-plugins-core": "^12.2.16",
|
|
74
|
-
"@simplysf/simply-apex-core": "^0.3.
|
|
74
|
+
"@simplysf/simply-apex-core": "^0.3.16",
|
|
75
75
|
"@simplysf/simply-core": "^1.6.7",
|
|
76
76
|
"@simplysf/simply-plugin-kit": "^1.0.9"
|
|
77
77
|
},
|
|
@@ -212,5 +212,5 @@
|
|
|
212
212
|
"output": []
|
|
213
213
|
}
|
|
214
214
|
},
|
|
215
|
-
"gitHead": "
|
|
215
|
+
"gitHead": "5fbbea0c2351079d0d40ce1ec089760de4f60bb9"
|
|
216
216
|
}
|