Not using "target-dev-hub" and "target-org"!
Describe the bug "sf dependency install" command don't uses config values set for "target-dev-hub" and "target-org". It will throw the error if these values i not set using the flags "targetdevhubusername" and "targetusername" on the command. This is behaviour new in the lates version July23(v23.4.2), and not desirable.
To Reproduce
- Set config values for "target-dev-hub" and "target-org" to desired values.
- Run the "sf dependency install" command without the flags "targetdevhubusername" and "targetusername".
- You get the error: › Error: The following errors occurred: › Missing required flag targetdevhubusername › Missing required flag targetusername › See more help with --help
Expected behavior You shoulfd be able to omit the flags "targetdevhubusername" and "targetusername" on the command and it should use the values given in the config keys: "target-dev-hub" and "target-org"
Platform Details (please complete the following information):
- OS: macOs - Ventura 13.5
- Version [e.g. CLI Version eg: 1.6.6]
- Salesforce CLI(sfdx cli) Version: @salesforce/cli/2.2.7 darwin-arm64 node-v18.15.0
- CI Platform:
I observed the same for pool:fetch and orchestrator:validate commands. It forced me to add --targetdevhubusername parameter to both of them, to be able to use with v23.4.2.