Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Case-sensitive resource matching #102

Open
ajmyyra opened this issue Dec 15, 2021 · 0 comments
Open

Case-sensitive resource matching #102

ajmyyra opened this issue Dec 15, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@ajmyyra
Copy link
Member

ajmyyra commented Dec 15, 2021

Environment (required):

  • OS: Linux
  • Version 1.1.1

Describe the bug
It is possible to use upctl with resource names. Only problem is that the names are case-sensitive, which is an annoying UX issue.

To Reproduce
Steps to reproduce the behavior:

$ upctl network list

 UUID                                   Name                    Router   Type      Zone    
────────────────────────────────────── ─────────────────────── ──────── ───────── ─────────
 03f20361-e744-4892-acf6-67d1ad1023aa   Kubernetes                       private   de-fra1 

$ upctl network show kubernetes

ERROR: cannot resolve argument: nothing found matching 'kubernetes'

$ upctl network show Kubernetes
  
  Common
    UUID:   03f20361-e744-4892-acf6-67d1ad1023aa 
    Name:   Kubernetes                           
    Router:                                      
    Type:   private                              
    Zone:   de-fra1
    etc etc

Wanted behavior
Make name-matching case-insensitive, both in name searches as well as when tab completing (can be completed to correctly cased option)

@ajmyyra ajmyyra added the bug Something isn't working label Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant