From 444479883416db92f4918477d5e45fa2d6cc09dd Mon Sep 17 00:00:00 2001 From: svc-cli-bot Date: Fri, 23 Aug 2024 02:17:37 +0000 Subject: [PATCH] chore(release): bump to 2.57.1 --- README.md | 154 ++++++++++++++++++++++++++++++++++++--------------- package.json | 6 +- yarn.lock | 17 +++--- 3 files changed, 120 insertions(+), 57 deletions(-) diff --git a/README.md b/README.md index 1ceddc86..07a8e038 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.57.0 linux-x64 node-v20.16.0 +@salesforce/cli/2.57.1 linux-x64 node-v20.16.0 $ sf --help [COMMAND] USAGE $ sf COMMAND @@ -53,6 +53,7 @@ See [architecture page](ARCHITECTURE.md) for diagrams of the Salesforce CLI. - [`sf apex run`](#sf-apex-run) - [`sf apex run test`](#sf-apex-run-test) - [`sf apex tail log`](#sf-apex-tail-log) +- [`sf api request graphql`](#sf-api-request-graphql) - [`sf api request rest ENDPOINT`](#sf-api-request-rest-endpoint) - [`sf autocomplete [SHELL]`](#sf-autocomplete-shell) - [`sf commands`](#sf-commands) @@ -846,50 +847,111 @@ EXAMPLES _See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/3.4.2/src/commands/apex/tail/log.ts)_ -## `sf api request rest ENDPOINT` +## `sf api request graphql` -Make an authenticated HTTP request to Salesforce REST API and print the response. +Execute GraphQL statements ```` USAGE - $ sf api request rest ENDPOINT -o [--flags-dir ] [--api-version ] [-i | -S Example: - report.xlsx] [-X GET|POST|PUT|PATCH|HEAD|DELETE|OPTIONS|TRACE] [-H key:value...] [--body file] - -ARGUMENTS - ENDPOINT Salesforce API endpoint + $ sf api request graphql -o --body file [--json] [--flags-dir ] [--api-version ] [-S Example: + report.xlsx | -i] FLAGS - -H, --header=key:value... HTTP header in "key:value" format. -S, --stream-to-file=Example: report.xlsx Stream responses to a file. - -X, --method=