Skip to content

Instantly share code, notes, and snippets.

@sfdcale
Last active September 20, 2023 20:40
Show Gist options
  • Save sfdcale/878efe156c7ff79f48e650a927bec33c to your computer and use it in GitHub Desktop.
Save sfdcale/878efe156c7ff79f48e650a927bec33c to your computer and use it in GitHub Desktop.
Command to print release info for the given org
# Command to print release info for the given org
sf org display --json --target-org scratch-org | jq -r '[.result.instanceUrl,.result.accessToken] | @tsv' | \
xargs -t sh -c 'curl -i --location $1/services/data --header "Authorization: Bearer $2"' sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment