donnemartin / saws

A supercharged AWS command line interface (CLI).
Other
5.25k stars 282 forks source link

Fuzzy completions are sometimes showing incorrect completions for built-in commands and subcommands #14

Closed donnemartin closed 9 years ago

donnemartin commented 9 years ago

As mentioned in the README: Fuzzy completions are currently only available for shortcuts and resources.

Entering:

aws elb

will cause all the elb subcommands to appear.

Selecting one of the subcommands such as create-load-balancer rewrites the original command, leaving you with an invalid command:

aws create-load-balancer

In the future it might be helpful to extend fuzzy completions to work well with commands, subcommands, and options, although this might need some work on the underlying AWS CLI dependency.

donnemartin commented 9 years ago

Added unit test to cover this bug, also added an entry in the manual test.