Case-sensitive resource matching
Opened this issue · 0 comments
ajmyyra commented
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)