Skip to content

Commit

Permalink
feat. Alias show-tags=tags for oras repository (#595)
Browse files Browse the repository at this point in the history
Signed-off-by: Juncheng Zhu <[email protected]>
  • Loading branch information
junczhu authored Sep 22, 2022
1 parent 0227465 commit 6fb800b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/oras/repository/show-tags.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ Example - Show tags of the target repository:
Example - Show tags of the target repository that include values lexically after last:
oras repository show-tags --last "last_tag" localhost:5000/hello
`,
Args: cobra.ExactArgs(1),
Args: cobra.ExactArgs(1),
Aliases: []string{"tags"},
RunE: func(cmd *cobra.Command, args []string) error {
opts.targetRef = args[0]
return showTags(opts)
Expand Down

0 comments on commit 6fb800b

Please sign in to comment.