feat(images): list images filtered by name

This commit is contained in:
Pasha Sviderski
2025-10-07 20:39:31 +10:00
parent 509c9eb7d3
commit 1f9c2c873d
2 changed files with 56 additions and 8 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ import (
// NewImagesCommand returns the 'image ls' command modified to work as 'images'.
func NewImagesCommand() *cobra.Command {
listCmd := image.NewListCommand()
listCmd.Use = "images"
listCmd.Use = "images [IMAGE]"
// Remove 'list' alias since this command is already an alias.
listCmd.Aliases = nil
listCmd.Example = strings.ReplaceAll(listCmd.Example, "uc image ls", "uc images")