Last active
September 20, 2023 20:40
-
-
Save sfdcale/878efe156c7ff79f48e650a927bec33c to your computer and use it in GitHub Desktop.
Command to print release info for the given org
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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