rflib-plugin 0.19.4 → 0.19.5
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/oclif.lock +54 -54
- package/oclif.manifest.json +402 -402
- package/package.json +2 -2
package/oclif.lock
CHANGED
|
@@ -1115,10 +1115,10 @@
|
|
|
1115
1115
|
resolved "https://registry.npmjs.org/@inquirer/ansi/-/ansi-1.0.2.tgz"
|
|
1116
1116
|
integrity sha512-S8qNSZiYzFd0wAcyG5AXCvUHC5Sr7xpZ9wZ2py9XR88jUz8wooStVx5M6dRzczbBWjic9NP7+rY0Xi7qqK/aMQ==
|
|
1117
1117
|
|
|
1118
|
-
"@inquirer/ansi@^2.0.
|
|
1119
|
-
version "2.0.
|
|
1120
|
-
resolved "https://registry.yarnpkg.com/@inquirer/ansi/-/ansi-2.0.
|
|
1121
|
-
integrity sha512-
|
|
1118
|
+
"@inquirer/ansi@^2.0.7":
|
|
1119
|
+
version "2.0.7"
|
|
1120
|
+
resolved "https://registry.yarnpkg.com/@inquirer/ansi/-/ansi-2.0.7.tgz#86de22810cac3ed406ec10f8d66016815b8226b4"
|
|
1121
|
+
integrity sha512-3eTuUO1vH2cZm2ZKHeQxnOqlTi9EfZDGgIe3BL3I4u+rJHocr9Fz86M4fjYABPvFnQG/gGK551HqDiIcETwU6Q==
|
|
1122
1122
|
|
|
1123
1123
|
"@inquirer/checkbox@^4.3.2":
|
|
1124
1124
|
version "4.3.2"
|
|
@@ -1147,13 +1147,13 @@
|
|
|
1147
1147
|
"@inquirer/core" "^10.3.2"
|
|
1148
1148
|
"@inquirer/type" "^3.0.10"
|
|
1149
1149
|
|
|
1150
|
-
"@inquirer/confirm@^6.
|
|
1151
|
-
version "6.
|
|
1152
|
-
resolved "https://registry.yarnpkg.com/@inquirer/confirm/-/confirm-6.
|
|
1153
|
-
integrity sha512-
|
|
1150
|
+
"@inquirer/confirm@^6.1.1":
|
|
1151
|
+
version "6.1.1"
|
|
1152
|
+
resolved "https://registry.yarnpkg.com/@inquirer/confirm/-/confirm-6.1.1.tgz#9c6a7d79c6132b2af57fdb75747f056204e55356"
|
|
1153
|
+
integrity sha512-eb8DBZcz/2qHWQda4rk2JiQk5h9QV/cVHi1yjt0f69WFZMRFn0sJTye3EAP8icut8UDMjQPsaH5KbcOogefrFQ==
|
|
1154
1154
|
dependencies:
|
|
1155
|
-
"@inquirer/core" "^11.1
|
|
1156
|
-
"@inquirer/type" "^4.0.
|
|
1155
|
+
"@inquirer/core" "^11.2.1"
|
|
1156
|
+
"@inquirer/type" "^4.0.7"
|
|
1157
1157
|
|
|
1158
1158
|
"@inquirer/core@^10.3.2":
|
|
1159
1159
|
version "10.3.2"
|
|
@@ -1169,14 +1169,14 @@
|
|
|
1169
1169
|
wrap-ansi "^6.2.0"
|
|
1170
1170
|
yoctocolors-cjs "^2.1.3"
|
|
1171
1171
|
|
|
1172
|
-
"@inquirer/core@^11.1
|
|
1173
|
-
version "11.1
|
|
1174
|
-
resolved "https://registry.yarnpkg.com/@inquirer/core/-/core-11.1.
|
|
1175
|
-
integrity sha512-
|
|
1172
|
+
"@inquirer/core@^11.2.1":
|
|
1173
|
+
version "11.2.1"
|
|
1174
|
+
resolved "https://registry.yarnpkg.com/@inquirer/core/-/core-11.2.1.tgz#54ccd8f7d47852140b6066cbd77d63b2c2b168fd"
|
|
1175
|
+
integrity sha512-Qd6GJT1yVyrZZCfN8W2qKF5ApmqryXRhRKCuip8h01x2w/esJQ2XIYc6f9abMIHgKQdBfFTSOdbHRLAhuM09UA==
|
|
1176
1176
|
dependencies:
|
|
1177
|
-
"@inquirer/ansi" "^2.0.
|
|
1178
|
-
"@inquirer/figures" "^2.0.
|
|
1179
|
-
"@inquirer/type" "^4.0.
|
|
1177
|
+
"@inquirer/ansi" "^2.0.7"
|
|
1178
|
+
"@inquirer/figures" "^2.0.7"
|
|
1179
|
+
"@inquirer/type" "^4.0.7"
|
|
1180
1180
|
cli-width "^4.1.0"
|
|
1181
1181
|
fast-wrap-ansi "^0.2.0"
|
|
1182
1182
|
mute-stream "^3.0.0"
|
|
@@ -1231,10 +1231,10 @@
|
|
|
1231
1231
|
resolved "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.15.tgz"
|
|
1232
1232
|
integrity sha512-t2IEY+unGHOzAaVM5Xx6DEWKeXlDDcNPeDyUpsRc6CUhBfU3VQOEl+Vssh7VNp1dR8MdUJBWhuObjXCsVpjN5g==
|
|
1233
1233
|
|
|
1234
|
-
"@inquirer/figures@^2.0.
|
|
1235
|
-
version "2.0.
|
|
1236
|
-
resolved "https://registry.yarnpkg.com/@inquirer/figures/-/figures-2.0.
|
|
1237
|
-
integrity sha512-
|
|
1234
|
+
"@inquirer/figures@^2.0.7":
|
|
1235
|
+
version "2.0.7"
|
|
1236
|
+
resolved "https://registry.yarnpkg.com/@inquirer/figures/-/figures-2.0.7.tgz#f5cc5843732a81304d06a0db4b53cc7dbda15541"
|
|
1237
|
+
integrity sha512-aJ8TBPOGB6f/2qziPfElISTCEd5XOYTFckA2SGjhNmiKzfK/u4ot3v0DUzGVdUnKjN10EqnnEPck36BkyfLnJw==
|
|
1238
1238
|
|
|
1239
1239
|
"@inquirer/input@^2.2.4":
|
|
1240
1240
|
version "2.3.0"
|
|
@@ -1269,14 +1269,14 @@
|
|
|
1269
1269
|
"@inquirer/core" "^10.3.2"
|
|
1270
1270
|
"@inquirer/type" "^3.0.10"
|
|
1271
1271
|
|
|
1272
|
-
"@inquirer/password@^5.
|
|
1273
|
-
version "5.
|
|
1274
|
-
resolved "https://registry.yarnpkg.com/@inquirer/password/-/password-5.
|
|
1275
|
-
integrity sha512-
|
|
1272
|
+
"@inquirer/password@^5.1.1":
|
|
1273
|
+
version "5.1.1"
|
|
1274
|
+
resolved "https://registry.yarnpkg.com/@inquirer/password/-/password-5.1.1.tgz#f21efb614da9c905095262f51781fd2a721fceac"
|
|
1275
|
+
integrity sha512-3XBfF7DAsp5qeDsvN5Rd1HmbNokVvEQoUM0QLrRcybC9nX96w3Pbmu7qUsb3IT3J3jBvs2+mTXaKHOUsgHMLzg==
|
|
1276
1276
|
dependencies:
|
|
1277
|
-
"@inquirer/ansi" "^2.0.
|
|
1278
|
-
"@inquirer/core" "^11.1
|
|
1279
|
-
"@inquirer/type" "^4.0.
|
|
1277
|
+
"@inquirer/ansi" "^2.0.7"
|
|
1278
|
+
"@inquirer/core" "^11.2.1"
|
|
1279
|
+
"@inquirer/type" "^4.0.7"
|
|
1280
1280
|
|
|
1281
1281
|
"@inquirer/prompts@^7.10.1":
|
|
1282
1282
|
version "7.10.1"
|
|
@@ -1354,10 +1354,10 @@
|
|
|
1354
1354
|
resolved "https://registry.npmjs.org/@inquirer/type/-/type-3.0.10.tgz"
|
|
1355
1355
|
integrity sha512-BvziSRxfz5Ov8ch0z/n3oijRSEcEsHnhggm4xFZe93DHcUCTlutlq9Ox4SVENAfcRD22UQq7T/atg9Wr3k09eA==
|
|
1356
1356
|
|
|
1357
|
-
"@inquirer/type@^4.0.
|
|
1358
|
-
version "4.0.
|
|
1359
|
-
resolved "https://registry.yarnpkg.com/@inquirer/type/-/type-4.0.
|
|
1360
|
-
integrity sha512-
|
|
1357
|
+
"@inquirer/type@^4.0.7":
|
|
1358
|
+
version "4.0.7"
|
|
1359
|
+
resolved "https://registry.yarnpkg.com/@inquirer/type/-/type-4.0.7.tgz#9c6f0d857fe6ad549a3a932343b64e76acb34b10"
|
|
1360
|
+
integrity sha512-t28inv14nMQ1PhKpsJPY+kEs/c00qzeCOS2gTNRyTjG5d6qsVA2fItxW4hkvGZ5lvanGLdtCzVIx5dwdRpN1+g==
|
|
1361
1361
|
|
|
1362
1362
|
"@isaacs/cliui@^8.0.2":
|
|
1363
1363
|
version "8.0.2"
|
|
@@ -1521,10 +1521,10 @@
|
|
|
1521
1521
|
"@nodelib/fs.scandir" "2.1.5"
|
|
1522
1522
|
fastq "^1.6.0"
|
|
1523
1523
|
|
|
1524
|
-
"@oclif/core@^4", "@oclif/core@^4.10.5", "@oclif/core@^4.11.2":
|
|
1525
|
-
version "4.11.
|
|
1526
|
-
resolved "https://registry.yarnpkg.com/@oclif/core/-/core-4.11.
|
|
1527
|
-
integrity sha512-
|
|
1524
|
+
"@oclif/core@^4", "@oclif/core@^4.10.5", "@oclif/core@^4.11.2", "@oclif/core@^4.11.4":
|
|
1525
|
+
version "4.11.4"
|
|
1526
|
+
resolved "https://registry.yarnpkg.com/@oclif/core/-/core-4.11.4.tgz#14082760c0b8e677331aeba3f32e6bf75e2556c0"
|
|
1527
|
+
integrity sha512-URwiQ5ALx/sJ2iH4vzXEd+H4K6NAI7LRs6Jag3hrgKEpGmaE6alfRC8qjO4GIgb6A3ACaJumqP9twi/M9ywdHQ==
|
|
1528
1528
|
dependencies:
|
|
1529
1529
|
ansi-escapes "^4.3.2"
|
|
1530
1530
|
ansis "^3.17.0"
|
|
@@ -1537,7 +1537,7 @@
|
|
|
1537
1537
|
is-wsl "^2.2.0"
|
|
1538
1538
|
lilconfig "^3.1.3"
|
|
1539
1539
|
minimatch "^10.2.5"
|
|
1540
|
-
semver "^7.8.
|
|
1540
|
+
semver "^7.8.1"
|
|
1541
1541
|
string-width "^4.2.3"
|
|
1542
1542
|
supports-color "^8"
|
|
1543
1543
|
tinyglobby "^0.2.16"
|
|
@@ -1589,10 +1589,10 @@
|
|
|
1589
1589
|
lodash "^4.17.23"
|
|
1590
1590
|
registry-auth-token "^5.1.1"
|
|
1591
1591
|
|
|
1592
|
-
"@oclif/table@^0.5.
|
|
1593
|
-
version "0.5.
|
|
1594
|
-
resolved "https://registry.yarnpkg.com/@oclif/table/-/table-0.5.
|
|
1595
|
-
integrity sha512
|
|
1592
|
+
"@oclif/table@^0.5.9":
|
|
1593
|
+
version "0.5.9"
|
|
1594
|
+
resolved "https://registry.yarnpkg.com/@oclif/table/-/table-0.5.9.tgz#e9d119c424eabb8c20da044fafabf2f55c40966b"
|
|
1595
|
+
integrity sha512-/bvSRF38rrZ8O3hsChEKb98bEpmY7GAMeMU5hRkt73RCEoAo1UuRKX4IO0zlkD6UooSs30LfEMJeSU2NZOkndA==
|
|
1596
1596
|
dependencies:
|
|
1597
1597
|
"@types/react" "^18.3.12"
|
|
1598
1598
|
change-case "^5.4.4"
|
|
@@ -1677,10 +1677,10 @@
|
|
|
1677
1677
|
strip-ansi "6.0.1"
|
|
1678
1678
|
ts-retry-promise "^0.8.1"
|
|
1679
1679
|
|
|
1680
|
-
"@salesforce/core@^8.23.1", "@salesforce/core@^8.27.1", "@salesforce/core@^8.30.
|
|
1681
|
-
version "8.
|
|
1682
|
-
resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-8.
|
|
1683
|
-
integrity sha512-
|
|
1680
|
+
"@salesforce/core@^8.23.1", "@salesforce/core@^8.27.1", "@salesforce/core@^8.30.3", "@salesforce/core@^8.31.0":
|
|
1681
|
+
version "8.31.0"
|
|
1682
|
+
resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-8.31.0.tgz#153beb193af8fce73d31cc39afee794c4c1ee1c0"
|
|
1683
|
+
integrity sha512-TXQoR7Bs0Dk5AuNY8eaNRhMeLDLcpJ8su7LVxn7VVfnRxITrRh4gkSuOAXdBKAqx0WcjRONDs1twedaOE7Xu4Q==
|
|
1684
1684
|
dependencies:
|
|
1685
1685
|
"@jsforce/jsforce-node" "^3.10.13"
|
|
1686
1686
|
"@salesforce/kit" "^3.2.4"
|
|
@@ -1751,16 +1751,16 @@
|
|
|
1751
1751
|
resolved "https://registry.npmjs.org/@salesforce/prettier-config/-/prettier-config-0.0.3.tgz"
|
|
1752
1752
|
integrity sha512-hYOhoPTCSYMDYn+U1rlEk16PoBeAJPkrdg4/UtAzupM1mRRJOwEPMG1d7U8DxJFKuXW3DMEYWr2MwAIBDaHmFg==
|
|
1753
1753
|
|
|
1754
|
-
"@salesforce/sf-plugins-core@^12.2.
|
|
1755
|
-
version "12.2.
|
|
1756
|
-
resolved "https://registry.yarnpkg.com/@salesforce/sf-plugins-core/-/sf-plugins-core-12.2.
|
|
1757
|
-
integrity sha512
|
|
1754
|
+
"@salesforce/sf-plugins-core@^12.2.24":
|
|
1755
|
+
version "12.2.24"
|
|
1756
|
+
resolved "https://registry.yarnpkg.com/@salesforce/sf-plugins-core/-/sf-plugins-core-12.2.24.tgz#ead41c7e4b49a60bc72a52737a2eaacc686ec35c"
|
|
1757
|
+
integrity sha512-+lc7QMRz19Uk9f3lJO442LrUMvrRrfX6+xe1w42PihWjjoXpF9fZfZ7zk7H2WDF56PTo5SMJMrb5PjneiIrH3Q==
|
|
1758
1758
|
dependencies:
|
|
1759
|
-
"@inquirer/confirm" "^6.
|
|
1760
|
-
"@inquirer/password" "^5.
|
|
1761
|
-
"@oclif/core" "^4.11.
|
|
1762
|
-
"@oclif/table" "^0.5.
|
|
1763
|
-
"@salesforce/core" "^8.
|
|
1759
|
+
"@inquirer/confirm" "^6.1.1"
|
|
1760
|
+
"@inquirer/password" "^5.1.1"
|
|
1761
|
+
"@oclif/core" "^4.11.4"
|
|
1762
|
+
"@oclif/table" "^0.5.9"
|
|
1763
|
+
"@salesforce/core" "^8.31.0"
|
|
1764
1764
|
"@salesforce/kit" "^3.2.3"
|
|
1765
1765
|
"@salesforce/ts-types" "^2.0.12"
|
|
1766
1766
|
ansis "^3.3.2"
|
package/oclif.manifest.json
CHANGED
|
@@ -228,325 +228,6 @@
|
|
|
228
228
|
"get:logarchives:debug:rflib"
|
|
229
229
|
]
|
|
230
230
|
},
|
|
231
|
-
"rflib:debug:loggersettings:get": {
|
|
232
|
-
"aliases": [],
|
|
233
|
-
"args": {},
|
|
234
|
-
"description": "Retrieves all rflib_Logger_Settings__c hierarchy custom setting records from the target org via the Salesforce REST API.\nReturns settings across org-wide defaults, profile overrides, and user overrides, along with embedded best-practice recommendations.\n\nUse \"sf rflib debug loggersettings update\" to apply changes.\n\nRequires the RFLIB base package to be installed in the target org and the running user to be assigned the rflib_Ops_Center_Access permission set (or have equivalent read access to rflib_Logger_Settings__c).\nFor installation instructions, visit: https://github.com/j-fischer/rflib",
|
|
235
|
-
"examples": [
|
|
236
|
-
"Read all logger settings from the target org:\n$ sf rflib debug loggersettings get --target-org myOrg"
|
|
237
|
-
],
|
|
238
|
-
"flags": {
|
|
239
|
-
"json": {
|
|
240
|
-
"description": "Format output as json.",
|
|
241
|
-
"helpGroup": "GLOBAL",
|
|
242
|
-
"name": "json",
|
|
243
|
-
"allowNo": false,
|
|
244
|
-
"type": "boolean"
|
|
245
|
-
},
|
|
246
|
-
"flags-dir": {
|
|
247
|
-
"helpGroup": "GLOBAL",
|
|
248
|
-
"name": "flags-dir",
|
|
249
|
-
"summary": "Import flag values from a directory.",
|
|
250
|
-
"hasDynamicHelp": false,
|
|
251
|
-
"multiple": false,
|
|
252
|
-
"type": "option"
|
|
253
|
-
},
|
|
254
|
-
"target-org": {
|
|
255
|
-
"char": "o",
|
|
256
|
-
"description": "The username or alias of the Salesforce org containing the RFLIB base package.",
|
|
257
|
-
"name": "target-org",
|
|
258
|
-
"noCacheDefault": true,
|
|
259
|
-
"required": true,
|
|
260
|
-
"summary": "Username or alias of the target org.",
|
|
261
|
-
"hasDynamicHelp": true,
|
|
262
|
-
"multiple": false,
|
|
263
|
-
"type": "option"
|
|
264
|
-
}
|
|
265
|
-
},
|
|
266
|
-
"hasDynamicHelp": true,
|
|
267
|
-
"hiddenAliases": [],
|
|
268
|
-
"id": "rflib:debug:loggersettings:get",
|
|
269
|
-
"pluginAlias": "rflib-plugin",
|
|
270
|
-
"pluginName": "rflib-plugin",
|
|
271
|
-
"pluginType": "core",
|
|
272
|
-
"strict": true,
|
|
273
|
-
"summary": "Read all RFLIB Logger Settings from a Salesforce org.",
|
|
274
|
-
"enableJsonFlag": true,
|
|
275
|
-
"isESM": true,
|
|
276
|
-
"relativePath": [
|
|
277
|
-
"lib",
|
|
278
|
-
"commands",
|
|
279
|
-
"rflib",
|
|
280
|
-
"debug",
|
|
281
|
-
"loggersettings",
|
|
282
|
-
"get.js"
|
|
283
|
-
],
|
|
284
|
-
"aliasPermutations": [],
|
|
285
|
-
"permutations": [
|
|
286
|
-
"rflib:debug:loggersettings:get",
|
|
287
|
-
"debug:rflib:loggersettings:get",
|
|
288
|
-
"debug:loggersettings:rflib:get",
|
|
289
|
-
"debug:loggersettings:get:rflib",
|
|
290
|
-
"rflib:loggersettings:debug:get",
|
|
291
|
-
"loggersettings:rflib:debug:get",
|
|
292
|
-
"loggersettings:debug:rflib:get",
|
|
293
|
-
"loggersettings:debug:get:rflib",
|
|
294
|
-
"rflib:loggersettings:get:debug",
|
|
295
|
-
"loggersettings:rflib:get:debug",
|
|
296
|
-
"loggersettings:get:rflib:debug",
|
|
297
|
-
"loggersettings:get:debug:rflib",
|
|
298
|
-
"rflib:debug:get:loggersettings",
|
|
299
|
-
"debug:rflib:get:loggersettings",
|
|
300
|
-
"debug:get:rflib:loggersettings",
|
|
301
|
-
"debug:get:loggersettings:rflib",
|
|
302
|
-
"rflib:get:debug:loggersettings",
|
|
303
|
-
"get:rflib:debug:loggersettings",
|
|
304
|
-
"get:debug:rflib:loggersettings",
|
|
305
|
-
"get:debug:loggersettings:rflib",
|
|
306
|
-
"rflib:get:loggersettings:debug",
|
|
307
|
-
"get:rflib:loggersettings:debug",
|
|
308
|
-
"get:loggersettings:rflib:debug",
|
|
309
|
-
"get:loggersettings:debug:rflib"
|
|
310
|
-
]
|
|
311
|
-
},
|
|
312
|
-
"rflib:debug:loggersettings:update": {
|
|
313
|
-
"aliases": [],
|
|
314
|
-
"args": {},
|
|
315
|
-
"description": "Creates or updates a single field on an rflib_Logger_Settings__c record in the target org via the Salesforce REST API.\nValidates field values and warns about best-practice violations.\n\nTo update an existing record, provide --record-id. To create a new record, provide --setup-owner-id with an org ID (00D...), profile ID (00E...), or user ID.\n\nRequires the RFLIB base package to be installed in the target org and the running user to be assigned the rflib_Ops_Center_Access permission set (or have equivalent update access to rflib_Logger_Settings__c).\nFor installation instructions, visit: https://github.com/j-fischer/rflib",
|
|
316
|
-
"examples": [
|
|
317
|
-
"Update the Log_Event_Reporting_Level__c field on an existing record:\n$ sf rflib debug loggersettings update --target-org myOrg --record-id a0A000000001234 --field-name Log_Event_Reporting_Level__c --field-value WARN",
|
|
318
|
-
"Create a new org-wide Logger Setting:\n$ sf rflib debug loggersettings update --target-org myOrg --setup-owner-id 00D000000000001 --field-name Log_Event_Reporting_Level__c --field-value WARN"
|
|
319
|
-
],
|
|
320
|
-
"flags": {
|
|
321
|
-
"json": {
|
|
322
|
-
"description": "Format output as json.",
|
|
323
|
-
"helpGroup": "GLOBAL",
|
|
324
|
-
"name": "json",
|
|
325
|
-
"allowNo": false,
|
|
326
|
-
"type": "boolean"
|
|
327
|
-
},
|
|
328
|
-
"flags-dir": {
|
|
329
|
-
"helpGroup": "GLOBAL",
|
|
330
|
-
"name": "flags-dir",
|
|
331
|
-
"summary": "Import flag values from a directory.",
|
|
332
|
-
"hasDynamicHelp": false,
|
|
333
|
-
"multiple": false,
|
|
334
|
-
"type": "option"
|
|
335
|
-
},
|
|
336
|
-
"target-org": {
|
|
337
|
-
"char": "o",
|
|
338
|
-
"description": "The username or alias of the Salesforce org containing the RFLIB base package.",
|
|
339
|
-
"name": "target-org",
|
|
340
|
-
"noCacheDefault": true,
|
|
341
|
-
"required": true,
|
|
342
|
-
"summary": "Username or alias of the target org.",
|
|
343
|
-
"hasDynamicHelp": true,
|
|
344
|
-
"multiple": false,
|
|
345
|
-
"type": "option"
|
|
346
|
-
},
|
|
347
|
-
"field-name": {
|
|
348
|
-
"char": "f",
|
|
349
|
-
"description": "The API name of the field to create or update, e.g. Log_Event_Reporting_Level__c. For log level fields, valid values are: TRACE, DEBUG, INFO, WARN, ERROR, FATAL, NONE.",
|
|
350
|
-
"name": "field-name",
|
|
351
|
-
"required": true,
|
|
352
|
-
"summary": "API name of the rflib_Logger_Settings__c field to update.",
|
|
353
|
-
"hasDynamicHelp": false,
|
|
354
|
-
"multiple": false,
|
|
355
|
-
"type": "option"
|
|
356
|
-
},
|
|
357
|
-
"field-value": {
|
|
358
|
-
"char": "v",
|
|
359
|
-
"description": "The new value to set on the specified field. For log level fields, valid values are: TRACE, DEBUG, INFO, WARN, ERROR, FATAL, NONE.",
|
|
360
|
-
"name": "field-value",
|
|
361
|
-
"required": true,
|
|
362
|
-
"summary": "New value for the specified field.",
|
|
363
|
-
"hasDynamicHelp": false,
|
|
364
|
-
"multiple": false,
|
|
365
|
-
"type": "option"
|
|
366
|
-
},
|
|
367
|
-
"record-id": {
|
|
368
|
-
"char": "r",
|
|
369
|
-
"description": "The Salesforce record ID of an existing rflib_Logger_Settings__c record to update. Omit this flag to create a new record (requires --setup-owner-id).",
|
|
370
|
-
"name": "record-id",
|
|
371
|
-
"summary": "ID of an existing rflib_Logger_Settings__c record to update.",
|
|
372
|
-
"hasDynamicHelp": false,
|
|
373
|
-
"multiple": false,
|
|
374
|
-
"type": "option"
|
|
375
|
-
},
|
|
376
|
-
"setup-owner-id": {
|
|
377
|
-
"char": "s",
|
|
378
|
-
"description": "Required when creating a new Logger Setting record. Accepts an org ID (00D...), profile ID (00E...), or user ID. Read existing record IDs using \"sf rflib debug loggersettings get\".",
|
|
379
|
-
"name": "setup-owner-id",
|
|
380
|
-
"summary": "Setup owner ID for creating a new Logger Setting record.",
|
|
381
|
-
"hasDynamicHelp": false,
|
|
382
|
-
"multiple": false,
|
|
383
|
-
"type": "option"
|
|
384
|
-
}
|
|
385
|
-
},
|
|
386
|
-
"hasDynamicHelp": true,
|
|
387
|
-
"hiddenAliases": [],
|
|
388
|
-
"id": "rflib:debug:loggersettings:update",
|
|
389
|
-
"pluginAlias": "rflib-plugin",
|
|
390
|
-
"pluginName": "rflib-plugin",
|
|
391
|
-
"pluginType": "core",
|
|
392
|
-
"strict": true,
|
|
393
|
-
"summary": "Create or update an RFLIB Logger Setting in a Salesforce org.",
|
|
394
|
-
"enableJsonFlag": true,
|
|
395
|
-
"isESM": true,
|
|
396
|
-
"relativePath": [
|
|
397
|
-
"lib",
|
|
398
|
-
"commands",
|
|
399
|
-
"rflib",
|
|
400
|
-
"debug",
|
|
401
|
-
"loggersettings",
|
|
402
|
-
"update.js"
|
|
403
|
-
],
|
|
404
|
-
"aliasPermutations": [],
|
|
405
|
-
"permutations": [
|
|
406
|
-
"rflib:debug:loggersettings:update",
|
|
407
|
-
"debug:rflib:loggersettings:update",
|
|
408
|
-
"debug:loggersettings:rflib:update",
|
|
409
|
-
"debug:loggersettings:update:rflib",
|
|
410
|
-
"rflib:loggersettings:debug:update",
|
|
411
|
-
"loggersettings:rflib:debug:update",
|
|
412
|
-
"loggersettings:debug:rflib:update",
|
|
413
|
-
"loggersettings:debug:update:rflib",
|
|
414
|
-
"rflib:loggersettings:update:debug",
|
|
415
|
-
"loggersettings:rflib:update:debug",
|
|
416
|
-
"loggersettings:update:rflib:debug",
|
|
417
|
-
"loggersettings:update:debug:rflib",
|
|
418
|
-
"rflib:debug:update:loggersettings",
|
|
419
|
-
"debug:rflib:update:loggersettings",
|
|
420
|
-
"debug:update:rflib:loggersettings",
|
|
421
|
-
"debug:update:loggersettings:rflib",
|
|
422
|
-
"rflib:update:debug:loggersettings",
|
|
423
|
-
"update:rflib:debug:loggersettings",
|
|
424
|
-
"update:debug:rflib:loggersettings",
|
|
425
|
-
"update:debug:loggersettings:rflib",
|
|
426
|
-
"rflib:update:loggersettings:debug",
|
|
427
|
-
"update:rflib:loggersettings:debug",
|
|
428
|
-
"update:loggersettings:rflib:debug",
|
|
429
|
-
"update:loggersettings:debug:rflib"
|
|
430
|
-
]
|
|
431
|
-
},
|
|
432
|
-
"rflib:debug:userpermissions:get": {
|
|
433
|
-
"aliases": [],
|
|
434
|
-
"args": {},
|
|
435
|
-
"description": "Retrieves FLS (Field-Level Security), OLS (Object-Level Security), and Apex class/page permissions for a specific user\nvia the Salesforce REST API. Permissions are aggregated across the user's profile, permission sets, and permission set groups.\n\nUse --sobject-type to narrow FLS or OLS results to a specific SObject.\n\nRequires the RFLIB base package to be installed in the target org and the running user to be assigned the rflib_Ops_Center_Access permission set (or have equivalent read access to the relevant permission objects).\nFor installation instructions, visit: https://github.com/j-fischer/rflib",
|
|
436
|
-
"examples": [
|
|
437
|
-
"Check all permissions for a user:\n$ sf rflib debug userpermissions get --target-org myOrg --user-id 0057000000XXXXXX --permission-type ALL",
|
|
438
|
-
"Check FLS for a specific object:\n$ sf rflib debug userpermissions get --target-org myOrg --user-id 0057000000XXXXXX --permission-type FLS --sobject-type Account",
|
|
439
|
-
"Check Apex access:\n$ sf rflib debug userpermissions get --target-org myOrg --user-id 0057000000XXXXXX --permission-type APEX"
|
|
440
|
-
],
|
|
441
|
-
"flags": {
|
|
442
|
-
"json": {
|
|
443
|
-
"description": "Format output as json.",
|
|
444
|
-
"helpGroup": "GLOBAL",
|
|
445
|
-
"name": "json",
|
|
446
|
-
"allowNo": false,
|
|
447
|
-
"type": "boolean"
|
|
448
|
-
},
|
|
449
|
-
"flags-dir": {
|
|
450
|
-
"helpGroup": "GLOBAL",
|
|
451
|
-
"name": "flags-dir",
|
|
452
|
-
"summary": "Import flag values from a directory.",
|
|
453
|
-
"hasDynamicHelp": false,
|
|
454
|
-
"multiple": false,
|
|
455
|
-
"type": "option"
|
|
456
|
-
},
|
|
457
|
-
"target-org": {
|
|
458
|
-
"char": "o",
|
|
459
|
-
"description": "The username or alias of the Salesforce org containing the RFLIB base package.",
|
|
460
|
-
"name": "target-org",
|
|
461
|
-
"noCacheDefault": true,
|
|
462
|
-
"required": true,
|
|
463
|
-
"summary": "Username or alias of the target org.",
|
|
464
|
-
"hasDynamicHelp": true,
|
|
465
|
-
"multiple": false,
|
|
466
|
-
"type": "option"
|
|
467
|
-
},
|
|
468
|
-
"user-id": {
|
|
469
|
-
"char": "u",
|
|
470
|
-
"description": "The Salesforce User ID (15 or 18 characters) of the user whose permissions should be retrieved.",
|
|
471
|
-
"name": "user-id",
|
|
472
|
-
"required": true,
|
|
473
|
-
"summary": "Salesforce User ID (15 or 18 character) to check permissions for.",
|
|
474
|
-
"hasDynamicHelp": false,
|
|
475
|
-
"multiple": false,
|
|
476
|
-
"type": "option"
|
|
477
|
-
},
|
|
478
|
-
"permission-type": {
|
|
479
|
-
"char": "t",
|
|
480
|
-
"description": "Controls which permission types are returned:\n - FLS: Field-Level Security only\n - OLS: Object-Level Security only\n - APEX: Apex class and page access only\n - ALL: All three permission types",
|
|
481
|
-
"name": "permission-type",
|
|
482
|
-
"required": true,
|
|
483
|
-
"summary": "Type of permissions to retrieve: FLS, OLS, APEX, or ALL.",
|
|
484
|
-
"hasDynamicHelp": false,
|
|
485
|
-
"multiple": false,
|
|
486
|
-
"options": [
|
|
487
|
-
"FLS",
|
|
488
|
-
"OLS",
|
|
489
|
-
"APEX",
|
|
490
|
-
"ALL"
|
|
491
|
-
],
|
|
492
|
-
"type": "option"
|
|
493
|
-
},
|
|
494
|
-
"sobject-type": {
|
|
495
|
-
"char": "b",
|
|
496
|
-
"description": "Filters Field-Level Security or Object-Level Security results to a specific SObject type, e.g. Account, Contact, Opportunity.",
|
|
497
|
-
"name": "sobject-type",
|
|
498
|
-
"summary": "Optional SObject API name to filter FLS or OLS results.",
|
|
499
|
-
"hasDynamicHelp": false,
|
|
500
|
-
"multiple": false,
|
|
501
|
-
"type": "option"
|
|
502
|
-
}
|
|
503
|
-
},
|
|
504
|
-
"hasDynamicHelp": true,
|
|
505
|
-
"hiddenAliases": [],
|
|
506
|
-
"id": "rflib:debug:userpermissions:get",
|
|
507
|
-
"pluginAlias": "rflib-plugin",
|
|
508
|
-
"pluginName": "rflib-plugin",
|
|
509
|
-
"pluginType": "core",
|
|
510
|
-
"strict": true,
|
|
511
|
-
"summary": "Check Salesforce permissions for a user in the target org.",
|
|
512
|
-
"enableJsonFlag": true,
|
|
513
|
-
"isESM": true,
|
|
514
|
-
"relativePath": [
|
|
515
|
-
"lib",
|
|
516
|
-
"commands",
|
|
517
|
-
"rflib",
|
|
518
|
-
"debug",
|
|
519
|
-
"userpermissions",
|
|
520
|
-
"get.js"
|
|
521
|
-
],
|
|
522
|
-
"aliasPermutations": [],
|
|
523
|
-
"permutations": [
|
|
524
|
-
"rflib:debug:userpermissions:get",
|
|
525
|
-
"debug:rflib:userpermissions:get",
|
|
526
|
-
"debug:userpermissions:rflib:get",
|
|
527
|
-
"debug:userpermissions:get:rflib",
|
|
528
|
-
"rflib:userpermissions:debug:get",
|
|
529
|
-
"userpermissions:rflib:debug:get",
|
|
530
|
-
"userpermissions:debug:rflib:get",
|
|
531
|
-
"userpermissions:debug:get:rflib",
|
|
532
|
-
"rflib:userpermissions:get:debug",
|
|
533
|
-
"userpermissions:rflib:get:debug",
|
|
534
|
-
"userpermissions:get:rflib:debug",
|
|
535
|
-
"userpermissions:get:debug:rflib",
|
|
536
|
-
"rflib:debug:get:userpermissions",
|
|
537
|
-
"debug:rflib:get:userpermissions",
|
|
538
|
-
"debug:get:rflib:userpermissions",
|
|
539
|
-
"debug:get:userpermissions:rflib",
|
|
540
|
-
"rflib:get:debug:userpermissions",
|
|
541
|
-
"get:rflib:debug:userpermissions",
|
|
542
|
-
"get:debug:rflib:userpermissions",
|
|
543
|
-
"get:debug:userpermissions:rflib",
|
|
544
|
-
"rflib:get:userpermissions:debug",
|
|
545
|
-
"get:rflib:userpermissions:debug",
|
|
546
|
-
"get:userpermissions:rflib:debug",
|
|
547
|
-
"get:userpermissions:debug:rflib"
|
|
548
|
-
]
|
|
549
|
-
},
|
|
550
231
|
"rflib:logging:apex:instrument": {
|
|
551
232
|
"aliases": [],
|
|
552
233
|
"args": {},
|
|
@@ -714,118 +395,319 @@
|
|
|
714
395
|
"multiple": false,
|
|
715
396
|
"type": "option"
|
|
716
397
|
},
|
|
717
|
-
"sourcepath": {
|
|
718
|
-
"char": "s",
|
|
719
|
-
"description": "Path to the source directory containing Aura components that should be instrumented with RFLIB logging statements. The command will:\n- Scan for 'aura' directories recursively\n- Process all Aura components found\n- Add <c:rflibLoggerCmp> to component files\n- Add logging statements to JavaScript files\n- Initialize logger in methods using component.find()",
|
|
720
|
-
"name": "sourcepath",
|
|
398
|
+
"sourcepath": {
|
|
399
|
+
"char": "s",
|
|
400
|
+
"description": "Path to the source directory containing Aura components that should be instrumented with RFLIB logging statements. The command will:\n- Scan for 'aura' directories recursively\n- Process all Aura components found\n- Add <c:rflibLoggerCmp> to component files\n- Add logging statements to JavaScript files\n- Initialize logger in methods using component.find()",
|
|
401
|
+
"name": "sourcepath",
|
|
402
|
+
"required": true,
|
|
403
|
+
"summary": "Directory containing Aura components to instrument with logging.",
|
|
404
|
+
"hasDynamicHelp": false,
|
|
405
|
+
"multiple": false,
|
|
406
|
+
"type": "option"
|
|
407
|
+
},
|
|
408
|
+
"dryrun": {
|
|
409
|
+
"char": "d",
|
|
410
|
+
"description": "When enabled, shows which files would be modified without making actual changes. Useful for reviewing the impact before applying changes. Shows:\n- Files that would be modified\n- Number of processed files\n- Number of modified files\n- Number of formatted files",
|
|
411
|
+
"name": "dryrun",
|
|
412
|
+
"summary": "Preview changes without modifying files.",
|
|
413
|
+
"allowNo": false,
|
|
414
|
+
"type": "boolean"
|
|
415
|
+
},
|
|
416
|
+
"prettier": {
|
|
417
|
+
"char": "p",
|
|
418
|
+
"description": "When enabled, formats the modified JavaScript files using Prettier after adding logging statements. Maintains consistent code style with:\n- 120 character line width\n- 4 space indentation\n- Single quotes for strings\n- No tabs\n- No trailing commas",
|
|
419
|
+
"name": "prettier",
|
|
420
|
+
"summary": "Format modified files using Prettier.",
|
|
421
|
+
"allowNo": false,
|
|
422
|
+
"type": "boolean"
|
|
423
|
+
},
|
|
424
|
+
"no-if": {
|
|
425
|
+
"description": "When provided, the command will not add log statements inside of `if` and `else` blocks.",
|
|
426
|
+
"name": "no-if",
|
|
427
|
+
"summary": "Exclude the instrumentation of if-else statements.",
|
|
428
|
+
"allowNo": false,
|
|
429
|
+
"type": "boolean"
|
|
430
|
+
},
|
|
431
|
+
"skip-instrumented": {
|
|
432
|
+
"description": "When provided, the command will not add log statements to any Aura component that contains the `` component.",
|
|
433
|
+
"name": "skip-instrumented",
|
|
434
|
+
"summary": "Skips any files where a logger is already present.",
|
|
435
|
+
"allowNo": false,
|
|
436
|
+
"type": "boolean"
|
|
437
|
+
},
|
|
438
|
+
"verbose": {
|
|
439
|
+
"char": "v",
|
|
440
|
+
"description": "When provided with --dryrun, prints the paths of the files that would be modified.",
|
|
441
|
+
"name": "verbose",
|
|
442
|
+
"summary": "Enable verbose output.",
|
|
443
|
+
"allowNo": false,
|
|
444
|
+
"type": "boolean"
|
|
445
|
+
},
|
|
446
|
+
"exclude": {
|
|
447
|
+
"char": "e",
|
|
448
|
+
"description": "Exclude specific files or directories that match the provided glob pattern. For example, use --exclude \"**/Generated_*.cmp\" to skip auto-generated components.",
|
|
449
|
+
"name": "exclude",
|
|
450
|
+
"summary": "Exclude files or directories from instrumentation based on a glob pattern.",
|
|
451
|
+
"hasDynamicHelp": false,
|
|
452
|
+
"multiple": false,
|
|
453
|
+
"type": "option"
|
|
454
|
+
},
|
|
455
|
+
"concurrency": {
|
|
456
|
+
"char": "c",
|
|
457
|
+
"description": "Controls the maximum number of files to process at the same time. This is useful in very large codebases to prevent excessive memory usage or file descriptor exhaustion. Defaults to 10.",
|
|
458
|
+
"name": "concurrency",
|
|
459
|
+
"summary": "Limits the number of files processed concurrently.",
|
|
460
|
+
"default": 10,
|
|
461
|
+
"hasDynamicHelp": false,
|
|
462
|
+
"multiple": false,
|
|
463
|
+
"type": "option"
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
"hasDynamicHelp": false,
|
|
467
|
+
"hiddenAliases": [],
|
|
468
|
+
"id": "rflib:logging:aura:instrument",
|
|
469
|
+
"pluginAlias": "rflib-plugin",
|
|
470
|
+
"pluginName": "rflib-plugin",
|
|
471
|
+
"pluginType": "core",
|
|
472
|
+
"strict": true,
|
|
473
|
+
"summary": "Instrument Aura Components with RFLIB logging statements automatically.",
|
|
474
|
+
"enableJsonFlag": true,
|
|
475
|
+
"isESM": true,
|
|
476
|
+
"relativePath": [
|
|
477
|
+
"lib",
|
|
478
|
+
"commands",
|
|
479
|
+
"rflib",
|
|
480
|
+
"logging",
|
|
481
|
+
"aura",
|
|
482
|
+
"instrument.js"
|
|
483
|
+
],
|
|
484
|
+
"aliasPermutations": [],
|
|
485
|
+
"permutations": [
|
|
486
|
+
"rflib:logging:aura:instrument",
|
|
487
|
+
"logging:rflib:aura:instrument",
|
|
488
|
+
"logging:aura:rflib:instrument",
|
|
489
|
+
"logging:aura:instrument:rflib",
|
|
490
|
+
"rflib:aura:logging:instrument",
|
|
491
|
+
"aura:rflib:logging:instrument",
|
|
492
|
+
"aura:logging:rflib:instrument",
|
|
493
|
+
"aura:logging:instrument:rflib",
|
|
494
|
+
"rflib:aura:instrument:logging",
|
|
495
|
+
"aura:rflib:instrument:logging",
|
|
496
|
+
"aura:instrument:rflib:logging",
|
|
497
|
+
"aura:instrument:logging:rflib",
|
|
498
|
+
"rflib:logging:instrument:aura",
|
|
499
|
+
"logging:rflib:instrument:aura",
|
|
500
|
+
"logging:instrument:rflib:aura",
|
|
501
|
+
"logging:instrument:aura:rflib",
|
|
502
|
+
"rflib:instrument:logging:aura",
|
|
503
|
+
"instrument:rflib:logging:aura",
|
|
504
|
+
"instrument:logging:rflib:aura",
|
|
505
|
+
"instrument:logging:aura:rflib",
|
|
506
|
+
"rflib:instrument:aura:logging",
|
|
507
|
+
"instrument:rflib:aura:logging",
|
|
508
|
+
"instrument:aura:rflib:logging",
|
|
509
|
+
"instrument:aura:logging:rflib"
|
|
510
|
+
]
|
|
511
|
+
},
|
|
512
|
+
"rflib:debug:loggersettings:get": {
|
|
513
|
+
"aliases": [],
|
|
514
|
+
"args": {},
|
|
515
|
+
"description": "Retrieves all rflib_Logger_Settings__c hierarchy custom setting records from the target org via the Salesforce REST API.\nReturns settings across org-wide defaults, profile overrides, and user overrides, along with embedded best-practice recommendations.\n\nUse \"sf rflib debug loggersettings update\" to apply changes.\n\nRequires the RFLIB base package to be installed in the target org and the running user to be assigned the rflib_Ops_Center_Access permission set (or have equivalent read access to rflib_Logger_Settings__c).\nFor installation instructions, visit: https://github.com/j-fischer/rflib",
|
|
516
|
+
"examples": [
|
|
517
|
+
"Read all logger settings from the target org:\n$ sf rflib debug loggersettings get --target-org myOrg"
|
|
518
|
+
],
|
|
519
|
+
"flags": {
|
|
520
|
+
"json": {
|
|
521
|
+
"description": "Format output as json.",
|
|
522
|
+
"helpGroup": "GLOBAL",
|
|
523
|
+
"name": "json",
|
|
524
|
+
"allowNo": false,
|
|
525
|
+
"type": "boolean"
|
|
526
|
+
},
|
|
527
|
+
"flags-dir": {
|
|
528
|
+
"helpGroup": "GLOBAL",
|
|
529
|
+
"name": "flags-dir",
|
|
530
|
+
"summary": "Import flag values from a directory.",
|
|
531
|
+
"hasDynamicHelp": false,
|
|
532
|
+
"multiple": false,
|
|
533
|
+
"type": "option"
|
|
534
|
+
},
|
|
535
|
+
"target-org": {
|
|
536
|
+
"char": "o",
|
|
537
|
+
"description": "The username or alias of the Salesforce org containing the RFLIB base package.",
|
|
538
|
+
"name": "target-org",
|
|
539
|
+
"noCacheDefault": true,
|
|
540
|
+
"required": true,
|
|
541
|
+
"summary": "Username or alias of the target org.",
|
|
542
|
+
"hasDynamicHelp": true,
|
|
543
|
+
"multiple": false,
|
|
544
|
+
"type": "option"
|
|
545
|
+
}
|
|
546
|
+
},
|
|
547
|
+
"hasDynamicHelp": true,
|
|
548
|
+
"hiddenAliases": [],
|
|
549
|
+
"id": "rflib:debug:loggersettings:get",
|
|
550
|
+
"pluginAlias": "rflib-plugin",
|
|
551
|
+
"pluginName": "rflib-plugin",
|
|
552
|
+
"pluginType": "core",
|
|
553
|
+
"strict": true,
|
|
554
|
+
"summary": "Read all RFLIB Logger Settings from a Salesforce org.",
|
|
555
|
+
"enableJsonFlag": true,
|
|
556
|
+
"isESM": true,
|
|
557
|
+
"relativePath": [
|
|
558
|
+
"lib",
|
|
559
|
+
"commands",
|
|
560
|
+
"rflib",
|
|
561
|
+
"debug",
|
|
562
|
+
"loggersettings",
|
|
563
|
+
"get.js"
|
|
564
|
+
],
|
|
565
|
+
"aliasPermutations": [],
|
|
566
|
+
"permutations": [
|
|
567
|
+
"rflib:debug:loggersettings:get",
|
|
568
|
+
"debug:rflib:loggersettings:get",
|
|
569
|
+
"debug:loggersettings:rflib:get",
|
|
570
|
+
"debug:loggersettings:get:rflib",
|
|
571
|
+
"rflib:loggersettings:debug:get",
|
|
572
|
+
"loggersettings:rflib:debug:get",
|
|
573
|
+
"loggersettings:debug:rflib:get",
|
|
574
|
+
"loggersettings:debug:get:rflib",
|
|
575
|
+
"rflib:loggersettings:get:debug",
|
|
576
|
+
"loggersettings:rflib:get:debug",
|
|
577
|
+
"loggersettings:get:rflib:debug",
|
|
578
|
+
"loggersettings:get:debug:rflib",
|
|
579
|
+
"rflib:debug:get:loggersettings",
|
|
580
|
+
"debug:rflib:get:loggersettings",
|
|
581
|
+
"debug:get:rflib:loggersettings",
|
|
582
|
+
"debug:get:loggersettings:rflib",
|
|
583
|
+
"rflib:get:debug:loggersettings",
|
|
584
|
+
"get:rflib:debug:loggersettings",
|
|
585
|
+
"get:debug:rflib:loggersettings",
|
|
586
|
+
"get:debug:loggersettings:rflib",
|
|
587
|
+
"rflib:get:loggersettings:debug",
|
|
588
|
+
"get:rflib:loggersettings:debug",
|
|
589
|
+
"get:loggersettings:rflib:debug",
|
|
590
|
+
"get:loggersettings:debug:rflib"
|
|
591
|
+
]
|
|
592
|
+
},
|
|
593
|
+
"rflib:debug:loggersettings:update": {
|
|
594
|
+
"aliases": [],
|
|
595
|
+
"args": {},
|
|
596
|
+
"description": "Creates or updates a single field on an rflib_Logger_Settings__c record in the target org via the Salesforce REST API.\nValidates field values and warns about best-practice violations.\n\nTo update an existing record, provide --record-id. To create a new record, provide --setup-owner-id with an org ID (00D...), profile ID (00E...), or user ID.\n\nRequires the RFLIB base package to be installed in the target org and the running user to be assigned the rflib_Ops_Center_Access permission set (or have equivalent update access to rflib_Logger_Settings__c).\nFor installation instructions, visit: https://github.com/j-fischer/rflib",
|
|
597
|
+
"examples": [
|
|
598
|
+
"Update the Log_Event_Reporting_Level__c field on an existing record:\n$ sf rflib debug loggersettings update --target-org myOrg --record-id a0A000000001234 --field-name Log_Event_Reporting_Level__c --field-value WARN",
|
|
599
|
+
"Create a new org-wide Logger Setting:\n$ sf rflib debug loggersettings update --target-org myOrg --setup-owner-id 00D000000000001 --field-name Log_Event_Reporting_Level__c --field-value WARN"
|
|
600
|
+
],
|
|
601
|
+
"flags": {
|
|
602
|
+
"json": {
|
|
603
|
+
"description": "Format output as json.",
|
|
604
|
+
"helpGroup": "GLOBAL",
|
|
605
|
+
"name": "json",
|
|
606
|
+
"allowNo": false,
|
|
607
|
+
"type": "boolean"
|
|
608
|
+
},
|
|
609
|
+
"flags-dir": {
|
|
610
|
+
"helpGroup": "GLOBAL",
|
|
611
|
+
"name": "flags-dir",
|
|
612
|
+
"summary": "Import flag values from a directory.",
|
|
613
|
+
"hasDynamicHelp": false,
|
|
614
|
+
"multiple": false,
|
|
615
|
+
"type": "option"
|
|
616
|
+
},
|
|
617
|
+
"target-org": {
|
|
618
|
+
"char": "o",
|
|
619
|
+
"description": "The username or alias of the Salesforce org containing the RFLIB base package.",
|
|
620
|
+
"name": "target-org",
|
|
621
|
+
"noCacheDefault": true,
|
|
622
|
+
"required": true,
|
|
623
|
+
"summary": "Username or alias of the target org.",
|
|
624
|
+
"hasDynamicHelp": true,
|
|
625
|
+
"multiple": false,
|
|
626
|
+
"type": "option"
|
|
627
|
+
},
|
|
628
|
+
"field-name": {
|
|
629
|
+
"char": "f",
|
|
630
|
+
"description": "The API name of the field to create or update, e.g. Log_Event_Reporting_Level__c. For log level fields, valid values are: TRACE, DEBUG, INFO, WARN, ERROR, FATAL, NONE.",
|
|
631
|
+
"name": "field-name",
|
|
721
632
|
"required": true,
|
|
722
|
-
"summary": "
|
|
633
|
+
"summary": "API name of the rflib_Logger_Settings__c field to update.",
|
|
723
634
|
"hasDynamicHelp": false,
|
|
724
635
|
"multiple": false,
|
|
725
636
|
"type": "option"
|
|
726
637
|
},
|
|
727
|
-
"
|
|
728
|
-
"char": "d",
|
|
729
|
-
"description": "When enabled, shows which files would be modified without making actual changes. Useful for reviewing the impact before applying changes. Shows:\n- Files that would be modified\n- Number of processed files\n- Number of modified files\n- Number of formatted files",
|
|
730
|
-
"name": "dryrun",
|
|
731
|
-
"summary": "Preview changes without modifying files.",
|
|
732
|
-
"allowNo": false,
|
|
733
|
-
"type": "boolean"
|
|
734
|
-
},
|
|
735
|
-
"prettier": {
|
|
736
|
-
"char": "p",
|
|
737
|
-
"description": "When enabled, formats the modified JavaScript files using Prettier after adding logging statements. Maintains consistent code style with:\n- 120 character line width\n- 4 space indentation\n- Single quotes for strings\n- No tabs\n- No trailing commas",
|
|
738
|
-
"name": "prettier",
|
|
739
|
-
"summary": "Format modified files using Prettier.",
|
|
740
|
-
"allowNo": false,
|
|
741
|
-
"type": "boolean"
|
|
742
|
-
},
|
|
743
|
-
"no-if": {
|
|
744
|
-
"description": "When provided, the command will not add log statements inside of `if` and `else` blocks.",
|
|
745
|
-
"name": "no-if",
|
|
746
|
-
"summary": "Exclude the instrumentation of if-else statements.",
|
|
747
|
-
"allowNo": false,
|
|
748
|
-
"type": "boolean"
|
|
749
|
-
},
|
|
750
|
-
"skip-instrumented": {
|
|
751
|
-
"description": "When provided, the command will not add log statements to any Aura component that contains the `` component.",
|
|
752
|
-
"name": "skip-instrumented",
|
|
753
|
-
"summary": "Skips any files where a logger is already present.",
|
|
754
|
-
"allowNo": false,
|
|
755
|
-
"type": "boolean"
|
|
756
|
-
},
|
|
757
|
-
"verbose": {
|
|
638
|
+
"field-value": {
|
|
758
639
|
"char": "v",
|
|
759
|
-
"description": "
|
|
760
|
-
"name": "
|
|
761
|
-
"
|
|
762
|
-
"
|
|
763
|
-
"
|
|
640
|
+
"description": "The new value to set on the specified field. For log level fields, valid values are: TRACE, DEBUG, INFO, WARN, ERROR, FATAL, NONE.",
|
|
641
|
+
"name": "field-value",
|
|
642
|
+
"required": true,
|
|
643
|
+
"summary": "New value for the specified field.",
|
|
644
|
+
"hasDynamicHelp": false,
|
|
645
|
+
"multiple": false,
|
|
646
|
+
"type": "option"
|
|
764
647
|
},
|
|
765
|
-
"
|
|
766
|
-
"char": "
|
|
767
|
-
"description": "
|
|
768
|
-
"name": "
|
|
769
|
-
"summary": "
|
|
648
|
+
"record-id": {
|
|
649
|
+
"char": "r",
|
|
650
|
+
"description": "The Salesforce record ID of an existing rflib_Logger_Settings__c record to update. Omit this flag to create a new record (requires --setup-owner-id).",
|
|
651
|
+
"name": "record-id",
|
|
652
|
+
"summary": "ID of an existing rflib_Logger_Settings__c record to update.",
|
|
770
653
|
"hasDynamicHelp": false,
|
|
771
654
|
"multiple": false,
|
|
772
655
|
"type": "option"
|
|
773
656
|
},
|
|
774
|
-
"
|
|
775
|
-
"char": "
|
|
776
|
-
"description": "
|
|
777
|
-
"name": "
|
|
778
|
-
"summary": "
|
|
779
|
-
"default": 10,
|
|
657
|
+
"setup-owner-id": {
|
|
658
|
+
"char": "s",
|
|
659
|
+
"description": "Required when creating a new Logger Setting record. Accepts an org ID (00D...), profile ID (00E...), or user ID. Read existing record IDs using \"sf rflib debug loggersettings get\".",
|
|
660
|
+
"name": "setup-owner-id",
|
|
661
|
+
"summary": "Setup owner ID for creating a new Logger Setting record.",
|
|
780
662
|
"hasDynamicHelp": false,
|
|
781
663
|
"multiple": false,
|
|
782
664
|
"type": "option"
|
|
783
665
|
}
|
|
784
666
|
},
|
|
785
|
-
"hasDynamicHelp":
|
|
667
|
+
"hasDynamicHelp": true,
|
|
786
668
|
"hiddenAliases": [],
|
|
787
|
-
"id": "rflib:
|
|
669
|
+
"id": "rflib:debug:loggersettings:update",
|
|
788
670
|
"pluginAlias": "rflib-plugin",
|
|
789
671
|
"pluginName": "rflib-plugin",
|
|
790
672
|
"pluginType": "core",
|
|
791
673
|
"strict": true,
|
|
792
|
-
"summary": "
|
|
674
|
+
"summary": "Create or update an RFLIB Logger Setting in a Salesforce org.",
|
|
793
675
|
"enableJsonFlag": true,
|
|
794
676
|
"isESM": true,
|
|
795
677
|
"relativePath": [
|
|
796
678
|
"lib",
|
|
797
679
|
"commands",
|
|
798
680
|
"rflib",
|
|
799
|
-
"
|
|
800
|
-
"
|
|
801
|
-
"
|
|
681
|
+
"debug",
|
|
682
|
+
"loggersettings",
|
|
683
|
+
"update.js"
|
|
802
684
|
],
|
|
803
685
|
"aliasPermutations": [],
|
|
804
686
|
"permutations": [
|
|
805
|
-
"rflib:
|
|
806
|
-
"
|
|
807
|
-
"
|
|
808
|
-
"
|
|
809
|
-
"rflib:
|
|
810
|
-
"
|
|
811
|
-
"
|
|
812
|
-
"
|
|
813
|
-
"rflib:
|
|
814
|
-
"
|
|
815
|
-
"
|
|
816
|
-
"
|
|
817
|
-
"rflib:
|
|
818
|
-
"
|
|
819
|
-
"
|
|
820
|
-
"
|
|
821
|
-
"rflib:
|
|
822
|
-
"
|
|
823
|
-
"
|
|
824
|
-
"
|
|
825
|
-
"rflib:
|
|
826
|
-
"
|
|
827
|
-
"
|
|
828
|
-
"
|
|
687
|
+
"rflib:debug:loggersettings:update",
|
|
688
|
+
"debug:rflib:loggersettings:update",
|
|
689
|
+
"debug:loggersettings:rflib:update",
|
|
690
|
+
"debug:loggersettings:update:rflib",
|
|
691
|
+
"rflib:loggersettings:debug:update",
|
|
692
|
+
"loggersettings:rflib:debug:update",
|
|
693
|
+
"loggersettings:debug:rflib:update",
|
|
694
|
+
"loggersettings:debug:update:rflib",
|
|
695
|
+
"rflib:loggersettings:update:debug",
|
|
696
|
+
"loggersettings:rflib:update:debug",
|
|
697
|
+
"loggersettings:update:rflib:debug",
|
|
698
|
+
"loggersettings:update:debug:rflib",
|
|
699
|
+
"rflib:debug:update:loggersettings",
|
|
700
|
+
"debug:rflib:update:loggersettings",
|
|
701
|
+
"debug:update:rflib:loggersettings",
|
|
702
|
+
"debug:update:loggersettings:rflib",
|
|
703
|
+
"rflib:update:debug:loggersettings",
|
|
704
|
+
"update:rflib:debug:loggersettings",
|
|
705
|
+
"update:debug:rflib:loggersettings",
|
|
706
|
+
"update:debug:loggersettings:rflib",
|
|
707
|
+
"rflib:update:loggersettings:debug",
|
|
708
|
+
"update:rflib:loggersettings:debug",
|
|
709
|
+
"update:loggersettings:rflib:debug",
|
|
710
|
+
"update:loggersettings:debug:rflib"
|
|
829
711
|
]
|
|
830
712
|
},
|
|
831
713
|
"rflib:logging:flow:instrument": {
|
|
@@ -1088,7 +970,125 @@
|
|
|
1088
970
|
"instrument:lwc:rflib:logging",
|
|
1089
971
|
"instrument:lwc:logging:rflib"
|
|
1090
972
|
]
|
|
973
|
+
},
|
|
974
|
+
"rflib:debug:userpermissions:get": {
|
|
975
|
+
"aliases": [],
|
|
976
|
+
"args": {},
|
|
977
|
+
"description": "Retrieves FLS (Field-Level Security), OLS (Object-Level Security), and Apex class/page permissions for a specific user\nvia the Salesforce REST API. Permissions are aggregated across the user's profile, permission sets, and permission set groups.\n\nUse --sobject-type to narrow FLS or OLS results to a specific SObject.\n\nRequires the RFLIB base package to be installed in the target org and the running user to be assigned the rflib_Ops_Center_Access permission set (or have equivalent read access to the relevant permission objects).\nFor installation instructions, visit: https://github.com/j-fischer/rflib",
|
|
978
|
+
"examples": [
|
|
979
|
+
"Check all permissions for a user:\n$ sf rflib debug userpermissions get --target-org myOrg --user-id 0057000000XXXXXX --permission-type ALL",
|
|
980
|
+
"Check FLS for a specific object:\n$ sf rflib debug userpermissions get --target-org myOrg --user-id 0057000000XXXXXX --permission-type FLS --sobject-type Account",
|
|
981
|
+
"Check Apex access:\n$ sf rflib debug userpermissions get --target-org myOrg --user-id 0057000000XXXXXX --permission-type APEX"
|
|
982
|
+
],
|
|
983
|
+
"flags": {
|
|
984
|
+
"json": {
|
|
985
|
+
"description": "Format output as json.",
|
|
986
|
+
"helpGroup": "GLOBAL",
|
|
987
|
+
"name": "json",
|
|
988
|
+
"allowNo": false,
|
|
989
|
+
"type": "boolean"
|
|
990
|
+
},
|
|
991
|
+
"flags-dir": {
|
|
992
|
+
"helpGroup": "GLOBAL",
|
|
993
|
+
"name": "flags-dir",
|
|
994
|
+
"summary": "Import flag values from a directory.",
|
|
995
|
+
"hasDynamicHelp": false,
|
|
996
|
+
"multiple": false,
|
|
997
|
+
"type": "option"
|
|
998
|
+
},
|
|
999
|
+
"target-org": {
|
|
1000
|
+
"char": "o",
|
|
1001
|
+
"description": "The username or alias of the Salesforce org containing the RFLIB base package.",
|
|
1002
|
+
"name": "target-org",
|
|
1003
|
+
"noCacheDefault": true,
|
|
1004
|
+
"required": true,
|
|
1005
|
+
"summary": "Username or alias of the target org.",
|
|
1006
|
+
"hasDynamicHelp": true,
|
|
1007
|
+
"multiple": false,
|
|
1008
|
+
"type": "option"
|
|
1009
|
+
},
|
|
1010
|
+
"user-id": {
|
|
1011
|
+
"char": "u",
|
|
1012
|
+
"description": "The Salesforce User ID (15 or 18 characters) of the user whose permissions should be retrieved.",
|
|
1013
|
+
"name": "user-id",
|
|
1014
|
+
"required": true,
|
|
1015
|
+
"summary": "Salesforce User ID (15 or 18 character) to check permissions for.",
|
|
1016
|
+
"hasDynamicHelp": false,
|
|
1017
|
+
"multiple": false,
|
|
1018
|
+
"type": "option"
|
|
1019
|
+
},
|
|
1020
|
+
"permission-type": {
|
|
1021
|
+
"char": "t",
|
|
1022
|
+
"description": "Controls which permission types are returned:\n - FLS: Field-Level Security only\n - OLS: Object-Level Security only\n - APEX: Apex class and page access only\n - ALL: All three permission types",
|
|
1023
|
+
"name": "permission-type",
|
|
1024
|
+
"required": true,
|
|
1025
|
+
"summary": "Type of permissions to retrieve: FLS, OLS, APEX, or ALL.",
|
|
1026
|
+
"hasDynamicHelp": false,
|
|
1027
|
+
"multiple": false,
|
|
1028
|
+
"options": [
|
|
1029
|
+
"FLS",
|
|
1030
|
+
"OLS",
|
|
1031
|
+
"APEX",
|
|
1032
|
+
"ALL"
|
|
1033
|
+
],
|
|
1034
|
+
"type": "option"
|
|
1035
|
+
},
|
|
1036
|
+
"sobject-type": {
|
|
1037
|
+
"char": "b",
|
|
1038
|
+
"description": "Filters Field-Level Security or Object-Level Security results to a specific SObject type, e.g. Account, Contact, Opportunity.",
|
|
1039
|
+
"name": "sobject-type",
|
|
1040
|
+
"summary": "Optional SObject API name to filter FLS or OLS results.",
|
|
1041
|
+
"hasDynamicHelp": false,
|
|
1042
|
+
"multiple": false,
|
|
1043
|
+
"type": "option"
|
|
1044
|
+
}
|
|
1045
|
+
},
|
|
1046
|
+
"hasDynamicHelp": true,
|
|
1047
|
+
"hiddenAliases": [],
|
|
1048
|
+
"id": "rflib:debug:userpermissions:get",
|
|
1049
|
+
"pluginAlias": "rflib-plugin",
|
|
1050
|
+
"pluginName": "rflib-plugin",
|
|
1051
|
+
"pluginType": "core",
|
|
1052
|
+
"strict": true,
|
|
1053
|
+
"summary": "Check Salesforce permissions for a user in the target org.",
|
|
1054
|
+
"enableJsonFlag": true,
|
|
1055
|
+
"isESM": true,
|
|
1056
|
+
"relativePath": [
|
|
1057
|
+
"lib",
|
|
1058
|
+
"commands",
|
|
1059
|
+
"rflib",
|
|
1060
|
+
"debug",
|
|
1061
|
+
"userpermissions",
|
|
1062
|
+
"get.js"
|
|
1063
|
+
],
|
|
1064
|
+
"aliasPermutations": [],
|
|
1065
|
+
"permutations": [
|
|
1066
|
+
"rflib:debug:userpermissions:get",
|
|
1067
|
+
"debug:rflib:userpermissions:get",
|
|
1068
|
+
"debug:userpermissions:rflib:get",
|
|
1069
|
+
"debug:userpermissions:get:rflib",
|
|
1070
|
+
"rflib:userpermissions:debug:get",
|
|
1071
|
+
"userpermissions:rflib:debug:get",
|
|
1072
|
+
"userpermissions:debug:rflib:get",
|
|
1073
|
+
"userpermissions:debug:get:rflib",
|
|
1074
|
+
"rflib:userpermissions:get:debug",
|
|
1075
|
+
"userpermissions:rflib:get:debug",
|
|
1076
|
+
"userpermissions:get:rflib:debug",
|
|
1077
|
+
"userpermissions:get:debug:rflib",
|
|
1078
|
+
"rflib:debug:get:userpermissions",
|
|
1079
|
+
"debug:rflib:get:userpermissions",
|
|
1080
|
+
"debug:get:rflib:userpermissions",
|
|
1081
|
+
"debug:get:userpermissions:rflib",
|
|
1082
|
+
"rflib:get:debug:userpermissions",
|
|
1083
|
+
"get:rflib:debug:userpermissions",
|
|
1084
|
+
"get:debug:rflib:userpermissions",
|
|
1085
|
+
"get:debug:userpermissions:rflib",
|
|
1086
|
+
"rflib:get:userpermissions:debug",
|
|
1087
|
+
"get:rflib:userpermissions:debug",
|
|
1088
|
+
"get:userpermissions:rflib:debug",
|
|
1089
|
+
"get:userpermissions:debug:rflib"
|
|
1090
|
+
]
|
|
1091
1091
|
}
|
|
1092
1092
|
},
|
|
1093
|
-
"version": "0.19.
|
|
1093
|
+
"version": "0.19.5"
|
|
1094
1094
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rflib-plugin",
|
|
3
3
|
"description": "Utility commands to help with the adoption of the RFLIB open-source library for Salesforce.",
|
|
4
|
-
"version": "0.19.
|
|
4
|
+
"version": "0.19.5",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@oclif/core": "^4.10.5",
|
|
7
7
|
"@salesforce/core": "^8.27.1",
|
|
8
|
-
"@salesforce/sf-plugins-core": "^12.2.
|
|
8
|
+
"@salesforce/sf-plugins-core": "^12.2.24",
|
|
9
9
|
"@types/xml2js": "^0.4.14",
|
|
10
10
|
"minimatch": "^10.2.5",
|
|
11
11
|
"prettier": "^3.8.3",
|