Does "sf org list" try to 'touch' all the orgs? #3383
-
|
The output from |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
correct, each org status value in that column requires an API call to see if the connection it's valid or not. Note that refreshing expired access tokens is done at the core libraries(jsforce and sfdx-core), so you shouldn't need to worry about running If you want a faster way to list auth'd orgs you can run:
|
Beta Was this translation helpful? Give feedback.
correct, each org status value in that column requires an API call to see if the connection it's valid or not.
If the API call fails due to the access token in your auth file being expired it will refresh it.
Note that refreshing expired access tokens is done at the core libraries(jsforce and sfdx-core), so you shouldn't need to worry about running
sf org listbefore any command jus to ensure tokens are valid b/c all commands handle that for you.If you want a faster way to list auth'd orgs you can run:
sf org list --skip-connection-status: skips the conn check, it might do some …