az configure --list-defaults does not respect --scope local
Open
act-codegen-extensibility-squad
Configure
customer-reported
feature-request
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
## Describe the bug
**Command Name**
`az configure`
**Errors:**
`az configure --list-defaults true --scope local` will still show defaults from `~/.azure/config`, as opposed to just from the working directory.
## To Reproduce:
```sh
mkdir zap
cd zap
az configure --scope global --defaults group=bar # writes to HOME
ls # no .azure folder, as expected
az configure --scope local --list-defaults true # still shows bar
```
## Expected Behavior
see above.
## Environment Summary
```
macOS-10.15.6-x86_64-i386-64bit
Python 3.8.5
Installer: HOMEBREW
azure-cli 2.11.1
```
## Additional Context
Contributor guide
Assessment
This issue has not been assessed yet.