@salesforce/cli 2.47.1 → 2.47.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 CHANGED
@@ -24,7 +24,7 @@ $ npm install -g @salesforce/cli
24
24
  $ sf COMMAND
25
25
  running command...
26
26
  $ sf (--version|-v)
27
- @salesforce/cli/2.47.1 linux-x64 node-v20.14.0
27
+ @salesforce/cli/2.47.2 linux-x64 node-v20.14.0
28
28
  $ sf --help [COMMAND]
29
29
  USAGE
30
30
  $ sf COMMAND
@@ -1130,7 +1130,7 @@ EXAMPLES
1130
1130
  $ sf data create file --file path/to/astro.png --parent-id a03fakeLoJWPIA3
1131
1131
  ```
1132
1132
 
1133
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.4.8/src/commands/data/create/file.ts)_
1133
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.5.0/src/commands/data/create/file.ts)_
1134
1134
 
1135
1135
  ## `sf data create record`
1136
1136
 
@@ -1186,7 +1186,7 @@ EXAMPLES
1186
1186
  TracedEntityId=01p17000000R6bLAAS"
1187
1187
  ```
1188
1188
 
1189
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.4.8/src/commands/data/create/record.ts)_
1189
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.5.0/src/commands/data/create/record.ts)_
1190
1190
 
1191
1191
  ## `sf data delete bulk`
1192
1192
 
@@ -1195,7 +1195,7 @@ Bulk delete records from an org using a CSV file. Uses Bulk API 2.0.
1195
1195
  ```
1196
1196
  USAGE
1197
1197
  $ sf data delete bulk -o <value> -f <value> -s <value> [--json] [--flags-dir <value>] [--api-version <value>] [-w
1198
- <value> | -a] [--verbose]
1198
+ <value> | -a] [--verbose] [--hard-delete]
1199
1199
 
1200
1200
  FLAGS
1201
1201
  -a, --async Run the command asynchronously.
@@ -1207,6 +1207,8 @@ FLAGS
1207
1207
  -w, --wait=<value> [default: 0 minutes] Number of minutes to wait for the command to complete before
1208
1208
  displaying the results.
1209
1209
  --api-version=<value> Override the api version used for api requests made by this command
1210
+ --hard-delete Mark the records as immediately eligible for deletion by your org. If you don't specify
1211
+ this flag, the deleted records go into the Recycle Bin.
1210
1212
  --verbose Print verbose output of failed records if result is available.
1211
1213
 
1212
1214
  GLOBAL FLAGS
@@ -1231,9 +1233,18 @@ EXAMPLES
1231
1233
  complete:
1232
1234
 
1233
1235
  $ sf data delete bulk --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch
1236
+
1237
+ FLAG DESCRIPTIONS
1238
+ --hard-delete
1239
+
1240
+ Mark the records as immediately eligible for deletion by your org. If you don't specify this flag, the deleted
1241
+ records go into the Recycle Bin.
1242
+
1243
+ You must have the "Bulk API Hard Delete" system permission to use this flag. The permission is disabled by default
1244
+ and can be enabled only by a system administrator.
1234
1245
  ```
1235
1246
 
1236
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.4.8/src/commands/data/delete/bulk.ts)_
1247
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.5.0/src/commands/data/delete/bulk.ts)_
1237
1248
 
1238
1249
  ## `sf data delete record`
1239
1250
 
@@ -1294,7 +1305,7 @@ EXAMPLES
1294
1305
  $ sf data delete record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
1295
1306
  ```
1296
1307
 
1297
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.4.8/src/commands/data/delete/record.ts)_
1308
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.5.0/src/commands/data/delete/record.ts)_
1298
1309
 
1299
1310
  ## `sf data delete resume`
1300
1311
 
@@ -1333,7 +1344,7 @@ EXAMPLES
1333
1344
  $ sf data delete resume --use-most-recent --target-org my-scratch
1334
1345
  ```
1335
1346
 
1336
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.4.8/src/commands/data/delete/resume.ts)_
1347
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.5.0/src/commands/data/delete/resume.ts)_
1337
1348
 
1338
1349
  ## `sf data export beta tree`
1339
1350
 
@@ -1391,7 +1402,7 @@ EXAMPLES
1391
1402
  my-scratch
