awslabs / aws-shell

An integrated shell for working with the AWS CLI.
Apache License 2.0
7.17k stars 772 forks source link

Add regions to the auto-complete #57

Open rsack opened 8 years ago

rsack commented 8 years ago

Would like to suggest adding the actual regions to the --region auto-complete (e.g. show us-east... and so on).

It would also be great to support the --region (and other options) in other places except after the service (e.g. also at the end).

jamesls commented 8 years ago

Good idea, marking as feature request.

imWillX commented 8 years ago

+1

jamesls commented 8 years ago

This should now be possible with the latest botocore package, which now exposes an api to get available regions (https://github.com/boto/botocore/blob/develop/botocore/session.py#L829)