Skip to content

Commit

Permalink
feat: add alias for fetch-config (#676)
Browse files Browse the repository at this point in the history
Signed-off-by: Billy Zha <[email protected]>
  • Loading branch information
qweeah authored Nov 7, 2022
1 parent 690716b commit 7c2b7a1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd/oras/manifest/fetch_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ type fetchConfigOptions struct {
func fetchConfigCmd() *cobra.Command {
var opts fetchConfigOptions
cmd := &cobra.Command{
Use: "fetch-config [flags] <name>{:<tag>|@<digest>}",
Short: "[Preview] Fetch the config of a manifest from a remote registry",
Use: "fetch-config [flags] <name>{:<tag>|@<digest>}",
Aliases: []string{"get-config"},
Short: "[Preview] Fetch the config of a manifest from a remote registry",
Long: `[Preview] Fetch the config of a manifest from a remote registry
** This command is in preview and under development. **
Expand Down

0 comments on commit 7c2b7a1

Please sign in to comment.