sf org logout
does not display org list (interactive) when target-org config var is set
#2128
Labels
bug
Issue or pull request that identifies or fixes a bug
investigating
We're actively investigating this issue
Summary
When executing
sf org logout
with no flags, the command does not display a list of orgs to interactively logout of, if the config variabletarget-org
is set.The command help description says:
So I was surprised to see it prompt for confirmation to logout of my configured
target-org
as I was expecting the list of orgs to choose from.This may be as designed, so maybe the help description just needs to be updated to explain this.
Maybe introducing an additional flag, e.g.
--interactive
, so that users could explicitly get to this interactive prompt that displays the list of orgs to choose from, even whentarget-org
is set.Steps To Reproduce:
target-org
config variablesf org logout
Expected result
Interactive list of orgs displayed allowing me to choose which org to logout of.
Actual result
Confirmation prompt is displayed asking if I want to logout of my configured
target-org
:System Information
Additional information
Clearing the
target-org
config variable and running the command with no flags displays the interactive org list as expected.The text was updated successfully, but these errors were encountered: