aws configure list-profiles doesn't respect the --output option
- Dominant language
- Python
- Stars
- 17.3k
- Forks
- 4.6k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 13
Description
### Describe the bug
The [documentation](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/configure/list-profiles.html) indicates that `--output` is supported but it seems to be ignored.
### Expected Behavior
Something like for `aws eks list-clusters`:
```
$ aws configure list-profiles --output json
{
"profiles": [
"profile1",
"profile2"
]
}
```
### Current Behavior
```
$ aws configure list-profiles --output json
profile1
profile2
```
### Reproduction Steps
see current behaviour. Other output formats seem to be ignored as well. Also, for other commands, like `list`.
### Possible Solution
If it's intentional then fix docs?
### Additional Information/Context
_No response_
### CLI version used
aws-cli/2.7.35 Python/3.9.11 Darwin/20.6.0 exe/x86_64 prompt/off
### Environment details (OS name and version, etc.)
macos Big Sur 11.6.7
Contributor guide
Assessment
This issue has not been assessed yet.