config list
Not Showing Global target-dev-hub
value
#2435
Labels
bug
Issue or pull request that identifies or fixes a bug
documentation
Issue or pull request to update or fix documentation
validated
Version information for this issue has been validated
Summary
After configuring a local value via
config set --target-dev-hub
, and also a global value for--target-dev-hub
, executingsf config list
only shows the Local.Steps To Reproduce
sf config set target-dev-hub=ALIAS
sf config list
sf config set --global target-dev-hub=ALIAS
Expected result
Execute
sf config list
Actual result
Execute
sf config list
System Information
Using Windows VS Code 1.81.0 Powershell 5.1 terminal.
Additional information
The
--help
forconfig list
states (emphasis added)"Global configuration variables apply to any Salesforce DX project and are always displayed. If you run this command from a project directory, local configuration variables are also displayed."
It is understood that local configurations are used over global ones. However, it is immensely helpful to know if you have a global configuration set at all -- whether it is the same or a different value.
Occurred originally on
sf cli 2.2.7
. Updated to latest stable release of2.5.8
and the same thing occurred.Searched open & closed issues using
global config
and"config list"
, but saw nothing that seemed to be the same. (Closest was 2426, but it does not appear to be the same.)The text was updated successfully, but these errors were encountered: