Skip to content

Commit

Permalink
fix: add get alias for oras blob fetch command (#558)
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey Li <[email protected]>
  • Loading branch information
lizMSFT authored Sep 13, 2022
1 parent b2c37a3 commit 13f7dea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/oras/blob/fetch.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,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)
Expand Down

0 comments on commit 13f7dea

Please sign in to comment.