@salesforce/cli 2.13.8 → 2.14.0

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.13.8 linux-x64 node-v18.18.0
27
+ @salesforce/cli/2.14.0 linux-x64 node-v18.18.0
28
28
  $ sf --help [COMMAND]
29
29
  USAGE
30
30
  $ sf COMMAND
@@ -1094,7 +1094,7 @@ EXAMPLES
1094
1094
  TracedEntityId=01p17000000R6bLAAS"
1095
1095
  ```
1096
1096
 
1097
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/2.5.16/src/commands/data/create/record.ts)_
1097
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/2.5.17/src/commands/data/create/record.ts)_
1098
1098
 
1099
1099
  ## `sf data delete bulk`
1100
1100
 
@@ -1106,10 +1106,10 @@ USAGE
1106
1106
 
1107
1107
  FLAGS
1108
1108
  -a, --async Run the command asynchronously.
1109
- -f, --file=<value> (required) CSV file that contains the IDs of the records to delete.
1109
+ -f, --file=<value> (required) CSV file that contains the IDs of the records to update or delete.
1110
1110
  -o, --target-org=<value> (required) Username or alias of the target org.
1111
1111
  -s, --sobject=<value> (required) API name of the Salesforce object, either standard or custom, that you want to
1112
- delete records from.
1112
+ update or delete records from.
1113
1113
  -w, --wait=<value> [default: [object Object]] Number of minutes to wait for the command to complete before
1114
1114
  displaying the results.
1115
1115
  --api-version=<value> Override the api version used for api requests made by this command
@@ -1138,7 +1138,7 @@ EXAMPLES
1138
1138
  $ sf data delete bulk --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch
1139
1139
  ```
1140
1140
 
1141
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/2.5.16/src/commands/data/delete/bulk.ts)_
1141
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/2.5.17/src/commands/data/delete/bulk.ts)_
1142
1142
 
1143
1143
  ## `sf data delete record`
1144
1144
 
@@ -1196,7 +1196,7 @@ EXAMPLES
1196
1196
  $ sf data delete record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
1197
1197
  ```
1198
1198
 
1199
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/2.5.16/src/commands/data/delete/record.ts)_
1199
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/2.5.17/src/commands/data/delete/record.ts)_
1200
1200
 
1201
1201
  ## `sf data delete resume`
1202
1202
 
@@ -1233,7 +1233,7 @@ EXAMPLES
1233
1233
  $ sf data delete resume --use-most-recent --target-org my-scratch
1234
1234
  ```
1235
1235
 
1236
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/2.5.16/src/commands/data/delete/resume.ts)_
1236
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/2.5.17/src/commands/data/delete/resume.ts)_
1237
1237
 
1238
1238
  ## `sf data export tree`
1239
1239
 
@@ -1290,7 +1290,7 @@ EXAMPLES
1290
1290
  my-scratch
1291
1291
  ```
1292
1292
 
1293
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/2.5.16/src/commands/data/export/tree.ts)_
1293
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/2.5.17/src/commands/data/export/tree.ts)_
1294
1294
 
1295
1295
  ## `sf data get record`
1296
1296
 
@@ -1351,7 +1351,7 @@ EXAMPLES
1351
1351
  $ sf data get record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
1352
1352
  ```
1353
1353
 
1354
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/2.5.16/src/commands/data/get/record.ts)_
1354
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/2.5.17/src/commands/data/get/record.ts)_
1355
1355
 
1356
1356
  ## `sf data import tree`
1357
1357
 
@@ -1401,7 +1401,7 @@ EXAMPLES
1401
1401
  $ sf data import tree --plan Account-Contact-plan.json
1402
1402
  ```
1403
1403
 
1404
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/2.5.16/src/commands/data/import/tree.ts)_
1404
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/2.5.17/src/commands/data/import/tree.ts)_
1405
1405
 
1406
1406
  ## `sf data query`
1407
1407
 
@@ -1463,7 +1463,7 @@ EXAMPLES
1463
1463
  $ sf data query --query "SELECT Id FROM Contact" --bulk --wait 0
1464
1464
  ```
1465
1465
 
1466
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/2.5.16/src/commands/data/query.ts)_
1466
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/2.5.17/src/commands/data/query.ts)_
1467
1467
 
1468
1468
  ## `sf data query resume`
1469
1469
 
@@ -1499,7 +1499,7 @@ EXAMPLES
1499
1499
  $ sf data query resume --bulk-query-id 7500x000005BdFzXXX
1500
1500
  ```
1501
1501
 
1502
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/2.5.16/src/commands/data/query/resume.ts)_
1502
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/2.5.17/src/commands/data/query/resume.ts)_
1503
1503
 
1504
1504
  ## `sf data resume`
1505
1505
 
@@ -1534,7 +1534,7 @@ EXAMPLES
1534
1534
  $ sf data resume --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA
1535
1535
  ```
1536
1536
 
1537
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/2.5.16/src/commands/data/resume.ts)_
1537
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/2.5.17/src/commands/data/resume.ts)_
1538
1538
 
1539
1539
  ## `sf data update record`
1540
1540
 
@@ -1562,7 +1562,7 @@ DESCRIPTION
1562
1562
  Updates a single record of a Salesforce or Tooling API object.
1563
1563
 
1564
1564
  Specify the record you want to update with either its ID or with a list of field-value pairs that identify the record.
1565
- If your list of fields identifies more than one record, the delete fails; the error displays how many records were
1565
+ If your list of fields identifies more than one record, the update fails; the error displays how many records were
1566
1566
  found.
1567
1567
 
1568
1568
  When using field-value pairs for both identifying the record and specifiyng the new field values, use the format
