diff --git a/README.md b/README.md index 89645876..fe7a0e92 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.64.1 linux-x64 node-v20.17.0 +@salesforce/cli/2.64.2 linux-x64 node-v20.18.0 $ sf --help [COMMAND] USAGE $ sf COMMAND @@ -70,6 +70,8 @@ See [architecture page](ARCHITECTURE.md) for diagrams of the Salesforce CLI. - [`sf data export resume`](#sf-data-export-resume) - [`sf data export tree`](#sf-data-export-tree) - [`sf data get record`](#sf-data-get-record) +- [`sf data import bulk`](#sf-data-import-bulk) +- [`sf data import resume`](#sf-data-import-resume) - [`sf data import tree`](#sf-data-import-tree) - [`sf data query`](#sf-data-query) - [`sf data query resume`](#sf-data-query-resume) @@ -1331,7 +1333,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.7.1/src/commands/data/create/file.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.8.0/src/commands/data/create/file.ts)_ ## `sf data create record` @@ -1387,7 +1389,7 @@ EXAMPLES TracedEntityId=01p17000000R6bLAAS" ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.7.1/src/commands/data/create/record.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.8.0/src/commands/data/create/record.ts)_ ## `sf data delete bulk` @@ -1445,7 +1447,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.7.1/src/commands/data/delete/bulk.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.8.0/src/commands/data/delete/bulk.ts)_ ## `sf data delete record` @@ -1506,7 +1508,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.7.1/src/commands/data/delete/record.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.8.0/src/commands/data/delete/record.ts)_ ## `sf data delete resume` @@ -1545,7 +1547,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.7.1/src/commands/data/delete/resume.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.8.0/src/commands/data/delete/resume.ts)_ ## `sf data export bulk` @@ -1619,7 +1621,7 @@ EXAMPLES --result-format json --async ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.7.1/src/commands/data/export/bulk.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.8.0/src/commands/data/export/bulk.ts)_ ## `sf data export resume` @@ -1655,7 +1657,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.7.1/src/commands/data/export/resume.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.8.0/src/commands/data/export/resume.ts)_ ## `sf data export tree` @@ -1716,7 +1718,7 @@ EXAMPLES my-scratch ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.7.1/src/commands/data/export/tree.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.8.0/src/commands/data/export/tree.ts)_ ## `sf data get record` @@ -1780,7 +1782,99 @@ 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.7.1/src/commands/data/get/record.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.8.0/src/commands/data/get/record.ts)_ + +## `sf data import bulk` + +Bulk import records into a Salesforce object from a CSV file. Uses Bulk API 2.0. + +``` +USAGE + $ sf data import bulk -s -o [--json] [--flags-dir ] [-a | -w ] [--api-version ] + (--line-ending CRLF|LF -f ) + +FLAGS + -a, --async Don't wait for the command to complete. + -f, --file= (required) CSV file that contains the Salesforce object records you want to import. + -o, --target-org= (required) Username or alias of the target org. Not required if the `target-org` + configuration variable is already set. + -s, --sobject= (required) API name of the Salesforce object, either standard or custom, into which you're + importing records. + -w, --wait= Time to wait for the command to finish, in minutes. + --api-version= Override the api version used for api requests made by this command + --line-ending=