From 8e3cb4790fb0716d9c00eef3ea0f7fcd0e214b40 Mon Sep 17 00:00:00 2001 From: Zoey Li Date: Tue, 13 Sep 2022 13:27:47 +0800 Subject: [PATCH] fix: add get alias for oras blob fetch command Signed-off-by: Zoey Li --- cmd/oras/blob/fetch.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/oras/blob/fetch.go b/cmd/oras/blob/fetch.go index 8c8808da5..e84d1666d 100644 --- a/cmd/oras/blob/fetch.go +++ b/cmd/oras/blob/fetch.go @@ -78,6 +78,7 @@ Example - Fetch blob from the insecure registry: opts.cacheRoot = os.Getenv("ORAS_CACHE") return opts.ReadPassword() }, + Aliases: []string{"get"}, RunE: func(cmd *cobra.Command, args []string) error { opts.targetRef = args[0] return fetchBlob(opts)