1392
1403
  ```
1393
1404
 
1394
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.4.8/src/commands/data/export/beta/tree.ts)_
1405
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.5.0/src/commands/data/export/beta/tree.ts)_
1395
1406
 
1396
1407
  ## `sf data export tree`
1397
1408
 
@@ -1451,7 +1462,7 @@ EXAMPLES
1451
1462
  my-scratch
1452
1463
  ```
1453
1464
 
1454
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.4.8/src/commands/data/export/tree.ts)_
1465
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.5.0/src/commands/data/export/tree.ts)_
1455
1466
 
1456
1467
  ## `sf data get record`
1457
1468
 
@@ -1515,7 +1526,7 @@ EXAMPLES
1515
1526
  $ sf data get record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
1516
1527
  ```
1517
1528
 
1518
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.4.8/src/commands/data/get/record.ts)_
1529
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.5.0/src/commands/data/get/record.ts)_
1519
1530
 
1520
1531
  ## `sf data import beta tree`
1521
1532
 
@@ -1559,7 +1570,7 @@ EXAMPLES
1559
1570
  $ sf data import beta tree --plan Account-Contact-plan.json
1560
1571
  ```
1561
1572
 
1562
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.4.8/src/commands/data/import/beta/tree.ts)_
1573
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.5.0/src/commands/data/import/beta/tree.ts)_
1563
1574
 
1564
1575
  ## `sf data import tree`
1565
1576
 
@@ -1609,7 +1620,7 @@ EXAMPLES
1609
1620
  $ sf data import tree --plan Account-Contact-plan.json
1610
1621
  ```
1611
1622
 
1612
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.4.8/src/commands/data/import/tree.ts)_
1623
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.5.0/src/commands/data/import/tree.ts)_
1613
1624
 
1614
1625
  ## `sf data query`
1615
1626
 
@@ -1673,7 +1684,7 @@ EXAMPLES
1673
1684
  $ sf data query --query "SELECT Id FROM Contact" --bulk --wait 0
1674
1685
  ```
1675
1686
 
1676
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.4.8/src/commands/data/query.ts)_
1687
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.5.0/src/commands/data/query.ts)_
1677
1688
 
1678
1689
  ## `sf data query resume`
1679
1690
 
@@ -1711,7 +1722,7 @@ EXAMPLES
1711
1722
  $ sf data query resume --bulk-query-id 7500x000005BdFzXXX
1712
1723
  ```
1713
1724
 
1714
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.4.8/src/commands/data/query/resume.ts)_
1725
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.5.0/src/commands/data/query/resume.ts)_
1715
1726
 
1716
1727
  ## `sf data resume`
1717
1728
 
@@ -1748,7 +1759,7 @@ EXAMPLES
1748
1759
  $ sf data resume --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA
1749
1760
  ```
1750
1761
 
1751
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.4.8/src/commands/data/resume.ts)_
1762
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.5.0/src/commands/data/resume.ts)_
1752
1763
 
1753
1764
  ## `sf data update record`
1754
1765
 
@@ -1810,7 +1821,7 @@ EXAMPLES
1810
1821
  "ExpirationDate=2017-12-01T00:58:04.000+0000"
1811
1822
  ```
1812
1823
 
1813
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.4.8/src/commands/data/update/record.ts)_
1824
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.5.0/src/commands/data/update/record.ts)_
1814
1825
 
1815
1826
  ## `sf data upsert bulk`
1816
1827
 
@@ -1863,7 +1874,7 @@ EXAMPLES
1863
1874
  my-scratch
1864
1875
  ```
1865
1876
 
1866
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.4.8/src/commands/data/upsert/bulk.ts)_
1877
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.5.0/src/commands/data/upsert/bulk.ts)_
1867
1878
 
1868
1879
  ## `sf data upsert resume`
1869
1880
 
@@ -1902,7 +1913,7 @@ EXAMPLES
1902
1913
  $ sf data upsert resume --use-most-recent --target-org my-scratch
1903
1914
  ```
1904
1915
 
1905
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.4.8/src/commands/data/upsert/resume.ts)_
1916
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.5.0/src/commands/data/upsert/resume.ts)_
1906
1917
 
1907
1918
  ## `sf doctor`
1908
1919
 
@@ -1997,7 +2008,7 @@ EXAMPLES
1997
2008
  $ sf force data bulk delete --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch
1998
2009
  ```
1999
2010
 
2000
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.4.8/src/commands/force/data/bulk/delete.ts)_
2011
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.5.0/src/commands/force/data/bulk/delete.ts)_
2001
2012
 
2002
2013
  ## `sf force data bulk status`
2003
2014
 
@@ -2034,7 +2045,7 @@ EXAMPLES
2034
2045
  $ sf force data bulk status --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA --target-org my-scratch
2035
2046
  ```
2036
2047
 
2037
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.4.8/src/commands/force/data/bulk/status.ts)_
2048
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.5.0/src/commands/force/data/bulk/status.ts)_
2038
2049
 
2039
2050
  ## `sf force data bulk upsert`
2040
2051
 
@@ -2092,7 +2103,7 @@ EXAMPLES
2092
2103
  --target-org my-scratch
2093
2104
  ```
2094
2105
 
2095
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.4.8/src/commands/force/data/bulk/upsert.ts)_
2106
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.5.0/src/commands/force/data/bulk/upsert.ts)_
2096
2107
 
2097
2108
  ## `sf help [COMMAND]`
2098
2109
 
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@salesforce/cli",
3
- "version": "2.47.1",
3
+ "version": "2.47.2",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@salesforce/cli",
9
- "version": "2.47.1",
9
+ "version": "2.47.2",
10
10
  "hasInstallScript": true,
11
11
  "license": "BSD-3-Clause",
12
12
  "dependencies": {
@@ -26,7 +26,7 @@
26
26
  "@salesforce/kit": "^3.1.0",
27
27
  "@salesforce/plugin-apex": "3.1.19",
28
28
  "@salesforce/plugin-auth": "3.6.22",
29
- "@salesforce/plugin-data": "3.4.8",
29
+ "@salesforce/plugin-data": "3.5.0",
30
30
  "@salesforce/plugin-deploy-retrieve": "3.9.5",
31
31
  "@salesforce/plugin-info": "3.3.7",
32
32
  "@salesforce/plugin-limits": "3.3.13",
@@ -5370,9 +5370,9 @@
5370
5370
  }
5371
5371
  },
5372
5372
  "node_modules/@salesforce/plugin-data": {
5373
- "version": "3.4.8",
5374
- "resolved": "https://registry.npmjs.org/@salesforce/plugin-data/-/plugin-data-3.4.8.tgz",
5375
- "integrity": "sha512-gcKhUG62rmFdqDw8zCQP1l972mJ0ZUUHmC8BGmszS9y+eBUEl5rZSfhH4abO5qnc0PtkPkd8iTkHLLaZj7deag==",
5373
+ "version": "3.5.0",
5374
+ "resolved": "https://registry.npmjs.org/@salesforce/plugin-data/-/plugin-data-3.5.0.tgz",
5375
+ "integrity": "sha512-HvyMdQ2ZWpS4PskYW+nfuQKmuSwV75oo2Y7HAgdjCXOaGQ0FQO+6u4oXUUp5olEmYsWTy7As3xMoi1JnnWyV9Q==",
5376
5376
  "license": "BSD-3-Clause",
5377
5377
  "dependencies": {
5378
5378
  "@jsforce/jsforce-node": "^3.2.0",
package/oclif.lock CHANGED
@@ -2553,10 +2553,10 @@
2553
2553
  debug "^4.3.4"
2554
2554
  handlebars "^4.7.8"
2555
2555
 
2556
- "@salesforce/plugin-data@3.4.8":
2557
- version "3.4.8"
2558
- resolved "https://registry.npmjs.org/@salesforce/plugin-data/-/plugin-data-3.4.8.tgz"
2559
- integrity sha512-gcKhUG62rmFdqDw8zCQP1l972mJ0ZUUHmC8BGmszS9y+eBUEl5rZSfhH4abO5qnc0PtkPkd8iTkHLLaZj7deag==
2556
+ "@salesforce/plugin-data@3.5.0":
2557
+ version "3.5.0"
2558
+ resolved "https://registry.npmjs.org/@salesforce/plugin-data/-/plugin-data-3.5.0.tgz"
2559
+ integrity sha512-HvyMdQ2ZWpS4PskYW+nfuQKmuSwV75oo2Y7HAgdjCXOaGQ0FQO+6u4oXUUp5olEmYsWTy7As3xMoi1JnnWyV9Q==
2560
2560
  dependencies:
2561
2561
  "@jsforce/jsforce-node" "^3.2.0"
2562
2562
  "@oclif/core" "^4"
@@ -1294,12 +1294,14 @@
1294
1294
  "messages:audit:dev"
1295
1295
  ]
1296
1296
  },
1297
- "dev:configure:repo": {
1297
+ "dev:convert:messages": {
1298
1298
  "aliases": [],
1299
1299
  "args": {},
1300
- "description": "Sets up labels and exempts the CLI bot for branch protection and PR rules.",
1300
+ "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.",
1301
1301
  "examples": [
1302
- "Configure the repo \"testPackageRelease\", with owner \"salesforcecli\", for GitHub Actions.\n<%= config.bin %> <%= command.id %> --repository salesforcecli/testPackageRelease"
1302
+ "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",
1303
+ "Similar to previous example, but specify the plugin project directory:",
1304
+ "<%= config.bin %> <%= command.id %> --project-dir ./path/to/plugin --filename my-command.json"
1303
1305
  ],
1304
1306
  "flags": {
1305
1307
  "json": {
@@ -1317,70 +1319,64 @@
1317
1319
  "multiple": false,
1318
1320
  "type": "option"
1319
1321
  },
1320
- "repository": {
1321
- "char": "r",
1322
- "name": "repository",
1323
- "required": true,
1324
- "summary": "GitHub owner/repo for which you want to configure GitHub Actions.",
1322
+ "project-dir": {
1323
+ "aliases": [
1324
+ "projectdir"
1325
+ ],
1326
+ "char": "p",
1327
+ "name": "project-dir",
1328
+ "summary": "Location of the project whose messages are to be converted.",
1329
+ "default": ".",
1325
1330
  "hasDynamicHelp": false,
1326
1331
  "multiple": false,
1327
1332
  "type": "option"
1328
1333
  },
1329
- "dry-run": {
1334
+ "file-name": {
1330
1335
  "aliases": [
1331
- "dryrun"
1336
+ "filename"
1332
1337
  ],
1333
- "char": "d",
1334
- "name": "dry-run",
1335
- "summary": "Make no changes.",
1336
- "allowNo": false,
1337
- "type": "boolean"
1338
- },
1339
- "bot": {
1340
- "char": "b",
1341
- "name": "bot",
1342
- "summary": "GitHub login/username for the bot.",
1343
- "default": "SF-CLI-BOT",
1338
+ "char": "f",
1339
+ "name": "file-name",
1340
+ "required": true,
1341
+ "summary": "Filename to convert.",
1344
1342
  "hasDynamicHelp": false,
1345
- "multiple": false,
1343
+ "multiple": true,
1346
1344
  "type": "option"
1347
1345
  }
1348
1346
  },
1349
1347
  "hasDynamicHelp": false,
1350
- "hidden": true,
1351
1348
  "hiddenAliases": [],
1352
- "id": "dev:configure:repo",
1349
+ "id": "dev:convert:messages",
1353
1350
  "pluginAlias": "@salesforce/plugin-dev",
1354
1351
  "pluginName": "@salesforce/plugin-dev",
1355
1352
  "pluginType": "jit",
1356
1353
  "strict": true,
1357
- "summary": "Configure a GitHub repo for the GitHub Actions pipeline.",
1354
+ "summary": "Convert a .json messages file into Markdown.",
1358
1355
  "enableJsonFlag": true,
1359
1356
  "isESM": true,
1360
1357
  "relativePath": [
1361
1358
  "lib",
1362
1359
  "commands",
1363
1360
  "dev",
1364
- "configure",
1365
- "repo.js"
1361
+ "convert",
1362
+ "messages.js"
1366
1363
  ],
1367
1364
  "aliasPermutations": [],
1368
1365
  "permutations": [
1369
- "dev:configure:repo",
1370
- "configure:dev:repo",
1371
- "configure:repo:dev",
1372
- "dev:repo:configure",
1373
- "repo:dev:configure",
1374
- "repo:configure:dev"
1366
+ "dev:convert:messages",
1367
+ "convert:dev:messages",
1368
+ "convert:messages:dev",
1369
+ "dev:messages:convert",
1370
+ "messages:dev:convert",
1371
+ "messages:convert:dev"
1375
1372
  ]
1376
1373
  },
1377
- "dev:configure:secrets": {
1374
+ "dev:convert:script": {
1378
1375
  "aliases": [],
1379
1376
  "args": {},
1380
- "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.",
1377
+ "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\".",
1381
1378
  "examples": [
1382
- "Ensure secrets access for the repo \"testPackageRelease\", with owner \"salesforcecli\":",
1383
- "<%= config.bin %> <%= command.id %> --repository salesforcecli/testPackageRelease"
1379
+ "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"
1384
1380
  ],
1385
1381
  "flags": {
1386
1382
  "json": {
@@ -1398,62 +1394,56 @@
1398
1394
  "multiple": false,
1399
1395
  "type": "option"
1400
1396
  },
1401
- "repository": {
1402
- "char": "r",
1403
- "name": "repository",
1397
+ "script": {
1398
+ "char": "s",
1399
+ "name": "script",
1404
1400
  "required": true,
1405
- "summary": "Github owner/repo.",
1401
+ "summary": "Filepath to the script you want to convert.",
1406
1402
  "hasDynamicHelp": false,
1407
1403
  "multiple": false,
1408
1404
  "type": "option"
1409
1405
  },
1410
- "dry-run": {
1411
- "aliases": [
1412
- "dryrun"
1413
- ],
1414
- "char": "d",
1415
- "name": "dry-run",
1416
- "summary": "Make no changes.",
1406
+ "no-prompt": {
1407
+ "hidden": true,
1408
+ "name": "no-prompt",
1409
+ "summary": "Don't prompt for suggested replacements.",
1417
1410
  "allowNo": false,
1418
1411
  "type": "boolean"
1419
1412
  }
1420
1413
  },
1421
1414
  "hasDynamicHelp": false,
1422
- "hidden": true,
1423
1415
  "hiddenAliases": [],
1424
- "id": "dev:configure:secrets",
1416
+ "id": "dev:convert:script",
1425
1417
  "pluginAlias": "@salesforce/plugin-dev",
1426
1418
  "pluginName": "@salesforce/plugin-dev",
1427
1419
  "pluginType": "jit",
1428
1420
  "strict": true,
1429
- "summary": "Ensures a GitHub repo has correct access to secrets based on its workflows.",
1421
+ "summary": "Convert a script file that contains deprecated sfdx-style commands to use the new sf-style commands instead.",
1430
1422
  "enableJsonFlag": true,
1431
1423
  "isESM": true,
1432
1424
  "relativePath": [
1433
1425
  "lib",
1434
1426
  "commands",
1435
1427
  "dev",
1436
- "configure",
1437
- "secrets.js"
1428
+ "convert",
1429
+ "script.js"
1438
1430
  ],
1439
1431
  "aliasPermutations": [],
1440
1432
  "permutations": [
1441
- "dev:configure:secrets",
1442
- "configure:dev:secrets",
1443
- "configure:secrets:dev",
1444
- "dev:secrets:configure",
1445
- "secrets:dev:configure",
1446
- "secrets:configure:dev"
1433
+ "dev:convert:script",
1434
+ "convert:dev:script",
1435
+ "convert:script:dev",
1436
+ "dev:script:convert",
1437
+ "script:dev:convert",
1438
+ "script:convert:dev"
1447
1439
  ]
1448
1440
  },
1449
- "dev:convert:messages": {
1441
+ "dev:configure:repo": {
1450
1442
  "aliases": [],
1451
1443
  "args": {},
1452
- "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.",
1444
+ "description": "Sets up labels and exempts the CLI bot for branch protection and PR rules.",
1453
1445
  "examples": [
1454
- "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",
1455
- "Similar to previous example, but specify the plugin project directory:",
1456
- "<%= config.bin %> <%= command.id %> --project-dir ./path/to/plugin --filename my-command.json"
1446
+ "Configure the repo \"testPackageRelease\", with owner \"salesforcecli\", for GitHub Actions.\n<%= config.bin %> <%= command.id %> --repository salesforcecli/testPackageRelease"
1457
1447
  ],
1458
1448
  "flags": {
1459
1449
  "json": {
@@ -1471,64 +1461,70 @@
1471
1461
  "multiple": false,
1472
1462
  "type": "option"
1473
1463
  },
1474
- "project-dir": {
1475
- "aliases": [
1476
- "projectdir"
1477
- ],
1478
- "char": "p",
1479
- "name": "project-dir",
1480
- "summary": "Location of the project whose messages are to be converted.",
1481
- "default": ".",
1464
+ "repository": {
1465
+ "char": "r",
1466
+ "name": "repository",
1467
+ "required": true,
1468
+ "summary": "GitHub owner/repo for which you want to configure GitHub Actions.",
1482
1469
  "hasDynamicHelp": false,
1483
1470
  "multiple": false,
1484
1471
  "type": "option"
1485
1472
  },
1486
- "file-name": {
1473
+ "dry-run": {
1487
1474
  "aliases": [
1488
- "filename"
1475
+ "dryrun"
1489
1476
  ],
1490
- "char": "f",
1491
- "name": "file-name",
1492
- "required": true,
1493
- "summary": "Filename to convert.",
1477
+ "char": "d",
1478
+ "name": "dry-run",
1479
+ "summary": "Make no changes.",
1480
+ "allowNo": false,
1481
+ "type": "boolean"
1482
+ },
1483
+ "bot": {
1484
+ "char": "b",
1485
+ "name": "bot",
1486
+ "summary": "GitHub login/username for the bot.",
1487
+ "default": "SF-CLI-BOT",
1494
1488
  "hasDynamicHelp": false,
1495
- "multiple": true,
1489
+ "multiple": false,
1496
1490
  "type": "option"
1497
1491
  }
1498
1492
  },
1499
1493
  "hasDynamicHelp": false,
1494
+ "hidden": true,
1500
1495
  "hiddenAliases": [],
1501
- "id": "dev:convert:messages",
1496
+ "id": "dev:configure:repo",
1502
1497
  "pluginAlias": "@salesforce/plugin-dev",
1503
1498
  "pluginName": "@salesforce/plugin-dev",
1504
1499
  "pluginType": "jit",
1505
1500
  "strict": true,
1506
- "summary": "Convert a .json messages file into Markdown.",
1501
+ "summary": "Configure a GitHub repo for the GitHub Actions pipeline.",
1507
1502
  "enableJsonFlag": true,
1508
1503
  "isESM": true,
1509
1504
  "relativePath": [
1510
1505
  "lib",
1511
1506
  "commands",
1512
1507
  "dev",
1513
- "convert",
1514
- "messages.js"
1508
+ "configure",
1509
+ "repo.js"
1515
1510
  ],
1516
1511
  "aliasPermutations": [],
1517
1512
  "permutations": [
1518
- "dev:convert:messages",
1519
- "convert:dev:messages",
1520
- "convert:messages:dev",
1521
- "dev:messages:convert",
1522
- "messages:dev:convert",
1523
- "messages:convert:dev"
1513
+ "dev:configure:repo",
1514
+ "configure:dev:repo",
1515
+ "configure:repo:dev",
1516
+ "dev:repo:configure",
1517
+ "repo:dev:configure",
1518
+ "repo:configure:dev"
1524
1519
  ]
1525
1520
  },
1526
- "dev:convert:script": {
1521
+ "dev:configure:secrets": {
1527
1522
  "aliases": [],
1528
1523
  "args": {},
1529
- "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\".",
1524
+ "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.",
1530
1525
  "examples": [
1531
- "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"
1526
+ "Ensure secrets access for the repo \"testPackageRelease\", with owner \"salesforcecli\":",
1527
+ "<%= config.bin %> <%= command.id %> --repository salesforcecli/testPackageRelease"
1532
1528
  ],
1533
1529
  "flags": {
1534
1530
  "json": {
@@ -1546,48 +1542,52 @@
1546
1542
  "multiple": false,
1547
1543
  "type": "option"
1548
1544
  },
1549
- "script": {
1550
- "char": "s",
1551
- "name": "script",
1545
+ "repository": {
1546
+ "char": "r",
1547
+ "name": "repository",
1552
1548
  "required": true,
1553
- "summary": "Filepath to the script you want to convert.",
1549
+ "summary": "Github owner/repo.",
1554
1550
  "hasDynamicHelp": false,
1555
1551
  "multiple": false,
1556
1552
  "type": "option"
1557
1553
  },
1558
- "no-prompt": {
1559
- "hidden": true,
1560
- "name": "no-prompt",
1561
- "summary": "Don't prompt for suggested replacements.",
1554
+ "dry-run": {
1555
+ "aliases": [
1556
+ "dryrun"
1557
+ ],
1558
+ "char": "d",
1559
+ "name": "dry-run",
1560
+ "summary": "Make no changes.",
1562
1561
  "allowNo": false,
1563
1562
  "type": "boolean"
1564
1563
  }
1565
1564
  },
1566
1565
  "hasDynamicHelp": false,
1566
+ "hidden": true,
1567
1567
  "hiddenAliases": [],
1568
- "id": "dev:convert:script",
1568
+ "id": "dev:configure:secrets",
1569
1569
  "pluginAlias": "@salesforce/plugin-dev",
1570
1570
  "pluginName": "@salesforce/plugin-dev",
1571
1571
  "pluginType": "jit",
1572
1572
  "strict": true,
1573
- "summary": "Convert a script file that contains deprecated sfdx-style commands to use the new sf-style commands instead.",
1573
+ "summary": "Ensures a GitHub repo has correct access to secrets based on its workflows.",
1574
1574
  "enableJsonFlag": true,
1575
1575
  "isESM": true,
1576
1576
  "relativePath": [
1577
1577
  "lib",
1578
1578
  "commands",
1579
1579
  "dev",
1580
- "convert",
1581
- "script.js"
1580
+ "configure",
1581
+ "secrets.js"
1582
1582
  ],
1583
1583
  "aliasPermutations": [],
1584
1584
  "permutations": [
1585
- "dev:convert:script",
1586
- "convert:dev:script",
1587
- "convert:script:dev",
1588
- "dev:script:convert",
1589
- "script:dev:convert",
1590
- "script:convert:dev"
1585
+ "dev:configure:secrets",
1586
+ "configure:dev:secrets",
1587
+ "configure:secrets:dev",
1588
+ "dev:secrets:configure",
1589
+ "secrets:dev:configure",
1590
+ "secrets:configure:dev"
1591
1591
  ]
1592
1592
  },
1593
1593
  "dev:generate:command": {
@@ -5379,5 +5379,5 @@
5379
5379
  ]
5380
5380
  }
5381
5381
  },
5382
- "version": "2.47.1"
5382
+ "version": "2.47.2"
5383
5383
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/cli",
3
3
  "description": "The Salesforce CLI",
4
- "version": "2.47.1",
4
+ "version": "2.47.2",
5
5
  "author": "Salesforce",
6
6
  "bin": {
7
7
  "sf": "./bin/run.js",
@@ -77,7 +77,7 @@
77
77
  "jitPlugins": {
78
78
  "@salesforce/plugin-custom-metadata": "3.3.12",
79
79
  "@salesforce/plugin-community": "3.2.18",
80
- "@salesforce/plugin-dev": "2.3.3",
80
+ "@salesforce/plugin-dev": "2.3.4",
81
81
  "@salesforce/plugin-devops-center": "1.2.14",
82
82
  "@salesforce/plugin-env": "3.0.32",
83
83
  "@salesforce/plugin-functions": "1.23.0",
@@ -154,7 +154,7 @@
154
154
  "@salesforce/kit": "^3.1.0",
155
155
  "@salesforce/plugin-apex": "3.1.19",
156
156
  "@salesforce/plugin-auth": "3.6.22",
157
- "@salesforce/plugin-data": "3.4.8",
157
+ "@salesforce/plugin-data": "3.5.0",
158
158
  "@salesforce/plugin-deploy-retrieve": "3.9.5",
159
159
  "@salesforce/plugin-info": "3.3.7",
160
160
  "@salesforce/plugin-limits": "3.3.13",