Skip to content

[Feature] - Allow Partial UUIDs in Commands (Like Docker CLI) #508

@TiFosi

Description

@TiFosi

Is your feature request related to a problem? Please describe.
Currently, vultr-cli requires to input full UUIDs when interacting with resources. This can be inconvenient, especially when frequently managing multiple instances, firewalls, or other resources

Describe the solution you'd like
I propose allowing to reference resources using a short prefix of the UUID, similar to how Docker CLI works. Instead of requiring the full UUID, vultr-cli should accept a unique partial match (e.g., the first 2–3 characters) when specifying a resource

Describe alternatives you've considered
Tab Autocompletion for UUIDs of resources

Example

Instead of:

vultr-cli instance delete 3fa85f64-5717-4562-b3fc-2c963f66afa6

Allow:

vultr-cli instance delete 3fa

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions