aws / aws/aws-cli

aws-cliv2 doesn't honor tab completion

Open
#7,739 3 comments 0 reactions 0 assignees View on GitHub
bug p3 s3
Dominant language
Python
Stars
17.3k
Forks
4.6k
Avg merge
1d 2h
Merged PRs (30d)
13

Description

### Describe the bug

i can use --profile and press to get list of all the profiles i can pass
only with the aws sts get-caller-identity command

if i try aws s3 ls --profile . it doesn't work

### Expected Behavior

Tab completion for --profile should work for all commands .

### Current Behavior

tab completion only works for `aws sts` command

### Reproduction Steps

1. have multiple profile configured
2. ensure you have complete script is loaded to your terminal session
3. type aws sts get-caller-identity --profile (press tab button) . you will see list of all the profiles you can pass
4. now try with any other command for.example

aws s3 ls --profile (see that it doesn't work)

### Possible Solution

_No response_

### Additional Information/Context

_No response_

### CLI version used

aws-cli/2.9.20

### Environment details (OS name and version, etc.)

Python/3.11.2 Darwin/22.3.0 source/arm64 prompt/off

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.