@simplysf/simply 2.12.1 → 2.12.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.
- package/README.md +20 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -80,13 +80,16 @@ Purge Apex debug logs.
|
|
|
80
80
|
|
|
81
81
|
```
|
|
82
82
|
USAGE
|
|
83
|
-
$ sf simply apex logs purge -o <value> [--json] [--flags-dir <value>] [--api-version <value>] [-w <value>]
|
|
83
|
+
$ sf simply apex logs purge -o <value> [--json] [--flags-dir <value>] [--api-version <value>] [-w <value>] [-b] [--wait
|
|
84
|
+
<value>]
|
|
84
85
|
|
|
85
86
|
FLAGS
|
|
87
|
+
-b, --use-bulk-api Use Bulk API v2 to query and delete the logs.
|
|
86
88
|
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
87
89
|
configuration variable is already set.
|
|
88
90
|
-w, --where=<value> SOQL WHERE clause
|
|
89
91
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
92
|
+
--wait=<value> Number of minutes to wait for the Bulk API jobs to finish.
|
|
90
93
|
|
|
91
94
|
GLOBAL FLAGS
|
|
92
95
|
--flags-dir=<value> Import flag values from a directory.
|
|
@@ -103,10 +106,26 @@ EXAMPLES
|
|
|
103
106
|
|
|
104
107
|
$ sf simply apex logs purge --target-org myOrg --where "Status = 'Success'"
|
|
105
108
|
|
|
109
|
+
$ sf simply apex logs purge --target-org myOrg --use-bulk-api
|
|
110
|
+
|
|
111
|
+
$ sf simply apex logs purge --target-org myOrg --use-bulk-api --wait 60
|
|
112
|
+
|
|
106
113
|
FLAG DESCRIPTIONS
|
|
114
|
+
-b, --use-bulk-api Use Bulk API v2 to query and delete the logs.
|
|
115
|
+
|
|
116
|
+
Runs the whole purge as two Bulk API v2 jobs instead of a Tooling API query followed by chunked REST deletes. Bulk
|
|
117
|
+
API processes the deletion asynchronously and does not consume the org's REST API request limit, which suits purges
|
|
118
|
+
of tens of thousands of logs. For small purges the default REST path is faster, since it avoids the overhead of
|
|
119
|
+
creating, uploading, and polling a job.
|
|
120
|
+
|
|
107
121
|
-w, --where=<value> SOQL WHERE clause
|
|
108
122
|
|
|
109
123
|
A WHERE clause used to filter which ApexLog records are purged (e.g. "Status = 'Success'").
|
|
124
|
+
|
|
125
|
+
--wait=<value> Number of minutes to wait for the Bulk API jobs to finish.
|
|
126
|
+
|
|
127
|
+
Only applies with --use-bulk-api. The command polls the query and delete jobs until they complete or this timeout
|
|
128
|
+
elapses, then throws.
|
|
110
129
|
```
|
|
111
130
|
|
|
112
131
|
_See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-apex@1.1.18/packages/simply-apex/lib/commands/simply/apex/logs/purge.js)_
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simplysf/simply",
|
|
3
3
|
"description": "Salesforce CLI Plugins created by @SimplySF",
|
|
4
|
-
"version": "2.12.
|
|
4
|
+
"version": "2.12.2",
|
|
5
5
|
"author": "@ClayChipps",
|
|
6
6
|
"homepage": "https://github.com/SimplySF/simply-node",
|
|
7
7
|
"bugs": "https://github.com/SimplySF/simply-node/issues",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
74
|
"@oclif/core": "^4.11.2",
|
|
75
|
-
"@simplysf/simply-apex": "^1.1.
|
|
75
|
+
"@simplysf/simply-apex": "^1.1.19",
|
|
76
76
|
"@simplysf/simply-data": "^2.3.17",
|
|
77
77
|
"@simplysf/simply-document": "^0.3.3",
|
|
78
78
|
"@simplysf/simply-package": "^2.8.7",
|
|
@@ -167,5 +167,5 @@
|
|
|
167
167
|
"output": []
|
|
168
168
|
}
|
|
169
169
|
},
|
|
170
|
-
"gitHead": "
|
|
170
|
+
"gitHead": "fb8e9c1bdde7948f51b8d46fd0727a140bcf5470"
|
|
171
171
|
}
|