Get org information in sf cli in vs code

Display information about an org.

Display information about your default org

Using following command to get your org details like access token, client Id, connected status, org ID, instance URL, username, and alias.
sf org display

Source:
https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_org_commands_unified.htm#cli_reference_org_display_unified

Labels:
Join the conversation