@@ -1594,7 +1594,7 @@ EXAMPLES
1594
1594
  "ExpirationDate=2017-12-01T00:58:04.000+0000"
1595
1595
  ```
1596
1596
 
1597
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/2.5.16/src/commands/data/update/record.ts)_
1597
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/2.5.17/src/commands/data/update/record.ts)_
1598
1598
 
1599
1599
  ## `sf data upsert bulk`
1600
1600
 
@@ -1607,11 +1607,11 @@ USAGE
1607
1607
 
1608
1608
  FLAGS
1609
1609
  -a, --async Run the command asynchronously.
1610
- -f, --file=<value> (required) CSV file that contains the IDs of the records to delete.
1610
+ -f, --file=<value> (required) CSV file that contains the IDs of the records to update or delete.
1611
1611
  -i, --external-id=<value> (required) Name of the external ID field, or the Id field.
1612
1612
  -o, --target-org=<value> (required) Username or alias of the target org.
1613
1613
  -s, --sobject=<value> (required) API name of the Salesforce object, either standard or custom, that you want to
1614
- delete records from.
1614
+ update or delete records from.
1615
1615
  -w, --wait=<value> [default: [object Object]] Number of minutes to wait for the command to complete before
1616
1616
  displaying the results.
1617
1617
  --api-version=<value> Override the api version used for api requests made by this command
@@ -1645,7 +1645,7 @@ EXAMPLES
1645
1645
  my-scratch
1646
1646
  ```
1647
1647
 
1648
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/2.5.16/src/commands/data/upsert/bulk.ts)_
1648
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/2.5.17/src/commands/data/upsert/bulk.ts)_
1649
1649
 
1650
1650
  ## `sf data upsert resume`
1651
1651
 
@@ -1682,7 +1682,7 @@ EXAMPLES
1682
1682
  $ sf data upsert resume --use-most-recent --target-org my-scratch
1683
1683
  ```
1684
1684
 
1685
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/2.5.16/src/commands/data/upsert/resume.ts)_
1685
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/2.5.17/src/commands/data/upsert/resume.ts)_
1686
1686
 
1687
1687
  ## `sf doctor`
1688
1688
 
@@ -1773,7 +1773,7 @@ EXAMPLES
1773
1773
  $ sf force data bulk delete --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch
1774
1774
  ```
1775
1775
 
1776
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/2.5.16/src/commands/force/data/bulk/delete.ts)_
1776
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/2.5.17/src/commands/force/data/bulk/delete.ts)_
1777
1777
 
1778
1778
  ## `sf force data bulk status`
1779
1779
 
@@ -1808,7 +1808,7 @@ EXAMPLES
1808
1808
  $ sf force data bulk status --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA --target-org my-scratch
1809
1809
  ```
1810
1810
 
1811
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/2.5.16/src/commands/force/data/bulk/status.ts)_
1811
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/2.5.17/src/commands/force/data/bulk/status.ts)_
1812
1812
 
1813
1813
  ## `sf force data bulk upsert`
1814
1814
 
@@ -1864,7 +1864,7 @@ EXAMPLES
1864
1864
  --target-org my-scratch
1865
1865
  ```
1866
1866
 
1867
- _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/2.5.16/src/commands/force/data/bulk/upsert.ts)_
1867
+ _See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/2.5.17/src/commands/force/data/bulk/upsert.ts)_
1868
1868
 
1869
1869
  ## `sf force mdapi deploy`
1870
1870
 
@@ -5248,7 +5248,7 @@ EXAMPLES
5248
5248
  $ sf plugins trust verify --npm @scope/npmName
5249
5249
  ```
5250
5250
 
5251
- _See code: [@salesforce/plugin-trust](https://github.com/salesforcecli/plugin-trust/blob/2.6.18/src/commands/plugins/trust/verify.ts)_
5251
+ _See code: [@salesforce/plugin-trust](https://github.com/salesforcecli/plugin-trust/blob/2.6.19/src/commands/plugins/trust/verify.ts)_
5252
5252
 
5253
5253
  ## `sf plugins:uninstall PLUGIN...`
5254
5254
 
@@ -7108,7 +7108,7 @@ DESCRIPTION
7108
7108
  Once you select a command, hit enter and it will show the help for that command.
7109
7109
  ```
7110
7110
 
7111
- _See code: [@oclif/plugin-search](https://github.com/oclif/plugin-search/blob/0.0.23/src/commands/search.ts)_
7111
+ _See code: [@oclif/plugin-search](https://github.com/oclif/plugin-search/blob/0.0.24/src/commands/search.ts)_
7112
7112
 
7113
7113
  ## `sf sobject describe`
7114
7114
 
@@ -7307,7 +7307,7 @@ FLAG DESCRIPTIONS
7307
7307
  Additionally shows the architecture, node version, operating system, and versions of plugins that the CLI is using.
7308
7308
  ```
7309
7309
 
7310
- _See code: [@oclif/plugin-version](https://github.com/oclif/plugin-version/blob/1.3.10/src/commands/version.ts)_
7310
+ _See code: [@oclif/plugin-version](https://github.com/oclif/plugin-version/blob/2.0.1/src/commands/version.ts)_
7311
7311
 
7312
7312
  ## `sf visualforce generate component`
7313
7313
 
@@ -33,7 +33,7 @@ async function determineCommand(config, matches) {
33
33
  return command.id;
34
34
  }
35
35
  const hook = async function ({ config, matches, argv }) {
36
- const command = await determineCommand(config, matches);
36
+ const command = await determineCommand(config, matches.filter((m) => !m.hidden));
37
37
  if (argv.includes('--help') || argv.includes('-h')) {
38
38
  const Help = await loadHelpClass(config);
39
39
  // eslint-disable-next-line @typescript-eslint/no-unsafe-argument