@salesforce/cli 2.19.4 → 2.19.6
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 +123 -57
- package/npm-shrinkwrap.json +91 -99
- package/oclif.manifest.json +365 -163
- package/package.json +11 -11
package/oclif.manifest.json
CHANGED
|
@@ -1145,163 +1145,227 @@
|
|
|
1145
1145
|
]
|
|
1146
1146
|
},
|
|
1147
1147
|
"dev:audit:messages": {
|
|
1148
|
-
"id": "dev:audit:messages",
|
|
1149
|
-
"summary": "Audit messages in a plugin's messages directory to locate unused messages and missing messages that have references in source code.",
|
|
1150
|
-
"strict": true,
|
|
1151
|
-
"pluginName": "@salesforce/plugin-dev",
|
|
1152
|
-
"pluginAlias": "@salesforce/plugin-dev",
|
|
1153
|
-
"pluginType": "jit",
|
|
1154
1148
|
"aliases": [],
|
|
1149
|
+
"args": {},
|
|
1155
1150
|
"examples": [
|
|
1156
1151
|
"Audit messages using default directories:\n<%= config.bin %> <%= command.id %>",
|
|
1157
1152
|
"Audit messages in the \"messages\" directory in the current working directory; the plugin's source directory is in \"src\":\n<%= config.bin %> <%= command.id %> --messages-dir ./messages --source-dir ./src"
|
|
1158
1153
|
],
|
|
1159
1154
|
"flags": {
|
|
1160
1155
|
"json": {
|
|
1161
|
-
"name": "json",
|
|
1162
|
-
"type": "boolean",
|
|
1163
1156
|
"description": "Format output as json.",
|
|
1164
1157
|
"helpGroup": "GLOBAL",
|
|
1165
|
-
"
|
|
1158
|
+
"name": "json",
|
|
1159
|
+
"allowNo": false,
|
|
1160
|
+
"type": "boolean"
|
|
1166
1161
|
},
|
|
1167
1162
|
"project-dir": {
|
|
1168
|
-
"
|
|
1169
|
-
|
|
1163
|
+
"aliases": [
|
|
1164
|
+
"projectdir"
|
|
1165
|
+
],
|
|
1170
1166
|
"char": "p",
|
|
1167
|
+
"name": "project-dir",
|
|
1171
1168
|
"summary": "Location of the project where messages are to be audited.",
|
|
1172
|
-
"multiple": false,
|
|
1173
1169
|
"default": ".",
|
|
1174
|
-
"
|
|
1175
|
-
|
|
1176
|
-
|
|
1170
|
+
"hasDynamicHelp": false,
|
|
1171
|
+
"multiple": false,
|
|
1172
|
+
"type": "option"
|
|
1177
1173
|
},
|
|
1178
1174
|
"messages-dir": {
|
|
1179
|
-
"
|
|
1180
|
-
|
|
1175
|
+
"aliases": [
|
|
1176
|
+
"messagesdir"
|
|
1177
|
+
],
|
|
1181
1178
|
"char": "m",
|
|
1182
|
-
"summary": "Directory that contains the plugin's message files.",
|
|
1183
1179
|
"description": "The default is the \"messages\" directory in the current working directory.",
|
|
1184
|
-
"
|
|
1180
|
+
"name": "messages-dir",
|
|
1181
|
+
"summary": "Directory that contains the plugin's message files.",
|
|
1185
1182
|
"default": "messages",
|
|
1186
|
-
"
|
|
1187
|
-
|
|
1188
|
-
|
|
1183
|
+
"hasDynamicHelp": false,
|
|
1184
|
+
"multiple": false,
|
|
1185
|
+
"type": "option"
|
|
1189
1186
|
},
|
|
1190
1187
|
"source-dir": {
|
|
1191
|
-
"
|
|
1192
|
-
|
|
1188
|
+
"aliases": [
|
|
1189
|
+
"sourcedir"
|
|
1190
|
+
],
|
|
1193
1191
|
"char": "s",
|
|
1194
|
-
"summary": "Directory that contains the plugin's source code.",
|
|
1195
1192
|
"description": "The default is the \"src\" directory in the current working directory.",
|
|
1196
|
-
"
|
|
1193
|
+
"name": "source-dir",
|
|
1194
|
+
"summary": "Directory that contains the plugin's source code.",
|
|
1197
1195
|
"default": "src",
|
|
1198
|
-
"
|
|
1199
|
-
|
|
1200
|
-
|
|
1196
|
+
"hasDynamicHelp": false,
|
|
1197
|
+
"multiple": false,
|
|
1198
|
+
"type": "option"
|
|
1201
1199
|
}
|
|
1202
1200
|
},
|
|
1203
|
-
"
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
"id": "dev:configure:repo",
|
|
1207
|
-
"summary": "Configure a GitHub repo for the GitHub Actions pipeline.",
|
|
1208
|
-
"description": "Sets up labels and exempts the CLI bot for branch protection and PR rules.",
|
|
1209
|
-
"strict": true,
|
|
1210
|
-
"pluginName": "@salesforce/plugin-dev",
|
|
1201
|
+
"hasDynamicHelp": false,
|
|
1202
|
+
"hiddenAliases": [],
|
|
1203
|
+
"id": "dev:audit:messages",
|
|
1211
1204
|
"pluginAlias": "@salesforce/plugin-dev",
|
|
1205
|
+
"pluginName": "@salesforce/plugin-dev",
|
|
1212
1206
|
"pluginType": "jit",
|
|
1207
|
+
"strict": true,
|
|
1208
|
+
"summary": "Audit messages in a plugin's messages directory to locate unused messages and missing messages that have references in source code.",
|
|
1209
|
+
"enableJsonFlag": true,
|
|
1210
|
+
"SF_ENV": "SF_ENV",
|
|
1211
|
+
"isESM": true,
|
|
1212
|
+
"relativePath": [
|
|
1213
|
+
"lib",
|
|
1214
|
+
"commands",
|
|
1215
|
+
"dev",
|
|
1216
|
+
"audit",
|
|
1217
|
+
"messages.js"
|
|
1218
|
+
],
|
|
1219
|
+
"aliasPermutations": [],
|
|
1220
|
+
"permutations": [
|
|
1221
|
+
"dev:audit:messages",
|
|
1222
|
+
"audit:dev:messages",
|
|
1223
|
+
"audit:messages:dev",
|
|
1224
|
+
"dev:messages:audit",
|
|
1225
|
+
"messages:dev:audit",
|
|
1226
|
+
"messages:audit:dev"
|
|
1227
|
+
]
|
|
1228
|
+
},
|
|
1229
|
+
"dev:configure:repo": {
|
|
1213
1230
|
"aliases": [],
|
|
1231
|
+
"args": {},
|
|
1232
|
+
"description": "Sets up labels and exempts the CLI bot for branch protection and PR rules.",
|
|
1214
1233
|
"examples": [
|
|
1215
1234
|
"Configure the repo \"testPackageRelease\", with owner \"salesforcecli\", for GitHub Actions.\n<%= config.bin %> <%= command.id %> --repository salesforcecli/testPackageRelease"
|
|
1216
1235
|
],
|
|
1217
1236
|
"flags": {
|
|
1218
1237
|
"json": {
|
|
1219
|
-
"name": "json",
|
|
1220
|
-
"type": "boolean",
|
|
1221
1238
|
"description": "Format output as json.",
|
|
1222
1239
|
"helpGroup": "GLOBAL",
|
|
1223
|
-
"
|
|
1240
|
+
"name": "json",
|
|
1241
|
+
"allowNo": false,
|
|
1242
|
+
"type": "boolean"
|
|
1224
1243
|
},
|
|
1225
1244
|
"repository": {
|
|
1226
|
-
"name": "repository",
|
|
1227
|
-
"type": "option",
|
|
1228
1245
|
"char": "r",
|
|
1229
|
-
"
|
|
1246
|
+
"name": "repository",
|
|
1230
1247
|
"required": true,
|
|
1231
|
-
"
|
|
1248
|
+
"summary": "GitHub owner/repo for which you want to configure GitHub Actions.",
|
|
1249
|
+
"hasDynamicHelp": false,
|
|
1250
|
+
"multiple": false,
|
|
1251
|
+
"type": "option"
|
|
1232
1252
|
},
|
|
1233
1253
|
"dry-run": {
|
|
1234
|
-
"
|
|
1235
|
-
|
|
1254
|
+
"aliases": [
|
|
1255
|
+
"dryrun"
|
|
1256
|
+
],
|
|
1236
1257
|
"char": "d",
|
|
1258
|
+
"name": "dry-run",
|
|
1237
1259
|
"summary": "Make no changes.",
|
|
1238
1260
|
"allowNo": false,
|
|
1239
|
-
"
|
|
1240
|
-
"dryrun"
|
|
1241
|
-
]
|
|
1261
|
+
"type": "boolean"
|
|
1242
1262
|
},
|
|
1243
1263
|
"bot": {
|
|
1244
|
-
"name": "bot",
|
|
1245
|
-
"type": "option",
|
|
1246
1264
|
"char": "b",
|
|
1265
|
+
"name": "bot",
|
|
1247
1266
|
"summary": "GitHub login/username for the bot.",
|
|
1267
|
+
"default": "SF-CLI-BOT",
|
|
1268
|
+
"hasDynamicHelp": false,
|
|
1248
1269
|
"multiple": false,
|
|
1249
|
-
"
|
|
1270
|
+
"type": "option"
|
|
1250
1271
|
}
|
|
1251
1272
|
},
|
|
1252
|
-
"
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
"id": "dev:configure:secrets",
|
|
1256
|
-
"summary": "Ensures a GitHub repo has correct access to secrets based on its workflows.",
|
|
1257
|
-
"description": "Inspects a repo's yaml files and verifies that secrets required are available for the repo (either set at the repo level or shared via organization-level secrets).\n\nThis command requires scope:admin permissions to inspect the org secrets and admin access to the repo to inspect the repo secrets.",
|
|
1258
|
-
"strict": true,
|
|
1259
|
-
"pluginName": "@salesforce/plugin-dev",
|
|
1273
|
+
"hasDynamicHelp": false,
|
|
1274
|
+
"hiddenAliases": [],
|
|
1275
|
+
"id": "dev:configure:repo",
|
|
1260
1276
|
"pluginAlias": "@salesforce/plugin-dev",
|
|
1277
|
+
"pluginName": "@salesforce/plugin-dev",
|
|
1261
1278
|
"pluginType": "jit",
|
|
1279
|
+
"strict": true,
|
|
1280
|
+
"summary": "Configure a GitHub repo for the GitHub Actions pipeline.",
|
|
1281
|
+
"enableJsonFlag": true,
|
|
1282
|
+
"SF_ENV": "SF_ENV",
|
|
1283
|
+
"isESM": true,
|
|
1284
|
+
"relativePath": [
|
|
1285
|
+
"lib",
|
|
1286
|
+
"commands",
|
|
1287
|
+
"dev",
|
|
1288
|
+
"configure",
|
|
1289
|
+
"repo.js"
|
|
1290
|
+
],
|
|
1291
|
+
"aliasPermutations": [],
|
|
1292
|
+
"permutations": [
|
|
1293
|
+
"dev:configure:repo",
|
|
1294
|
+
"configure:dev:repo",
|
|
1295
|
+
"configure:repo:dev",
|
|
1296
|
+
"dev:repo:configure",
|
|
1297
|
+
"repo:dev:configure",
|
|
1298
|
+
"repo:configure:dev"
|
|
1299
|
+
]
|
|
1300
|
+
},
|
|
1301
|
+
"dev:configure:secrets": {
|
|
1262
1302
|
"aliases": [],
|
|
1303
|
+
"args": {},
|
|
1304
|
+
"description": "Inspects a repo's yaml files and verifies that secrets required are available for the repo (either set at the repo level or shared via organization-level secrets).\n\nThis command requires scope:admin permissions to inspect the org secrets and admin access to the repo to inspect the repo secrets.",
|
|
1263
1305
|
"examples": [
|
|
1264
1306
|
"Ensure secrets access for the repo \"testPackageRelease\", with owner \"salesforcecli\":",
|
|
1265
1307
|
"<%= config.bin %> <%= command.id %> --repository salesforcecli/testPackageRelease"
|
|
1266
1308
|
],
|
|
1267
1309
|
"flags": {
|
|
1268
1310
|
"json": {
|
|
1269
|
-
"name": "json",
|
|
1270
|
-
"type": "boolean",
|
|
1271
1311
|
"description": "Format output as json.",
|
|
1272
1312
|
"helpGroup": "GLOBAL",
|
|
1273
|
-
"
|
|
1313
|
+
"name": "json",
|
|
1314
|
+
"allowNo": false,
|
|
1315
|
+
"type": "boolean"
|
|
1274
1316
|
},
|
|
1275
1317
|
"repository": {
|
|
1276
|
-
"name": "repository",
|
|
1277
|
-
"type": "option",
|
|
1278
1318
|
"char": "r",
|
|
1279
|
-
"
|
|
1319
|
+
"name": "repository",
|
|
1280
1320
|
"required": true,
|
|
1281
|
-
"
|
|
1321
|
+
"summary": "Github owner/repo.",
|
|
1322
|
+
"hasDynamicHelp": false,
|
|
1323
|
+
"multiple": false,
|
|
1324
|
+
"type": "option"
|
|
1282
1325
|
},
|
|
1283
1326
|
"dry-run": {
|
|
1284
|
-
"
|
|
1285
|
-
|
|
1327
|
+
"aliases": [
|
|
1328
|
+
"dryrun"
|
|
1329
|
+
],
|
|
1286
1330
|
"char": "d",
|
|
1331
|
+
"name": "dry-run",
|
|
1287
1332
|
"summary": "Make no changes.",
|
|
1288
1333
|
"allowNo": false,
|
|
1289
|
-
"
|
|
1290
|
-
"dryrun"
|
|
1291
|
-
]
|
|
1334
|
+
"type": "boolean"
|
|
1292
1335
|
}
|
|
1293
1336
|
},
|
|
1294
|
-
"
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
"id": "dev:convert:messages",
|
|
1298
|
-
"summary": "Convert a .json messages file into Markdown.",
|
|
1299
|
-
"description": "Preserves the filename and the original messages file, then creates a new file with the Markdown extension and standard headers for the command and flag summaries, descriptions, and so on. After you review the new Markdown file, delete the old .json file.",
|
|
1300
|
-
"strict": true,
|
|
1301
|
-
"pluginName": "@salesforce/plugin-dev",
|
|
1337
|
+
"hasDynamicHelp": false,
|
|
1338
|
+
"hiddenAliases": [],
|
|
1339
|
+
"id": "dev:configure:secrets",
|
|
1302
1340
|
"pluginAlias": "@salesforce/plugin-dev",
|
|
1341
|
+
"pluginName": "@salesforce/plugin-dev",
|
|
1303
1342
|
"pluginType": "jit",
|
|
1343
|
+
"strict": true,
|
|
1344
|
+
"summary": "Ensures a GitHub repo has correct access to secrets based on its workflows.",
|
|
1345
|
+
"enableJsonFlag": true,
|
|
1346
|
+
"SF_ENV": "SF_ENV",
|
|
1347
|
+
"isESM": true,
|
|
1348
|
+
"relativePath": [
|
|
1349
|
+
"lib",
|
|
1350
|
+
"commands",
|
|
1351
|
+
"dev",
|
|
1352
|
+
"configure",
|
|
1353
|
+
"secrets.js"
|
|
1354
|
+
],
|
|
1355
|
+
"aliasPermutations": [],
|
|
1356
|
+
"permutations": [
|
|
1357
|
+
"dev:configure:secrets",
|
|
1358
|
+
"configure:dev:secrets",
|
|
1359
|
+
"configure:secrets:dev",
|
|
1360
|
+
"dev:secrets:configure",
|
|
1361
|
+
"secrets:dev:configure",
|
|
1362
|
+
"secrets:configure:dev"
|
|
1363
|
+
]
|
|
1364
|
+
},
|
|
1365
|
+
"dev:convert:messages": {
|
|
1304
1366
|
"aliases": [],
|
|
1367
|
+
"args": {},
|
|
1368
|
+
"description": "Preserves the filename and the original messages file, then creates a new file with the Markdown extension and standard headers for the command and flag summaries, descriptions, and so on. After you review the new Markdown file, delete the old .json file.",
|
|
1305
1369
|
"examples": [
|
|
1306
1370
|
"Convert the my-command.json message file into my-command.md with the standard messages headers:\n<%= config.bin %> <%= command.id %> --filename my-command.json",
|
|
1307
1371
|
"Similar to previous example, but specify the plugin project directory:",
|
|
@@ -1309,176 +1373,314 @@
|
|
|
1309
1373
|
],
|
|
1310
1374
|
"flags": {
|
|
1311
1375
|
"json": {
|
|
1312
|
-
"name": "json",
|
|
1313
|
-
"type": "boolean",
|
|
1314
1376
|
"description": "Format output as json.",
|
|
1315
1377
|
"helpGroup": "GLOBAL",
|
|
1316
|
-
"
|
|
1378
|
+
"name": "json",
|
|
1379
|
+
"allowNo": false,
|
|
1380
|
+
"type": "boolean"
|
|
1317
1381
|
},
|
|
1318
1382
|
"project-dir": {
|
|
1319
|
-
"
|
|
1320
|
-
|
|
1383
|
+
"aliases": [
|
|
1384
|
+
"projectdir"
|
|
1385
|
+
],
|
|
1321
1386
|
"char": "p",
|
|
1387
|
+
"name": "project-dir",
|
|
1322
1388
|
"summary": "Location of the project whose messages are to be converted.",
|
|
1323
|
-
"multiple": false,
|
|
1324
1389
|
"default": ".",
|
|
1325
|
-
"
|
|
1326
|
-
|
|
1327
|
-
|
|
1390
|
+
"hasDynamicHelp": false,
|
|
1391
|
+
"multiple": false,
|
|
1392
|
+
"type": "option"
|
|
1328
1393
|
},
|
|
1329
1394
|
"file-name": {
|
|
1330
|
-
"
|
|
1331
|
-
|
|
1395
|
+
"aliases": [
|
|
1396
|
+
"filename"
|
|
1397
|
+
],
|
|
1332
1398
|
"char": "f",
|
|
1333
|
-
"
|
|
1399
|
+
"name": "file-name",
|
|
1334
1400
|
"required": true,
|
|
1401
|
+
"summary": "Filename to convert.",
|
|
1402
|
+
"hasDynamicHelp": false,
|
|
1335
1403
|
"multiple": true,
|
|
1336
|
-
"
|
|
1337
|
-
"filename"
|
|
1338
|
-
]
|
|
1404
|
+
"type": "option"
|
|
1339
1405
|
}
|
|
1340
1406
|
},
|
|
1341
|
-
"
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
"id": "dev:convert:script",
|
|
1345
|
-
"summary": "Convert a script file that contains deprecated sfdx-style commands to use the new sf-style commands instead.",
|
|
1346
|
-
"description": "Important: Use this command only to get started on the sfdx->sf script migration. We don't guarantee that the new sf-style command replacements work correctly or as you expect. You must test, and probably update, the new script before putting it into production. We also don't guarantee that the JSON results are the same as before. \n\nThis command can convert a large part of your script, but possibly not all. There are some sfdx-style commands that don't have an obvious sf-style equivalent. In this case, this command doesn't replace the sfdx-style command but instead adds a comment to remind you that you must convert it manually. See the Salesforce CLI Command Reference for migration information about each deprecated sfdx-style command: https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference.htm.\n\nThis command is interactive; as it scans your script, it prompts you when it finds an sfdx-style command or flag and asks if you want to convert it to the displayed suggestion. The command doesn't update the script file directly; rather, it creates a new file whose name is the original name but with \"-converted\" appended to it. The script replaces all instances of \"sfdx\" with \"sf\". For each prompt you answer \"y\" to, the command replaces the sfdx-style names with their equivalent sf-style ones. For example, \"sfdx force:apex:execute --targetusername myscratch\" is replaced with \"sf apex run --target-org myscratch\".",
|
|
1347
|
-
"strict": true,
|
|
1348
|
-
"pluginName": "@salesforce/plugin-dev",
|
|
1407
|
+
"hasDynamicHelp": false,
|
|
1408
|
+
"hiddenAliases": [],
|
|
1409
|
+
"id": "dev:convert:messages",
|
|
1349
1410
|
"pluginAlias": "@salesforce/plugin-dev",
|
|
1411
|
+
"pluginName": "@salesforce/plugin-dev",
|
|
1350
1412
|
"pluginType": "jit",
|
|
1413
|
+
"strict": true,
|
|
1414
|
+
"summary": "Convert a .json messages file into Markdown.",
|
|
1415
|
+
"enableJsonFlag": true,
|
|
1416
|
+
"SF_ENV": "SF_ENV",
|
|
1417
|
+
"isESM": true,
|
|
1418
|
+
"relativePath": [
|
|
1419
|
+
"lib",
|
|
1420
|
+
"commands",
|
|
1421
|
+
"dev",
|
|
1422
|
+
"convert",
|
|
1423
|
+
"messages.js"
|
|
1424
|
+
],
|
|
1425
|
+
"aliasPermutations": [],
|
|
1426
|
+
"permutations": [
|
|
1427
|
+
"dev:convert:messages",
|
|
1428
|
+
"convert:dev:messages",
|
|
1429
|
+
"convert:messages:dev",
|
|
1430
|
+
"dev:messages:convert",
|
|
1431
|
+
"messages:dev:convert",
|
|
1432
|
+
"messages:convert:dev"
|
|
1433
|
+
]
|
|
1434
|
+
},
|
|
1435
|
+
"dev:convert:script": {
|
|
1351
1436
|
"aliases": [],
|
|
1437
|
+
"args": {},
|
|
1438
|
+
"description": "Important: Use this command only to get started on the sfdx->sf script migration. We don't guarantee that the new sf-style command replacements work correctly or as you expect. You must test, and probably update, the new script before putting it into production. We also don't guarantee that the JSON results are the same as before. \n\nThis command can convert a large part of your script, but possibly not all. There are some sfdx-style commands that don't have an obvious sf-style equivalent. In this case, this command doesn't replace the sfdx-style command but instead adds a comment to remind you that you must convert it manually. See the Salesforce CLI Command Reference for migration information about each deprecated sfdx-style command: https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference.htm.\n\nThis command is interactive; as it scans your script, it prompts you when it finds an sfdx-style command or flag and asks if you want to convert it to the displayed suggestion. The command doesn't update the script file directly; rather, it creates a new file whose name is the original name but with \"-converted\" appended to it. The script replaces all instances of \"sfdx\" with \"sf\". For each prompt you answer \"y\" to, the command replaces the sfdx-style names with their equivalent sf-style ones. For example, \"sfdx force:apex:execute --targetusername myscratch\" is replaced with \"sf apex run --target-org myscratch\".",
|
|
1352
1439
|
"examples": [
|
|
1353
1440
|
"Convert the YAML file called \"myScript.yml\" located in the current directory; the new file that contains the replacements is called \"myScript-converted.yml\":\n<%= config.bin %> <%= command.id %> --script ./myScript.yml"
|
|
1354
1441
|
],
|
|
1355
1442
|
"flags": {
|
|
1356
1443
|
"json": {
|
|
1357
|
-
"name": "json",
|
|
1358
|
-
"type": "boolean",
|
|
1359
1444
|
"description": "Format output as json.",
|
|
1360
1445
|
"helpGroup": "GLOBAL",
|
|
1361
|
-
"
|
|
1446
|
+
"name": "json",
|
|
1447
|
+
"allowNo": false,
|
|
1448
|
+
"type": "boolean"
|
|
1362
1449
|
},
|
|
1363
1450
|
"script": {
|
|
1364
|
-
"name": "script",
|
|
1365
|
-
"type": "option",
|
|
1366
1451
|
"char": "s",
|
|
1367
|
-
"
|
|
1452
|
+
"name": "script",
|
|
1368
1453
|
"required": true,
|
|
1369
|
-
"
|
|
1454
|
+
"summary": "Filepath to the script you want to convert.",
|
|
1455
|
+
"hasDynamicHelp": false,
|
|
1456
|
+
"multiple": false,
|
|
1457
|
+
"type": "option"
|
|
1370
1458
|
},
|
|
1371
1459
|
"no-prompt": {
|
|
1460
|
+
"hidden": true,
|
|
1372
1461
|
"name": "no-prompt",
|
|
1373
|
-
"type": "boolean",
|
|
1374
1462
|
"summary": "Don't prompt for suggested replacements.",
|
|
1375
|
-
"
|
|
1376
|
-
"
|
|
1463
|
+
"allowNo": false,
|
|
1464
|
+
"type": "boolean"
|
|
1377
1465
|
}
|
|
1378
1466
|
},
|
|
1379
|
-
"
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
"id": "dev:generate:command",
|
|
1383
|
-
"summary": "Generate a new sf command.",
|
|
1384
|
-
"description": "You must run this command from within a plugin directory, such as the directory created with the \"sf dev generate plugin\" command.\n\nThe command generates basic source files, messages (\\*.md), and test files for your new command. The Typescript files contain import statements for the minimum required Salesforce libraries, and scaffold some basic code. The new type names come from the value you passed to the --name flag.\n\nThe command updates the package.json file, so if it detects conflicts with the existing file, you're prompted whether you want to overwrite the file. There are a number of package.json updates required for a new command, so we recommend you answer \"y\" so the command takes care of them all. If you answer \"n\", you must update the package.json file manually.",
|
|
1385
|
-
"strict": true,
|
|
1386
|
-
"pluginName": "@salesforce/plugin-dev",
|
|
1467
|
+
"hasDynamicHelp": false,
|
|
1468
|
+
"hiddenAliases": [],
|
|
1469
|
+
"id": "dev:convert:script",
|
|
1387
1470
|
"pluginAlias": "@salesforce/plugin-dev",
|
|
1471
|
+
"pluginName": "@salesforce/plugin-dev",
|
|
1388
1472
|
"pluginType": "jit",
|
|
1473
|
+
"strict": true,
|
|
1474
|
+
"summary": "Convert a script file that contains deprecated sfdx-style commands to use the new sf-style commands instead.",
|
|
1475
|
+
"enableJsonFlag": true,
|
|
1476
|
+
"SF_ENV": "SF_ENV",
|
|
1477
|
+
"isESM": true,
|
|
1478
|
+
"relativePath": [
|
|
1479
|
+
"lib",
|
|
1480
|
+
"commands",
|
|
1481
|
+
"dev",
|
|
1482
|
+
"convert",
|
|
1483
|
+
"script.js"
|
|
1484
|
+
],
|
|
1485
|
+
"aliasPermutations": [],
|
|
1486
|
+
"permutations": [
|
|
1487
|
+
"dev:convert:script",
|
|
1488
|
+
"convert:dev:script",
|
|
1489
|
+
"convert:script:dev",
|
|
1490
|
+
"dev:script:convert",
|
|
1491
|
+
"script:dev:convert",
|
|
1492
|
+
"script:convert:dev"
|
|
1493
|
+
]
|
|
1494
|
+
},
|
|
1495
|
+
"dev:generate:command": {
|
|
1389
1496
|
"aliases": [],
|
|
1497
|
+
"args": {},
|
|
1498
|
+
"description": "You must run this command from within a plugin directory, such as the directory created with the \"sf dev generate plugin\" command.\n\nThe command generates basic source files, messages (\\*.md), and test files for your new command. The Typescript files contain import statements for the minimum required Salesforce libraries, and scaffold some basic code. The new type names come from the value you passed to the --name flag.\n\nThe command updates the package.json file, so if it detects conflicts with the existing file, you're prompted whether you want to overwrite the file. There are a number of package.json updates required for a new command, so we recommend you answer \"y\" so the command takes care of them all. If you answer \"n\", you must update the package.json file manually.",
|
|
1390
1499
|
"examples": [
|
|
1391
1500
|
"Generate the files for a new \"sf my exciting command\":\n<%= config.bin %> <%= command.id %> --name my:exciting:command"
|
|
1392
1501
|
],
|
|
1393
1502
|
"flags": {
|
|
1394
1503
|
"name": {
|
|
1395
|
-
"name": "name",
|
|
1396
|
-
"type": "option",
|
|
1397
1504
|
"char": "n",
|
|
1398
|
-
"
|
|
1505
|
+
"name": "name",
|
|
1399
1506
|
"required": true,
|
|
1400
|
-
"
|
|
1507
|
+
"summary": "Name of the new command. Use colons to separate the topic and command names.",
|
|
1508
|
+
"hasDynamicHelp": false,
|
|
1509
|
+
"multiple": false,
|
|
1510
|
+
"type": "option"
|
|
1401
1511
|
},
|
|
1402
1512
|
"force": {
|
|
1403
1513
|
"name": "force",
|
|
1404
|
-
"type": "boolean",
|
|
1405
1514
|
"summary": "Overwrite existing files.",
|
|
1406
|
-
"allowNo": false
|
|
1515
|
+
"allowNo": false,
|
|
1516
|
+
"type": "boolean"
|
|
1407
1517
|
},
|
|
1408
1518
|
"nuts": {
|
|
1409
1519
|
"name": "nuts",
|
|
1410
|
-
"type": "boolean",
|
|
1411
1520
|
"summary": "Generate a NUT test file for the command.",
|
|
1412
|
-
"allowNo": true
|
|
1521
|
+
"allowNo": true,
|
|
1522
|
+
"type": "boolean"
|
|
1413
1523
|
},
|
|
1414
1524
|
"unit": {
|
|
1415
1525
|
"name": "unit",
|
|
1416
|
-
"type": "boolean",
|
|
1417
1526
|
"summary": "Generate a unit test file for the command.",
|
|
1418
|
-
"allowNo": true
|
|
1527
|
+
"allowNo": true,
|
|
1528
|
+
"type": "boolean"
|
|
1419
1529
|
}
|
|
1420
1530
|
},
|
|
1421
|
-
"
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
"id": "dev:generate:flag",
|
|
1425
|
-
"summary": "Generate a flag for an existing command.",
|
|
1426
|
-
"description": "You must run this command from within a plugin directory, such as the directory created with the \"sf dev generate plugin\" command.\n\nThis command is interactive. It first discovers all the commands currently implemented in the plugin, and asks you which you want to create a new flag for. It then prompts for other flag properties, such as its long name, optional short name, type, whether it's required, and so on. Long flag names must be kebab-case and not camelCase. The command doesn't let you use an existing long or short flag name. When the command completes, the Typescript file for the command is updated with the code for the new flag.\n\nUse the --dry-run flag to review new code for the command file without actually udpating it.",
|
|
1427
|
-
"strict": true,
|
|
1428
|
-
"pluginName": "@salesforce/plugin-dev",
|
|
1531
|
+
"hasDynamicHelp": false,
|
|
1532
|
+
"hiddenAliases": [],
|
|
1533
|
+
"id": "dev:generate:command",
|
|
1429
1534
|
"pluginAlias": "@salesforce/plugin-dev",
|
|
1535
|
+
"pluginName": "@salesforce/plugin-dev",
|
|
1430
1536
|
"pluginType": "jit",
|
|
1537
|
+
"strict": true,
|
|
1538
|
+
"summary": "Generate a new sf command.",
|
|
1539
|
+
"enableJsonFlag": false,
|
|
1540
|
+
"SF_ENV": "SF_ENV",
|
|
1541
|
+
"isESM": true,
|
|
1542
|
+
"relativePath": [
|
|
1543
|
+
"lib",
|
|
1544
|
+
"commands",
|
|
1545
|
+
"dev",
|
|
1546
|
+
"generate",
|
|
1547
|
+
"command.js"
|
|
1548
|
+
],
|
|
1549
|
+
"aliasPermutations": [],
|
|
1550
|
+
"permutations": [
|
|
1551
|
+
"dev:generate:command",
|
|
1552
|
+
"generate:dev:command",
|
|
1553
|
+
"generate:command:dev",
|
|
1554
|
+
"dev:command:generate",
|
|
1555
|
+
"command:dev:generate",
|
|
1556
|
+
"command:generate:dev"
|
|
1557
|
+
]
|
|
1558
|
+
},
|
|
1559
|
+
"dev:generate:flag": {
|
|
1431
1560
|
"aliases": [],
|
|
1561
|
+
"args": {},
|
|
1562
|
+
"description": "You must run this command from within a plugin directory, such as the directory created with the \"sf dev generate plugin\" command.\n\nThis command is interactive. It first discovers all the commands currently implemented in the plugin, and asks you which you want to create a new flag for. It then prompts for other flag properties, such as its long name, optional short name, type, whether it's required, and so on. Long flag names must be kebab-case and not camelCase. The command doesn't let you use an existing long or short flag name. When the command completes, the Typescript file for the command is updated with the code for the new flag.\n\nUse the --dry-run flag to review new code for the command file without actually udpating it.",
|
|
1432
1563
|
"examples": [
|
|
1433
1564
|
"Generate a new flag and update the command file:\n<%= config.bin %> <%= command.id %>",
|
|
1434
1565
|
"Don't actually update the command file, just view the generated code:\n<%= config.bin %> <%= command.id %> --dry-run"
|
|
1435
1566
|
],
|
|
1436
1567
|
"flags": {
|
|
1437
1568
|
"dry-run": {
|
|
1438
|
-
"
|
|
1439
|
-
|
|
1569
|
+
"aliases": [
|
|
1570
|
+
"dryrun"
|
|
1571
|
+
],
|
|
1440
1572
|
"char": "d",
|
|
1573
|
+
"name": "dry-run",
|
|
1441
1574
|
"summary": "Print new flag code instead of adding it to the command file.",
|
|
1442
1575
|
"allowNo": false,
|
|
1443
|
-
"
|
|
1444
|
-
"dryrun"
|
|
1445
|
-
]
|
|
1576
|
+
"type": "boolean"
|
|
1446
1577
|
}
|
|
1447
1578
|
},
|
|
1448
|
-
"
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
"id": "dev:generate:library",
|
|
1452
|
-
"summary": "Generate a new library.",
|
|
1453
|
-
"description": "This command is interactive. You're prompted for information to populate the new library, such as the npm scope (which must start with \"@\"), the name and description of the library, and its GitHub organization. The command clones the 'forcedotcom/library-template' GitHub repository, installs the library's npm package dependencies using yarn install, and updates the package properties.\n\nWhen the command completes, your new library contains a few sample source and test files to get you started.",
|
|
1454
|
-
"strict": true,
|
|
1455
|
-
"pluginName": "@salesforce/plugin-dev",
|
|
1579
|
+
"hasDynamicHelp": false,
|
|
1580
|
+
"hiddenAliases": [],
|
|
1581
|
+
"id": "dev:generate:flag",
|
|
1456
1582
|
"pluginAlias": "@salesforce/plugin-dev",
|
|
1583
|
+
"pluginName": "@salesforce/plugin-dev",
|
|
1457
1584
|
"pluginType": "jit",
|
|
1585
|
+
"strict": true,
|
|
1586
|
+
"summary": "Generate a flag for an existing command.",
|
|
1587
|
+
"enableJsonFlag": false,
|
|
1588
|
+
"SF_ENV": "SF_ENV",
|
|
1589
|
+
"isESM": true,
|
|
1590
|
+
"relativePath": [
|
|
1591
|
+
"lib",
|
|
1592
|
+
"commands",
|
|
1593
|
+
"dev",
|
|
1594
|
+
"generate",
|
|
1595
|
+
"flag.js"
|
|
1596
|
+
],
|
|
1597
|
+
"aliasPermutations": [],
|
|
1598
|
+
"permutations": [
|
|
1599
|
+
"dev:generate:flag",
|
|
1600
|
+
"generate:dev:flag",
|
|
1601
|
+
"generate:flag:dev",
|
|
1602
|
+
"dev:flag:generate",
|
|
1603
|
+
"flag:dev:generate",
|
|
1604
|
+
"flag:generate:dev"
|
|
1605
|
+
]
|
|
1606
|
+
},
|
|
1607
|
+
"dev:generate:library": {
|
|
1458
1608
|
"aliases": [],
|
|
1609
|
+
"args": {},
|
|
1610
|
+
"description": "This command is interactive. You're prompted for information to populate the new library, such as the npm scope (which must start with \"@\"), the name and description of the library, and its GitHub organization. The command clones the 'forcedotcom/library-template' GitHub repository, installs the library's npm package dependencies using yarn install, and updates the package properties.\n\nWhen the command completes, your new library contains a few sample source and test files to get you started.",
|
|
1459
1611
|
"examples": [
|
|
1460
1612
|
"<%= config.bin %> <%= command.id %>"
|
|
1461
1613
|
],
|
|
1462
1614
|
"flags": {},
|
|
1463
|
-
"
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
"id": "dev:generate:plugin",
|
|
1467
|
-
"summary": "Generate a new sf plugin.",
|
|
1468
|
-
"description": "This command is interactive. You're prompted for information to populate your new plugin, such as its name, description, author, and percentage of code coverage you want. The command clones the 'salesforcecli/plugin-template-sf' GitHub repository, installs the plug-in's npm package dependencies using yarn install, and updates the package properties.\n\nWhen the command completes, your new plugin contains the source, message, and test files for a sample \"sf hello world\" command.",
|
|
1469
|
-
"strict": true,
|
|
1470
|
-
"pluginName": "@salesforce/plugin-dev",
|
|
1615
|
+
"hasDynamicHelp": false,
|
|
1616
|
+
"hiddenAliases": [],
|
|
1617
|
+
"id": "dev:generate:library",
|
|
1471
1618
|
"pluginAlias": "@salesforce/plugin-dev",
|
|
1619
|
+
"pluginName": "@salesforce/plugin-dev",
|
|
1472
1620
|
"pluginType": "jit",
|
|
1621
|
+
"strict": true,
|
|
1622
|
+
"summary": "Generate a new library.",
|
|
1623
|
+
"enableJsonFlag": false,
|
|
1624
|
+
"SF_ENV": "SF_ENV",
|
|
1625
|
+
"isESM": true,
|
|
1626
|
+
"relativePath": [
|
|
1627
|
+
"lib",
|
|
1628
|
+
"commands",
|
|
1629
|
+
"dev",
|
|
1630
|
+
"generate",
|
|
1631
|
+
"library.js"
|
|
1632
|
+
],
|
|
1633
|
+
"aliasPermutations": [],
|
|
1634
|
+
"permutations": [
|
|
1635
|
+
"dev:generate:library",
|
|
1636
|
+
"generate:dev:library",
|
|
1637
|
+
"generate:library:dev",
|
|
1638
|
+
"dev:library:generate",
|
|
1639
|
+
"library:dev:generate",
|
|
1640
|
+
"library:generate:dev"
|
|
1641
|
+
]
|
|
1642
|
+
},
|
|
1643
|
+
"dev:generate:plugin": {
|
|
1473
1644
|
"aliases": [
|
|
1474
1645
|
"plugins:generate"
|
|
1475
1646
|
],
|
|
1647
|
+
"args": {},
|
|
1648
|
+
"deprecateAliases": true,
|
|
1649
|
+
"description": "This command is interactive. You're prompted for information to populate your new plugin, such as its name, description, author, and percentage of code coverage you want. The command clones the 'salesforcecli/plugin-template-sf' GitHub repository, installs the plug-in's npm package dependencies using yarn install, and updates the package properties.\n\nWhen the command completes, your new plugin contains the source, message, and test files for a sample \"sf hello world\" command.",
|
|
1476
1650
|
"examples": [
|
|
1477
1651
|
"<%= config.bin %> <%= command.id %>"
|
|
1478
1652
|
],
|
|
1479
|
-
"deprecateAliases": true,
|
|
1480
1653
|
"flags": {},
|
|
1481
|
-
"
|
|
1654
|
+
"hasDynamicHelp": false,
|
|
1655
|
+
"hiddenAliases": [],
|
|
1656
|
+
"id": "dev:generate:plugin",
|
|
1657
|
+
"pluginAlias": "@salesforce/plugin-dev",
|
|
1658
|
+
"pluginName": "@salesforce/plugin-dev",
|
|
1659
|
+
"pluginType": "jit",
|
|
1660
|
+
"strict": true,
|
|
1661
|
+
"summary": "Generate a new sf plugin.",
|
|
1662
|
+
"enableJsonFlag": false,
|
|
1663
|
+
"SF_ENV": "SF_ENV",
|
|
1664
|
+
"isESM": true,
|
|
1665
|
+
"relativePath": [
|
|
1666
|
+
"lib",
|
|
1667
|
+
"commands",
|
|
1668
|
+
"dev",
|
|
1669
|
+
"generate",
|
|
1670
|
+
"plugin.js"
|
|
1671
|
+
],
|
|
1672
|
+
"aliasPermutations": [
|
|
1673
|
+
"plugins:generate",
|
|
1674
|
+
"generate:plugins"
|
|
1675
|
+
],
|
|
1676
|
+
"permutations": [
|
|
1677
|
+
"dev:generate:plugin",
|
|
1678
|
+
"generate:dev:plugin",
|
|
1679
|
+
"generate:plugin:dev",
|
|
1680
|
+
"dev:plugin:generate",
|
|
1681
|
+
"plugin:dev:generate",
|
|
1682
|
+
"plugin:generate:dev"
|
|
1683
|
+
]
|
|
1482
1684
|
},
|
|
1483
1685
|
"project:deploy:pipeline:quick": {
|
|
1484
1686
|
"id": "project:deploy:pipeline:quick",
|
|
@@ -7420,5 +7622,5 @@
|
|
|
7420
7622
|
]
|
|
7421
7623
|
}
|
|
7422
7624
|
},
|
|
7423
|
-
"version": "2.19.
|
|
7625
|
+
"version": "2.19.6"
|
|
7424
7626
|
}
|