/org
Choose the Salesforce org to connect to.
Usage
In the interactive screen, type /org and press Enter. A list of orgs appears, with the default org at the top.
What’s listed
Orgs that are authenticated locally with the sf CLI (Production and Sandbox).
Connect a new org
At the bottom of the list there are options to authenticate a new org via sf CLI:
-
Add a Production org
-
Add a Sandbox org
Disconnect an org (v0.3.2 and later)
You can remove a connected org from the list directly.
-
Move the cursor onto the org you want to disconnect
-
Press
dto bring up a confirmation bar -
Press
Enterto run it (sf org logoutis invoked under the hood) -
Press
Escornto cancel
If you disconnect the default org, the default org in your config is cleared automatically. The org itself stays in Salesforce — only the local connection info is removed.
Specify an org at launch
blaze --org <alias or username> lets you launch directly into a specific org.