diff --git a/README.md b/README.md index cbedd484..028e5fa1 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ $ npm install -g @salesforce/cli $ sf COMMAND running command... $ sf (--version|-v) -@salesforce/cli/2.70.0 linux-x64 node-v22.11.0 +@salesforce/cli/2.70.1 linux-x64 node-v22.11.0 $ sf --help [COMMAND] USAGE $ sf COMMAND @@ -1336,7 +1336,7 @@ EXAMPLES $ sf data bulk results --job-id 7507i000fake341G --target-org my-scratch ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.12.3/src/commands/data/bulk/results.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.13.0/src/commands/data/bulk/results.ts)_ ## `sf data create file` @@ -1385,7 +1385,7 @@ EXAMPLES $ sf data create file --file path/to/astro.png --parent-id a03fakeLoJWPIA3 ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.12.3/src/commands/data/create/file.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.13.0/src/commands/data/create/file.ts)_ ## `sf data create record` @@ -1441,7 +1441,7 @@ EXAMPLES TracedEntityId=01p17000000R6bLAAS" ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.12.3/src/commands/data/create/record.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.13.0/src/commands/data/create/record.ts)_ ## `sf data delete bulk` @@ -1502,7 +1502,7 @@ FLAG DESCRIPTIONS and can be enabled only by a system administrator. ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.12.3/src/commands/data/delete/bulk.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.13.0/src/commands/data/delete/bulk.ts)_ ## `sf data delete record` @@ -1563,7 +1563,7 @@ EXAMPLES $ sf data delete record --use-tooling-api --sobject TraceFlag --record-id 7tf8c ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.12.3/src/commands/data/delete/record.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.13.0/src/commands/data/delete/record.ts)_ ## `sf data delete resume` @@ -1602,7 +1602,7 @@ EXAMPLES $ sf data delete resume --use-most-recent --target-org my-scratch ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.12.3/src/commands/data/delete/resume.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.13.0/src/commands/data/delete/resume.ts)_ ## `sf data export bulk` @@ -1676,7 +1676,7 @@ EXAMPLES --result-format json --async ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.12.3/src/commands/data/export/bulk.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.13.0/src/commands/data/export/bulk.ts)_ ## `sf data export resume` @@ -1712,7 +1712,7 @@ EXAMPLES $ sf data export resume --use-most-recent --target-org my-scratch ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.12.3/src/commands/data/export/resume.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.13.0/src/commands/data/export/resume.ts)_ ## `sf data export tree` @@ -1773,7 +1773,7 @@ EXAMPLES my-scratch ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.12.3/src/commands/data/export/tree.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.13.0/src/commands/data/export/tree.ts)_ ## `sf data get record` @@ -1837,7 +1837,7 @@ EXAMPLES $ sf data get record --use-tooling-api --sobject TraceFlag --record-id 7tf8c ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.12.3/src/commands/data/get/record.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.13.0/src/commands/data/get/record.ts)_ ## `sf data import bulk` @@ -1895,7 +1895,7 @@ EXAMPLES $ sf data import bulk --file accounts.csv --sobject Account --async ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.12.3/src/commands/data/import/bulk.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.13.0/src/commands/data/import/bulk.ts)_ ## `sf data import resume` @@ -1931,7 +1931,7 @@ EXAMPLES $ sf data import resume --use-most-recent --target-org my-scratch ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.12.3/src/commands/data/import/resume.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.13.0/src/commands/data/import/resume.ts)_ ## `sf data import tree` @@ -1996,7 +1996,7 @@ FLAG DESCRIPTIONS - files(array) - Files: An array of files paths to load ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.12.3/src/commands/data/import/tree.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.13.0/src/commands/data/import/tree.ts)_ ## `sf data query` @@ -2005,7 +2005,7 @@ Execute a SOQL query. ``` USAGE $ sf data query -o [--json] [--flags-dir ] [--api-version ] [-q ] [-f ] - [-t | -b] [-w ] [--async ] [--all-rows] [-r human|csv|json] + [-t | -b] [-w ] [--async ] [--all-rows] [-r human|csv|json] [--output-file ] FLAGS -b, --bulk Use Bulk API 2.0 to run the query. @@ -2020,6 +2020,7 @@ FLAGS --all-rows Include deleted records. By default, deleted records are not returned. --api-version= Override the api version used for api requests made by this command --async Use Bulk API 2.0, but don't wait for the job to complete. + --output-file= File where records are written; only CSV and JSON output formats are supported. GLOBAL FLAGS --flags-dir= Import flag values from a directory. @@ -2047,9 +2048,10 @@ EXAMPLES $ sf data query --query "SELECT Id, Name, Account.Name FROM Contact" - Read the SOQL query from a file called "query.txt"; the command uses the org with alias "my-scratch": + Read the SOQL query from a file called "query.txt" and write the CSV-formatted output to a file; the command uses + the org with alias "my-scratch": - $ sf data query --file query.txt --target-org my-scratch + $ sf data query --file query.txt --output-file output.csv --result-format csv --target-org my-scratch Use Tooling API to run a query on the ApexTrigger Tooling API object: @@ -2060,7 +2062,7 @@ EXAMPLES $ sf data query --query "SELECT Id FROM Contact" --bulk --wait 0 ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.12.3/src/commands/data/query.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.13.0/src/commands/data/query.ts)_ ## `sf data query resume` @@ -2097,7 +2099,7 @@ EXAMPLES $ sf data query resume --bulk-query-id 7500x000005BdFzXXX ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.12.3/src/commands/data/query/resume.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.13.0/src/commands/data/query/resume.ts)_ ## `sf data resume` @@ -2134,7 +2136,7 @@ EXAMPLES $ sf data resume --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.12.3/src/commands/data/resume.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.13.0/src/commands/data/resume.ts)_ ## `sf data search` @@ -2184,7 +2186,7 @@ EXAMPLES $ sf data search --file query.txt --target-org my-scratch --result-format csv ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.12.3/src/commands/data/search.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.13.0/src/commands/data/search.ts)_ ## `sf data update bulk` @@ -2245,7 +2247,7 @@ EXAMPLES $ sf data update bulk --file accounts.csv --sobject Account --async ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.12.3/src/commands/data/update/bulk.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.13.0/src/commands/data/update/bulk.ts)_ ## `sf data update record` @@ -2307,7 +2309,7 @@ EXAMPLES "ExpirationDate=2017-12-01T00:58:04.000+0000" ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.12.3/src/commands/data/update/record.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.13.0/src/commands/data/update/record.ts)_ ## `sf data update resume` @@ -2343,7 +2345,7 @@ EXAMPLES $ sf data update resume --use-most-recent --target-org my-scratch ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.12.3/src/commands/data/update/resume.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.13.0/src/commands/data/update/resume.ts)_ ## `sf data upsert bulk` @@ -2402,7 +2404,7 @@ EXAMPLES my-scratch ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.12.3/src/commands/data/upsert/bulk.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.13.0/src/commands/data/upsert/bulk.ts)_ ## `sf data upsert resume` @@ -2441,7 +2443,7 @@ EXAMPLES $ sf data upsert resume --use-most-recent --target-org my-scratch ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.12.3/src/commands/data/upsert/resume.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.13.0/src/commands/data/upsert/resume.ts)_ ## `sf doctor` @@ -2536,7 +2538,7 @@ EXAMPLES $ sf force data bulk delete --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.12.3/src/commands/force/data/bulk/delete.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.13.0/src/commands/force/data/bulk/delete.ts)_ ## `sf force data bulk status` @@ -2573,7 +2575,7 @@ EXAMPLES $ sf force data bulk status --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA --target-org my-scratch ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.12.3/src/commands/force/data/bulk/status.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.13.0/src/commands/force/data/bulk/status.ts)_ ## `sf force data bulk upsert` @@ -2631,7 +2633,7 @@ EXAMPLES --target-org my-scratch ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.12.3/src/commands/force/data/bulk/upsert.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.13.0/src/commands/force/data/bulk/upsert.ts)_ ## `sf help [COMMAND]` diff --git a/package.json b/package.json index aa524baa..a5f0ab0c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@salesforce/cli", "description": "The Salesforce CLI", - "version": "2.70.0", + "version": "2.70.1", "author": "Salesforce", "bin": { "sf": "./bin/run.js", @@ -155,7 +155,7 @@ "@salesforce/plugin-apex": "3.6.6", "@salesforce/plugin-api": "1.3.2", "@salesforce/plugin-auth": "3.6.78", - "@salesforce/plugin-data": "3.12.3", + "@salesforce/plugin-data": "3.13.0", "@salesforce/plugin-deploy-retrieve": "3.15.17", "@salesforce/plugin-info": "3.4.25", "@salesforce/plugin-limits": "3.3.42", diff --git a/yarn.lock b/yarn.lock index bbc465f6..4ac31178 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2568,10 +2568,10 @@ debug "^4.3.7" handlebars "^4.7.8" -"@salesforce/plugin-data@3.12.3": - version "3.12.3" - resolved "https://registry.yarnpkg.com/@salesforce/plugin-data/-/plugin-data-3.12.3.tgz#1db6f58fc5ec4fa0b05cec3e75d03f51379577ad" - integrity sha512-1ggIeoruCbadHSTO2OhptfUykO8hmDne8rQ+EZgfs0nLVd6bXa4Haolvexyon789EUd4R/owI4e/Dmc0OzISxA== +"@salesforce/plugin-data@3.13.0": + version "3.13.0" + resolved "https://registry.yarnpkg.com/@salesforce/plugin-data/-/plugin-data-3.13.0.tgz#8dc506dc05dbb6cd6ec6666b19ec1303ee0fe571" + integrity sha512-Brkm12mP6lb1voRqvTE9wKhOPT2j5ahWMR/eJ2874gG45yHZhzHm7VByOSAU4tXKsh/R8dq2HWZNEI/8U8bEaQ== dependencies: "@jsforce/jsforce-node" "^3.6.3" "@oclif/multi-stage-output" "^0.7.15"