You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 10, 2020. It is now read-only.
Hi, I tried to use prompt_choices and it wasn't working with case sensitive options. For example:
Which cluster? - (Cluster1): Cluster1
Which cluster? - (Cluster1): cluster1
Which cluster? - (Cluster1):
...
Looking at the cli.py code, there is a resolve parameter that defaults to ascii_lowercase. Later in the method, the option is passed by this resolve function and every options turns to lowercase before comparing.
I fixed this calling prompt_choices with resolve=str instead of ascii_lowercase.
It would be good if this parameter was listed/described in the API documentation :)