Skip to content

Commit

Permalink
Add totally necessary alias for yank
Browse files Browse the repository at this point in the history
  • Loading branch information
NiclasvanEyk committed Jun 21, 2023
1 parent 42fae6e commit 8d3328d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions cmd/yank.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ import (

// yankCmd represents the yank command
var yankCmd = &cobra.Command{
Use: "yank",
Short: "Marks the specified release as yanked",
Long: `As described by https://keepachangelog.com, yanked releases are versions that had to be pulled because of a serious bug or security issue.`,
Args: cobra.ExactArgs(1),
Use: "yank",
Aliases: []string{"yeet"},
Short: "Marks the specified release as yanked",
Long: `As described by https://keepachangelog.com, yanked releases are versions that had to be pulled because of a serious bug or security issue.`,
Args: cobra.ExactArgs(1),
ValidArgsFunction: func(
cmd *cobra.Command,
args []string,
Expand Down

0 comments on commit 8d3328d

Please sign in to comment.